Ember.js Octane Edition
blog.emberjs.com
Ember.js Octane Edition
1–10 of 80 posts
Re: Ember.js Octane Edition
#2While revamping the tutorial[1] to showcase the new features and idioms, I worked on this tool[2] to automate the generation of the tutorial.
Every page of the tutorial you see is the output from markdown source files (like this one[3]) which contains executable instructions for the steps. The build[4] system will run these commands and edits the same way an end-user would, capture the output of the commands and put them in the tutorial. It also takes the screenshots by opening a real browser (via puppeteer) and navigating to the actual app that we are building as part of the tutorial.
All of these ensures that the tutorial content and screenshots are up-to-date with the latest blueprints (the files used by the generators), config files, etc, and that everything really works as-expected. It makes it much easier to maintain and QC the teaching materials, but also servers as a very useful end-to-end smoke test to ensure all the moving pieces in the ecosystem (including external components like npm, node, etc) are all working together.
Right now the tool and the tutorial content are in the same GitHub repo, but the code is actually written to be completely agnostic to Ember.js (or JS even). It just runs shell commands, edit files etc. My intention is to separate out the tool to its standalone thing, so more communities can benefit from this approach.
[1]: https://guides.emberjs.com/release/tutorial/
[2]: https://github.com/ember-learn/super-rentals-tutorial/
[3]: https://raw.githubusercontent.com/ember-learn/super-rentals-...
[4]: https://github.com/ember-learn/super-rentals-tutorial/commit...
Re: Ember.js Octane Edition
#3Octane is a huge leap forward for Ember. Its APIs are extremely well designed, composable and cohesive. The new Glimmer components and @tracked properties have resulted in waves of negative diffs as we refactor parts of our app to Octane and, IMO, are an advancement in the state-of-the-art component state tracking / reactive UI.
If you've tried Ember before and were turned off by some of its slightly weird APIs (computed properties, component APIs like tagName, classNames & event handling, the ember object model), you should take a second look.
With Octane, Ember is a framework for rapidly building high quality web applications that will remaining healthy over time as the web platform and JS ecosystem rapidly changes.
Re: Ember.js Octane Edition
#4Octane looks so much nicer. This is the lift codebases that have been using Ember for 6+ years will greatly appreciate.
And! It'll be great to show off ember at local meetups with the nice new syntax!
Re: Ember.js Octane Edition
#5Glad to see they are pushing through
Re: Ember.js Octane Edition
#6It is such a tragedy that ember did not gain more traction. It's incredibly elegant, powerful and ergonomic. Once you got into the groove, writing ember code was so intuitive. Glad to see they are pushing through
Re: Ember.js Octane Edition
#7Re: Ember.js Octane Edition
#8Re: Ember.js Octane Edition
#9It is such a tragedy that ember did not gain more traction. It's incredibly elegant, powerful and ergonomic. Once you got into the groove, writing ember code was so intuitive. Glad to see they are pushing through
Re: Ember.js Octane Edition
#10[1] Apparently this is the development size. The production size is 712.29 KB (180.80 KB gzipped). My point still stands though.