Learning Ember.js This blog post was published on November 13 2012. §
Ember Coding Practices
- Difference between Function Declaration vs Function Expressions. Which segues nice to…
- Module Pattern
I’ve learned quite a bit from reading these wonderfully written blog posts and they have definitely helped me understand certain parts of the Ember.js codebase that I previously didn’t understand. The ideas presented above are present all over the codebase and I figured I would outline various occurrences of them.
Ember also uses the IFFE pattern quite a bit. This can be seen in ember.1-0.pre.js, the built ember file. A lot of the code is surrounded in the following
I imagine these get constructed as part of the build process of ember which is something I haven’t completely worked out yet.