News for hackers. Stuff that matters.
Re:Ember.js 3.1 and 3.2 Beta Released by s_kilk on Saturday April 14, 2018 @01:33PM (#16838346)
(as someone who doesn't use ember) This release looks cool, and I like the general vibe of careful development and clear messaging.

Is anyone here using Ember on big projects? How's it working out?

I tried ember, maybe 6 or 7 years ago, and was turned off by some weird magical behaviour, but I'm curious about how ember is doing these days, and particularly the glimmer engine.

Re:Ember.js 3.1 and 3.2 Beta Released by jeffkeen on Saturday April 14, 2018 @01:53PM (#16838474)
Ember is an incredible framework that's been carefully thought out by a team of super sharp people with loads of experience, and I'm constantly amazed by how quickly I can get real projects built using it. I've used it for many projects since ember-cli came out a few years ago. I feel about Ember for client-side projects how I felt about Rails for server-side projects—it made it fun for me again.

But Ember gets a bad wrap from the internet because (admittedly) their marketing materials with the gooofy chipmunks make it look like a toy while React's make it look like you're learning quantum physics. And then there's the timeless "convention over configuration" divide where Ember people are generally on the left side, and React people just love the thought of fiddling around and hand rolling their own custom ungoogleable bespoke artisan framework before actually getting to the meat of the work.

I highly recommend using Ember for any size project if you like getting shit done.

This is a good talk kinda about this: https://www.youtube.com/watch?v=rWH3UNIKFeg

Re:Ember.js 3.1 and 3.2 Beta Released by ravenstine on Saturday April 14, 2018 @02:34PM (#16838741)
I don't think Ember's bad rap is due to its marketing image. First off, Ember long had a reputation for being less performant out of all frontend frameworks. It was mostly true for some time, but Ember is pretty fast these days.

More importantly, I think that frontend development still is influenced by its long history of "duct tape" coding practices resulting from JavaScript and CSS being very crippled for much of their existence. Thus, many JavaScript developers seem to prefer simple libraries that can do a lot with a little investment in configuration and composition.

Of course there's also the fact that Tilde is the most notable supporter of Ember, whereas Angular has Google and React has Facebook.

But some people, such as myself, like an opinionated toolchain such as Ember.

Re:Ember.js 3.1 and 3.2 Beta Released by Kerrick on Saturday April 14, 2018 @03:16PM (#16838915)
I’d say that LinkedIn is a much more notable supporter of Ember than Tilde.
Re:Ember.js 3.1 and 3.2 Beta Released by lf-non on Saturday April 14, 2018 @04:04PM (#16839172)
Given that even after a major overhaul, Linkedin's web interface is sub-par wrt. UX as well as performance, I am not sure Linkedin's endorsement really contributes positively towards popularity of Ember.
Re:Ember.js 3.1 and 3.2 Beta Released by atonse on Saturday April 14, 2018 @09:05PM (#16840516)
Totally agree. I love ember but linked in’s new ember interface just makes my Laptop fans spin like crazy.

I worry because I know they’ve hired some of the most talented folks from the Ember community (people who care about performance and scrolling jankyness). This is not a knock on them, but it is worrying that even the best of the best may struggle with larger, more complex apps.

Re:Ember.js 3.1 and 3.2 Beta Released by s_kilk on Saturday April 14, 2018 @01:55PM (#16838490)
Yeah all of this sounds good, thanks!
Re:Ember.js 3.1 and 3.2 Beta Released by Ralfp on Saturday April 14, 2018 @02:30PM (#16838719)
> But Ember gets a bad wrap from the internet because (admittedly) their marketing materials with the gooofy chipmunks make it look like a toy

Ember.js is best technology that I've ever dropped, but let me assure you, the Tomster had nothing to do with my decision.

Ember got into the spotlight when Atwood and Co. have launched the Discourse. Back then it looked super impressive - first open source forum software and arguably one of first open source apps following "JS fronted and API backend" architecture. And it was all done with Ember.js, js FW marketing itself as the modern way to build JS apps!

A lot of people wanted to try it out (myself included), some moving from Angular, other from Backbone, and others coming from backend development. If Ember ever had the cool factor, it was that time. Ember.js was the next big thing, a framework for creating ambitious web applications, and all the people came to it to build their ambitious applications, looking up to Discourse as example of such application.

And then those people have hit the roadblock. Ember.js's pitch was building applications, but it's documentation has never moved past explaining individual parts of technology, and into the field of how those should be put together in final application. Angular had millions of easily googleable tutorials like "this is best practice for setting page title when user enters the route" or "this is how you can configure framework to authenticate with your backend technology".

I also clearly remember the "calling set on destroyed object" error that happened when you tried to update the state of object that was already destroyed that was impossible to debug, because the error was literally "Error: calling set on destroyed object" and it put world to stop. For comparision, in React.js that was "Warning: calling setState with X, Y and Z on unmounted component ComponentName". That one error was absolute productivity killer when debugging Ember.js apps from day one, and it was years before somebody from Ember.js core actually went to Ember's source code and changed "assert !obj._is_destroyed 'calling set on destroyed object'" to "assert !obj._is_destroyed 'calling set on destroyed object'". There was always bigger fish to fry for Ember.js core team, who were so bussy making blogpost after blogpost of new great features or API changes happening, while being oblivious to comments below those same blogposts asking "can I now do partial updates on models because they are super costful to update?" or "is calling set on destroyed object fixed yet?". And then guys from their ambassador product, Discourse, started writing blog posts following the pattern of "Here's how we've replaced Ember.js's feature with our one because framework's didnt work", and those involved things like `Ember-Data` or Ember views.

Re:Ember.js 3.1 and 3.2 Beta Released by ben_jones on Saturday April 14, 2018 @03:32PM (#16838990)
EmberJS was the first front-end framework I learned as a web developer, shortly after learning Django. This was before Ember 1.0 . It was cool at first - but once I started developing real projects I ran head first into unreadable or cryptic internal stack traces and APIs that forced me to adapt my back-end to fit the needs of the front-end app. A short time later I picked up angular 1.x and was off to the races because anytime I ran into a problem with a feature or design decision I could easily find the hack that would keep my momentum going.

I always felt like EmberJS meant well but chose rigidness where it should have been flexible, and flexibility where it should have been rigid. It's probably changed and solved many of these early problems. I want to go back and re-evaluate, but nowadays so many different technologies, frameworks, languages, and tools, are pulling at my time that I don't think I will be able to.

FWIW my current stack of choice (and at work) is Golang and Vue (w/Typescript) - which might identify where some of my biases and predilections are.

Re:Ember.js 3.1 and 3.2 Beta Released by anoncoward778 on Saturday April 14, 2018 @09:22PM (#16840566)
MAN....ember before v 1.0 ???...I'd suggest taking a revisit. Version 2.0 was a different universe let alone 3.1
Re:Ember.js 3.1 and 3.2 Beta Released by okket on Saturday April 14, 2018 @04:23PM (#16839273)
> changed "assert !obj._is_destroyed 'calling set on destroyed object'" to "assert !obj._is_destroyed 'calling set on destroyed object'"

Umm... those are the same?

Re:Ember.js 3.1 and 3.2 Beta Released by pilaf on Saturday April 14, 2018 @05:26PM (#16839610)
He probably meant something like this on the second case:

Ember.assert(`calling set('${inspect(keyName)}') on a destroyed object ${inspect(obj)}`, !obj.isDestroyed);

Re:Ember.js 3.1 and 3.2 Beta Released by dbbk on Sunday April 15, 2018 @05:34AM (#16841981)
> first open source forum software

This is not at all correct

Re:Ember.js 3.1 and 3.2 Beta Released by Ralfp on Sunday April 15, 2018 @12:09PM (#16843254)
I've meant first open source forum software with JS frontend.
Re:Ember.js 3.1 and 3.2 Beta Released by gavinjoyce on Saturday April 14, 2018 @03:18PM (#16838923)
We've been using Ember at Intercom for over 4 years to build our main app. We continue to be super productive with Ember, our customers love our product, our code base has never been healthier and Ember's careful upgrade path and approach to deprecations means that we don't spend much energy or time thinking about non-product related technical challenges. The 6 week release cycle is great.

We've grown from 10 to 150 engineers in that time and Ember's strong conventions has helped us continue our tradition of enabling new engineers shipping to production on their first day and shipping a feature to production in their first week.

Re:Ember.js 3.1 and 3.2 Beta Released by s_kilk on Saturday April 14, 2018 @04:20PM (#16839254)
That's good to hear.

If you don't mind elaborating, which version of ember did you start with? Follow on: can you comment on how ember has improved since then?

I'm particularly interested in improvements to performance and error reporting, which I'm lead to believe were pretty bad in early versions.

Re:Ember.js 3.1 and 3.2 Beta Released by gavinjoyce on Sunday April 15, 2018 @03:20AM (#16841672)
We started on ~v1.4. Ember has improved in every dimension since then. ember-cli, the ember inspector, contextual components, data down actions up, much better docs, an open RFC process, the ember addon ecosystem, the experimental glimmerjs, a smooth approach to deprecations and major version released. A lot of small steps and the odd big leap really adds up.

Performance is great now. The rendering engine has been rebuilt (without major changes to the templating syntax) and the new glimmer-vm architecture yielded huge performance and payload size wins and continues to deliver incremental performance gains every 6 weeks.

I've never considered error reporting an issue in the past, but I may just not remember the pain. It's not an issue for us now though.

If you (or anyone else reading) would ever like to chat in person, feel free to reach out:

https://twitter.com/gavinjoyce/status/928719024644612096

Re:Ember.js 3.1 and 3.2 Beta Released by djwasserman on Saturday April 14, 2018 @10:24PM (#16840763)
I don’t work there, but was an early customer and have built apps from 1.x days.

The things that have improved:

1. Performance, performance, performance. It’s not fair, but anything that existed before react really was slow, because all JS dom updating was basically .innerHtml. Once we (as a JS community left that), everything has gotten faster (especially ember). Seehttps://madhatted.com/2016/11/30/5-things-to-know-about-embe...

2. Composability of components: being able to compose components together dynamically based and have a well defined boundary for colmunicating with the outside world is great. There is still some papercuts with the actual component API, but those are getting smoothed out.

3. Build-tooling/ecosystem. The amount and quality of tools keeps going up to accomplish tree shaking, AST parsing, etc. I just updated an ember app from 2.3 -> 3.0 and it took less than 2 hours to upgrade, test, deploy.

Re:Ember.js 3.1 and 3.2 Beta Released by toufka on Saturday April 14, 2018 @01:53PM (#16838477)
The most recent large effort in the 3.0 series was to break apart all of the 'magic features' into coherent conceptual units. So if you know what you want you can now use only the magic dust that you think you need. But those units are also still part of the ember such that it's still possible to type '>ember new' and have a fully loaded ready-to-go framework in 10 seconds.

And fastboot.

And glimmer.

It's really nice environment to work in when building a full featured web-app.

Re:Ember.js 3.1 and 3.2 Beta Released by vasilakisfil on Saturday April 14, 2018 @01:49PM (#16838445)
We use Ember, and it works pretty good actually. I love the addons system which allows you to speed up, but also extend an addon at anytime if it doesn't exactly fit your case. But the great thing with Ember is that anyone of us can jump in a project never worked before and still be productive. I had written a blog post about it, maybe worth checking it out: https://blog.kollegorna.se/3-years-of-ember-6-months-of-reac...
Re:Ember.js 3.1 and 3.2 Beta Released by mnutt on Saturday April 14, 2018 @03:33PM (#16838995)
I've used ember to build a half dozen production apps, ranging from a wysiwyg vector editor to a dropbox clone to an electron-based process manager. It's the frontend framework I reach for any time I expect to need to develop an app longer than a month or two, and ember has scaled well with each project. The ember community conventions have never really gotten in the way of whatever I'm trying to accomplish, and the consistency across projects is refreshing.