Live data from Hacker News

Ember.js 1.0 Prerelease

emberjs.com

11–20 of 39 posts

Re: Ember.js 1.0 Prerelease

#11

I really do love what Ember brings but I need, need, need a production ready persistence layer. Backbone has me spoiled in that area.

Also prototype ninja'ing is on by default. It has a run loop in an event-driven browser.

> It has a run loop in an event-driven browser

The "run loop" hooks into the existing browser's event loop in order to coalesce side-effects. This is exactly the same thing that the browser does when you make a number of changes to the DOM in an event handler.

There is nothing strange going on here.

Re: Ember.js 1.0 Prerelease

#12

I really do love what Ember brings but I need, need, need a production ready persistence layer. Backbone has me spoiled in that area.

Also prototype ninja'ing is on by default. It has a run loop in an event-driven browser.

You can turn that off if you want, personally I don't miss much of it.

As for the even driven stuff. Not sure what you mean by that, the run loop is not to dispatch dom events but to settle the bindings asynchronously (with the benefits of not triggering multiple changes for the same property within the same run loop and having a comprehensive pipeline to get data on the screen).

Re: Ember.js 1.0 Prerelease

#14
post #4

Off topic but can a another Windows user can tell me if the text looks horrible to you as it does to me? http://i.imgur.com/rooNb.png I know Chrome has bad font rendering problems on Windows but this is just atrocious. Also FF is a bit better but not by much. This usually happens to me with webfonts only. The fact that I see so little complaints about this online make me think that perhaps it has something to do with…

Can we please get a Chrome release version that uses DirectWrite like FF4+ and IE9+ already? Sheesh. https://groups.google.com/a/chromium.org/forum/?fromgroups#!...

Re: Ember.js 1.0 Prerelease

#15
Yay real excited about this! I'm currently a Backbone.js junkie but I'm looking for something more opinionated and less boilerplatey. Nice to see Ember.js maturing. Let's see some more documentation!

Re: Ember.js 1.0 Prerelease

#16
post #15

Yay real excited about this! I'm currently a Backbone.js junkie but I'm looking for something more opinionated and less boilerplatey. Nice to see Ember.js maturing. Let's see some more documentation!

I'm in the same boat. While I definitely appreciate Backbone for what it tries to be (and it excels at that, in my experience), I find myself somewhat unsure at times if I'm deviating too much from best practices. Not that I need someone to hold my hand, but a lot of times when using backbone for my non-trivial app, I got the feeling I was reinventing a wheel.

For example: view clean-up (the zombie problem), model relations, alternative transport layers (socket.io), and view nesting.

I did however often greatly appreciate the elegance and simplicity of Backbone's source code and design, as well as for introducing me to the fantastic Underscore library, which I now make much use of both client-side as well as in Node.

I think I'll wait until the first 1.x release to consider porting my app over, or perhaps not depending on how Backbone 1.0 turns out.

Excellent work by both teams.

Re: Ember.js 1.0 Prerelease

#17
really excited about this. We've been using Ember.js for a few months and I've been really impressed by the people in the community (at least in NYC).

Here are some slides from a presentation my cofounder did about our journey from first commit to production deploy in 10 days:

https://speakerdeck.com/u/jrallison/p/building-customerio-wi...

Re: Ember.js 1.0 Prerelease

#18
Stupid question maybe, but has coffeescript support been talked about at all?

I've had issues with ember and coffeescript before because of some of the choices they've made on how to declare models.

Re: Ember.js 1.0 Prerelease

#19
I've looked at Ember.js in the past, but frankly, I've been intimidated by the lack of good documentation and examples. I'm not an expert like some of you and I really need good tutorials. Backbone excels because of the large community. Knockout has some killer walkthroughs - http://learn.knockoutjs.com/. Now that Ember.js 1.0 is on the horizon, is this getting better? I want to learn!

Re: Ember.js 1.0 Prerelease

#20

Stupid question maybe, but has coffeescript support been talked about at all? I've had issues with ember and coffeescript before because of some of the choices they've made on how to declare models.

CoffeeScript doesn't support the hooks we need to make its class system work with Ember.js' object model, but Yehuda and I have both worked on a large-scale Ember.js application written in CoffeeScript and it was fine.
Post reply on HN