Live data from Hacker News

Ember.js 1.13.0 and 2.0 Beta Released

emberjs.com

11–20 of 38 posts

Re: Ember.js 1.13.0 and 2.0 Beta Released

#11

Here is an interesting story about the flarum forum dev and their switch from ember to mithril due to extensibility problems and performance. Hopefully the auhor will blog some more about his experiences. Mind the bloat if you do not want to sink the boat.

You didn't provide a link. I assume you were going to link the blog post announcing their switch to Mithril — that didn't contain any rationale behind it.

I did find this however, which goes into details about why Ember was not a good choice for them: http://discuss.flarum.org/139-introducing-flarum-s-fast-new-...

Seems to be a well based choice. Doesn't seem to have anything to do with performance though.

While Mithril is probably a lot more extensible and easeier to work with since there's a smaller API surface, seeing "templates" like this makes me sad:

  view() {
    return m('div.text-editor', {config: this.element}, [
      m('textarea.form-control.flexible-height', {
        config: this.configTextarea.bind(this),
        oninput: m.withAttr('value', this.oninput.bind(this)),
        placeholder: this.props.placeholder || '',
        disabled: !!this.props.disabled,
        value: this.value()
      }),
      m('ul.text-editor-controls', listItems(this.controlItems().  toArray()))  
    ]);
  }

Re: Ember.js 1.13.0 and 2.0 Beta Released

#12

Earlier quoted context omitted.

Every JS framework is moving in the direction of React, because React is (in my experience) the best and most logical we have right now.

Are people always using React with another framework or can you build out full applications with just React? Im looking to start another project and want to try React but not sure if it has everything I'm looking for.

React is the "View", so you need something like Backbone to fuel it. Roll your own, use Backbone, Flux (made by FB especially for React) or Reflux (third party. Flux re-imagined).

Re: Ember.js 1.13.0 and 2.0 Beta Released

#13

Earlier quoted context omitted.

Every JS framework is moving in the direction of React, because React is (in my experience) the best and most logical we have right now.

Are people always using React with another framework or can you build out full applications with just React? Im looking to start another project and want to try React but not sure if it has everything I'm looking for.

You don't need another framework to build apps with React. But you will need several libraries as React isn't "kitchen sink" type framework like Ember and Angular.

In my React-based apps, I typically include react-router for routing and request or superagent for ajax calls. You can also include a Flux-inspired library if you're into that sort of thing.

Re: Ember.js 1.13.0 and 2.0 Beta Released

#14
post #11

Here is an interesting story about the flarum forum dev and their switch from ember to mithril due to extensibility problems and performance. Hopefully the auhor will blog some more about his experiences. Mind the bloat if you do not want to sink the boat.

You didn't provide a link. I assume you were going to link the blog post announcing their switch to Mithril — that didn't contain any rationale behind it. I did find this however, which goes into details about why Ember was not a good choice for them: http://discuss.flarum.org/139-introducing-flarum-s-fast-new-... Seems to be a well based choice. Doesn't seem to have anything to do with performance though. While Mith…

Has anyone made a JSX transformer that plays nice with Mithril? Seems like it would make using that api you provided a snippet of less painful

Re: Ember.js 1.13.0 and 2.0 Beta Released

#15
post #7
post #2

Oh dear: EMBER 2.0 BETA Model-View-Controller is replaced by Model-Route-Component-Service. Two-way bindings are replaced by data down, actions up (DDAU). I haven't delved into the details, but it looks like things are starting to move in the direction of React. I'm not entirely surprised. We recently built a full scale app with Ember and Ember Data. Now looking back, React with Backbone feels it could have been an e…

Also it's more of a Model-Route-View-Controller-Component-Service to Model-Route-Component-Service switch. These things were all present before and many people started to merge the view-controller implementations into a component one.

We almost have all the letters necessary to call Ember the SCROTUM framework. "O" opinionated, "U" __, "T" ___

Re: Ember.js 1.13.0 and 2.0 Beta Released

#16
post #11

Here is an interesting story about the flarum forum dev and their switch from ember to mithril due to extensibility problems and performance. Hopefully the auhor will blog some more about his experiences. Mind the bloat if you do not want to sink the boat.

You didn't provide a link. I assume you were going to link the blog post announcing their switch to Mithril — that didn't contain any rationale behind it. I did find this however, which goes into details about why Ember was not a good choice for them: http://discuss.flarum.org/139-introducing-flarum-s-fast-new-... Seems to be a well based choice. Doesn't seem to have anything to do with performance though. While Mith…

[deleted]

Re: Ember.js 1.13.0 and 2.0 Beta Released

#17
post #9

I am excited about this release. Once things have settled down I think Ember 2.x will have a much shallower learning curve than 1.x. However it is a shame that routable components haven't made it in yet. I'm about to start a new, medium-sized Emberjs project, but I'm unsure whether to wait another 6 (or maybe 12) weeks for this feature. Any suggestions?

I'd jump right in. The upgrade path has been very gentle for quite some time now.

Re: Ember.js 1.13.0 and 2.0 Beta Released

#18
post #11

Earlier quoted context omitted.

You didn't provide a link. I assume you were going to link the blog post announcing their switch to Mithril — that didn't contain any rationale behind it. I did find this however, which goes into details about why Ember was not a good choice for them: http://discuss.flarum.org/139-introducing-flarum-s-fast-new-... Seems to be a well based choice. Doesn't seem to have anything to do with performance though. While Mith…

Has anyone made a JSX transformer that plays nice with Mithril? Seems like it would make using that api you provided a snippet of less painful

https://github.com/insin/msx

Re: Ember.js 1.13.0 and 2.0 Beta Released

#19

Earlier quoted context omitted.

Every JS framework is moving in the direction of React, because React is (in my experience) the best and most logical we have right now.

Are people always using React with another framework or can you build out full applications with just React? Im looking to start another project and want to try React but not sure if it has everything I'm looking for.

React + Flux in the form of Flummox (along with react-router for routing) is enough for a 10kloc application I recently wrote for Expedia. If you don't want to make architectural decisions or composing smaller libraries then I think Ember is a better choice, but for us React is perfect.

Re: Ember.js 1.13.0 and 2.0 Beta Released

#20
post #9

I am excited about this release. Once things have settled down I think Ember 2.x will have a much shallower learning curve than 1.x. However it is a shame that routable components haven't made it in yet. I'm about to start a new, medium-sized Emberjs project, but I'm unsure whether to wait another 6 (or maybe 12) weeks for this feature. Any suggestions?

Sam Selikoff's article on preparing for Ember 2.0 includes a pattern that could easily upgrade into routeable components [0].

[0] http://www.samselikoff.com/blog/preparing-for-ember-2.0/

Post reply on HN