For the last several months I have observed with high interest as Mark Roden, Mark Barton, Jeff Byrd and perhaps others from the community have discussed Angular and other noun.js frameworks (backbone, ember, etc). One common theme that I have noticed is the enthusiasm of eliminating everything front end that XPages provides and only using Domino for the security model and to serve up pages and JSON data.
I must admit that I am a little bothered inside when I try to understand what they are advocating. What bothers me is that I like XPages and what it brings to the table. I like my XPages toolbox, and while I am always interested in a shiny new tool, I am not interested in trading it for another toolbox.
To be clear, Marky is not saying everyone should follow his path, but as one of the leading bloggers in our community there is a certain pressure to follow the leader. Speaking of leaders in our community, there is tangible vacancy as we all mourn the loss of Tim Tripcony. It saddens me that I won't see Tim comment on this post as he sometimes did with others I wrote.
Given this background, I have set out to learn Angular.JS by creating a proof of concept for using it within an XPage. I have decided to duplicate the functionality of a Dojo Data Grid using Angular. In this two part blog series, I will show you how I used an Angular.JS within an existing Xpage.
Disclaimer:There is always a chance that after time passes, and I become more comfortable with the Angular framework and what all it can do, that I will agree and even advocate with what Marky and others have proposed. I reserve the right to change my mind.
Learning Angular:I really can't say that I know Angular that well, as I write it is only 7 days since I first dug into it.
Here is what I did to get up to speed:
- First I read Marky Roden's blog series, which inspired me to dig deeper.
- I next turned to one of favorite resources, lynda.com and watched the course "Up and Running with Angular.JS" by Ray Villalobos. Ray is one of the my favorite instructors on lynda.com and has a great website with the most awesome URL for a web developer - iviewsource.com
- After I finished the course, I read Marky's blog post again, as well as those from Mark Barton and Jeff Byrd