Skip to content

Instantly share code, notes, and snippets.

@tleperou
tleperou / from-angular-to-emberjs.md
Last active July 3, 2019 06:03
Backbone of the Angular to EmberJS guide

Introduction

  1. Benefits to move from Angular to EmberJS
  2. Main similarities and differences
  3. Beyong Angular, ambitious Ember's concepts (Engines, Initializers, ...)

Table of content

  1. Component, template and life cycle hooks --> glimmer component & Handlebars
import Component from "@glimmer/component";
import { queryParam } from "ember-query-params-service";
export default class SomeComponent extends Component {
@queryParam foo;
myMethodToComputeFoo() {
return this.foo;
}
}
import Route from '@ember/routing/route';
import { action } from '@ember/object';
import { inject as service } from '@ember/service';
import { queryParam } from 'ember-query-params-service';
export default class ApplicationRoute extends Route {
@queryParam search;
@queryParam limit;
@queryParam skip;
@service store
@tleperou
tleperou / Ember-roadmap-2019.md
Last active June 22, 2019 12:00
My wishes for the Ember roadmap 2019

My wishes for the Ember roadmap 2019

I've always been amazed by what Ember can make me accomplish. I created my first SPA with its version 1.13. Since then, I deployed a few Angular and React applications. Ember remains my favorite :)

The all-features out of the box with the Component, Data, and Router boundaries is a fantastic approach. Even if - most of - other frameworks require configurations before shipping Web applications, their success is unquestionable. Why not Ember too?

I articulate my wishes within 2 categories:

  1. strategic, mostly to grow the Emberistas community
  2. pragmatic, to improve the development experience