mithril

Languages and libraries

javascript mvc framework

SHOW HN2014

304points
159comments
#48of 2,272 in 2014
Top 3%of 2014 by points

How HN took it

DebatedReal support and real criticism

27 positive, 28 neutral or asking, 5 mixed, 20 critical, out of 80 comments about the project. Thread score +0.17.

Design: 7 for, 11 againstIdea: 12 for, 5 againstDocs: 7 for, 1 againstExecution: 0 for, 2 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Small, lean, well-scoped design

    From 4 comments
    • I've become a huge fan of simple things. When I was just starting out developing software, I was a big fan of huge integrated solutions. But as the years went on I loved well…
      sergiotapia on HN
    • First impression after reading across the docs: Compact, fast, seems to contain most important things. I like it.
      scrrr on HN
    • This actually fills a good niche, if i'm looking for a monolithic framework that trys to do a bunch of things, angular fits the bill. I like that this does one thing, and seems…
      swalsh on HN
    • The templating language reminds me a little of what spacebars (htmljs) probably looks like if a nice mustache facade wasn't put in front of it. (which goes back to Gee's comment…
      bjconlan on HN
  • Documentation is excellent and beginner-friendly

    From 4 comments
    • your "getting started" page is like a crash course in building websites with javascript - just forwarded it to a bunch of friends it felt like you were giving a smart person a…
      markovbling on HN
    • I just came back to say that the documentation really is beyond excellent.
      SNACKeR99 on HN
    • Thanks for making this, this looks really really good! I'm a backend guy beginning to venture into front-end stuff (recently picked up JS for a Node project at work), and the…
      findjashua on HN
    • Looks very clean. Especially having just tried a read through the angular docs. Bleurgh. Take the advice of the others in this thread and avoid bloating this and maybe it will…
      mtford on HN
  • Fast performance

    From 3 comments
    • I am really interested in this, and am going to give it a go on my next project. Its areas of responsibility are contained and well-defined, the syntax is nicely concise, and it…
      SNACKeR99 on HN
    • This actually fills a good niche, if i'm looking for a monolithic framework that trys to do a bunch of things, angular fits the bill. I like that this does one thing, and seems…
      swalsh on HN
    • tiny, small, idiomatic javascript; uses POJOs; has just enough 'binding'; uses routing and basic promise/A+ implementation. I'd say this is good and as high level as one should…
      matthiasak on HN

Objections

  • Templates written as JavaScript arrays and calls are awkward to read

    From 3 comments
    • Have you successfully tried this out in a real app? Why would you want to structure your dom inside an array? Seem pretty crazy, my dude. todo.view = function(ctrl) { return…
      ulisesrmzroche on HN
    • Overall I like it, except for the templates. It's perfectly possible to not have FOUC with traditional template languages like mustache, and I don't think having "turing…
      abjorn on HN
    • I like the small, unmagical, well-defined API. That strength is also a weakness though. Particularly because for coffeescript (or my favourite, the related LiveScript) it doesn't…
      maninalift on HN
  • Another framework is unnecessary; use existing libraries

    From 2 comments
    • I don't mean this in a bad way, but do we really need another Javascript framework? Wouldn't author's energy be more useful when contributing to one of the existing ones?
      tzaman on HN
    • Here are my thoughts, but you won't like them. Stop with the frameworks. Learn Javascript. Learn CSS. Learn HTML. You'll find pretty quickly that what you need are libraries, not…
      Zelphyr on HN
  • Jquery comparisons and tests are unfair

    From 2 comments
    • The tests don't make sense. jQuery is not an MVC framework and should not be tested as if it were. It's worth noting that both Backbone and Angular use some version of jQuery…
      timmywil on HN
    • Many people are at a stage where they're using jQuery to build large apps and wondering what benefits a framework provides. Not having to worry about script injections is one of…
      lhorie on HN

Requests

  • Todo MVC example

    From 2 comments
    • do you have a todomvc example :)
      johnnymonster on HN
    • Author of Vue.js here, I'm glad you included Vue in your framework comparisons. Here's some thoughts regarding your comments on Vue.js: the reason Vue chose to use ES5-only…
      EvanYou on HN
  • Performance comparisons with React, Om and Vue

    From 2 comments
    • Quite similar to React? Probably about the same performance?
      Geee on HN
    • Thanks for making this, this looks really really good! I'm a backend guy beginning to venture into front-end stuff (recently picked up JS for a Node project at work), and the…
      findjashua on HN
  • Support for other templating languages

    From 2 comments
    • Overall I like it, except for the templates. It's perfectly possible to not have FOUC with traditional template languages like mustache, and I don't think having "turing…
      abjorn on HN
    • The templating language reminds me a little of what spacebars (htmljs) probably looks like if a nice mustache facade wasn't put in front of it. (which goes back to Gee's comment…
      bjconlan on HN

Questions

  • How long will the project be supported

    From 1 comment
    • Hi lhorie, I like this. I want to use this. How long will this supported is my concern. Or is this a fun side hobby you worked on and plan on moving on to the next with no future…
      BaconJuice on HN
  • Why another JavaScript framework

    From 2 comments
    • I don't mean this in a bad way, but do we really need another Javascript framework? Wouldn't author's energy be more useful when contributing to one of the existing ones?
      tzaman on HN
    • Why?
      niklasber on HN

Alternatives named

  • Angular

    From 2 comments
    • I've become a huge fan of simple things. When I was just starting out developing software, I was a big fan of huge integrated solutions. But as the years went on I loved well…
      sergiotapia on HN
    • Have you successfully tried this out in a real app? Why would you want to structure your dom inside an array? Seem pretty crazy, my dude. todo.view = function(ctrl) { return…
      ulisesrmzroche on HN
  • React

    From 2 comments
    • I know react is not an MVC framework, but I think you should add it in for comparisons since it uses similar rendering concepts
      cordite on HN
    • Quite similar to React? Probably about the same performance?
      Geee on HN
  • Backbone.js

    From 1 comment
    • I've become a huge fan of simple things. When I was just starting out developing software, I was a big fan of huge integrated solutions. But as the years went on I loved well…
      sergiotapia on HN
  • jQuery

    From 2 comments
    • Here are my thoughts, but you won't like them. Stop with the frameworks. Learn Javascript. Learn CSS. Learn HTML. You'll find pretty quickly that what you need are libraries, not…
      Zelphyr on HN
    • The tests don't make sense. jQuery is not an MVC framework and should not be tested as if it were. It's worth noting that both Backbone and Angular use some version of jQuery…
      timmywil on HN
  • Riot.js

    From 1 comment
    • Aside from templates, this is the same as https://github.com/moot/riotjs
      fiatjaf on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/7421652)