Learning by doing is probably the most efficient way to learn
Things I Wish I Were Told About Angular.js
Things I Wish I Were Told About Angular.js. 25 May 2013. Recently I have worked on a project using Angular.js. As of writing this post, it’s a medium sized app (~10 modules, ~20 controllers, ~5 services and ~10 directives) with quite decent test coverage. When I look back, I find myself learning …
Angular is built around the belief that declarative code is better than imperative when it comes to building UIs and wiring software components together, while imperative code is excellent for expressing business logic.
• It is a very good idea to decouple DOM manipulation from app logic. This dramatically improves the testability of the code. • It is a really, really good idea to regard app testing as equal in importance to app writing. Testing difficulty is dramatically affected by the way the code is structured. • It is an excellent idea to decouple the client side of an app from the server side. This allows development work to progress in parallel, and allows for reuse of both sides. • It is very helpful indeed if the framework guides developers through the entire journey of building an app: from designing the UI, through writing the business logic, to testing. • It is always good to make common tasks trivial and difficult tasks possible.