I wrote an article not that long ago addressing my impressions of Angular.js. Today I want to talk to you about how my feelings have changed after working on my first production Angular.js application.
Angular.js is a very powerful tool for the front end developer, especially one who understands the back end. I have been working with both for over 20 years now, so it seemed like the perfect tool.
I was brought into this project with the Los Angeles Superior Court from the start and Angular.js was the technology chosen by the court staff. I went to work creating a nice UI using Bootstrap (another of my favorite tools). As I got deeper into the requirements I was also expanding my knowledge of Angular.js. I began to familiarize myself with the real world problems faced by those who develop with Angular. However, as I am coming out the other side with an application that is in very good shape right now, i have the following things to say.
The Model is Everything
Angular bases everything it does with data off of models. The two-way binding between the front end and the model is extremely powerful. Saving data selections that would have taken many lines of code in previous applications took 3 or 4 lines. When I finally truly grasped the link between the model and having control over not only the front end, but the back end as well, things sped up.
The biggest learning about the model was when I was having problems with a scrolling issue. I wanted to show a div or hide that div based upon interaction with a user. I managed to make that work, but then I had issues with the selection at the bottom of the screen not showing without forcing the user to scroll. I …read more
Source:: The Developing Coder