Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
machty
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
machty
13y ago
I just linkified everything, should be good now
32.
▲
by
machty
13y ago
I just added this to the slides (ran out of time to prepare/say all the things I wanted to), related to Google popularity: - A toolset’s mindshare is predictably going to be greater than that of a framework - Angular interest (per Goog
33.
▲
by
machty
13y ago
Angular folk are often quick to point out that "Angular isn't a framework; it's an HTML compiler", or, as their homepage states, "AngularJS is a toolset for building the framework most suited to your application dev
34.
▲
by
machty
13y ago
It is a little comical that this post comes out a day after one of the greatest community-driven races to the 1.0 finish line from Angular's chief competitor.
35.
▲
by
machty
13y ago
Congrats to the badasses at GroupTalent. This looks great!
36.
▲
by
machty
13y ago
What does non-native mean here? All of the persistence options for Ember (Ember Data, Ember Model, EPF) very intentionally don't come bundled in Ember core. Not sure what you're trying to point out here.
37.
▲
by
machty
13y ago
Of the two choices, I would definitely continue to use Ember.js. Backbone is disqualified due to obvious, reknowned scalability issues; most apps need a plethora of plugins and framework enhancers that jell dubiously and weigh your app down
38.
▲
by
machty
13y ago
Eh, so does any angular post on the omg power of directives.
39.
▲
by
machty
13y ago
Not the most evenly matched standoff of all time, but Ember wins some serious points in the URL-driven department.
40.
▲
by
machty
13y ago
What are some salient examples of gaming in the world of Academic discovery and citation?
41.
▲
by
machty
13y ago
This will definitely be in before 1.0
42.
▲
by
machty
14y ago
I love the CoffeeScriptRedux project and this is a perfect little application of it. It's very easy to pick up once you know CoffeeScript and I love the idea of stylizing your developer tools to fit a framework as rightfully opinionated as
43.
▲
by
machty
14y ago
The {{#array}}item{{/array}} syntax is functionally equivalent to and equally logicless as {{#each array}}item{{/each}}, only the latter (handlebars) has the benefit of being precompilable and easily extensible by frameworks such as Ember,
44.
▲
by
machty
14y ago
What code? The only stuff in there is to respond to changes in underlying data or pass click events to their rightful handler. Also, making something prettier, more readable, and easier to maintain seems like the opposite of obfuscatory, no
45.
▲
by
machty
14y ago
Not sure if/how angular makes use of / extends Handlebars, but Emblem internally compiles to a Handlebars AST so it should be flexible enough to integrate with angular, though that's not on my immediate TODO list. Please feel free to have a
46.
▲
by
machty
14y ago
I'd consider this functionality in the future, but Emblem's bound by the constraints of Handlebars.js. In the meantime, most JS frameworks that you'd use Handlebars/Emblem with provide something pretty close to template inheritance. You'd a
47.
▲
by
machty
14y ago
This is a JavaScript templating language; aside from the fact that I like Emblem's syntax way better, you can't use HAML for JavaScript templates unless you go the hacky/ugly hamlbars route.
48.
▲
by
machty
14y ago
Emblem is not ashamed of its roots
49.
▲
by
machty
14y ago
Mostly because mucking around with raw HTML is a pain, and very much error prone (missing closing tags, etc.). You can either spend the time learning the ins and outs of text editor shortcuts to make your HTML editing easier or you can spen
50.
▲
by
machty
14y ago
afaik Jade can't be precompiled; all the parsing needs to happen in the Browser, whereas Handlebars (and therefore Emblem) can be precompiled so that browser processing is minimal. Also, for frameworks that heavily extend Handlebars, such a
51.
▲
by
machty
14y ago
Indentation languages in general are a step up from editing raw HTML; by the time people are ready for another abstraction, the common tags will be far more ingrained in their heads. Syntax highlighting helps, too (existing solutions for th
52.
▲
by
machty
14y ago
%h1 is totally valid emblem syntax. edit: it's optional, of course, but you have to use it if you need to use non-standard (read: unrecognized by emblem) html tags
53.
▲
Emblem.js: concise, indented alternative templating language for Handlebars.js
(emblemjs.com)
78 points
by
machty
14y ago
|
66 comments
54.
▲
by
machty
14y ago
For what it's worth, the Ember run loop isn't that fires according to a step timer, but rather a loop that runs to completion in response to specific events (mouse click, keyboard press, response from ember-data). If you're talking about re