VIRTUAL DAN

VIRTUAL DAN

Notes from my travels around the internet

VIRTUAL DAN
  • My Pacific Northwest Solar
  • About

My Experience With AngularJS

  • Technology

For the last few months, I have been tinkering with AngularJS, Google’s javascript framework for web applications.  Perhaps the best chart I have seen to sum up my feelings about Angular was a chart Ben Nadel posted on his blog:

 

feelings_about_angularjs_over_time

 

I am probably somewhere in the bottom left of that chart – but overall its pretty cool.  AngularJS is the first client site web library that I have used that feels like a framework – JQuery feels like just a bunch of utilities to be used (or misused) at your leisure.  AngularJS requires you to think like Angular, and thus conform to the framework.

I am primarily a server side web developer – with a long disdain for javascript development.  But I have to admit it doesn’t make sense to have the webserver always bind html templates with data and send it pre-rendered to the web browser.  Perhaps the client server vision from the 1980’s (when the argument was to offload processing from the mainframe) never died in me,  and that servers should just send data to the client and let a fat client assemble the webpage.

So I have forgone refining my knowedge of Razor, and at this point plan to focus on assembling more templates on the client.  That’s what led me to AngularJS.

As the chart above shows, there are times where Angular has you ripping your hair out.  And there are several posts out there (see this and this) discussing valid points about problems with Angular.   But I plan to approach this in moderation.   Most of the issues I see out there is using Angular to build Single Page Applications – going whole hog into a client-centric app.  For me its way to early to go there, but using AngularJS as the basis for generating data lists and basic input forms – I think that’s ready for primetime.

Angular makes it very easy to bind on the client data pulled from the server, and building forms using Angular is the way to go once you kind of get past some of the hurdles.  I am treating AngularJS kind of like Microsoft Access – as long as you follow the rules you can build really quick apps – but if you try to get fancy that’s when the hair pulling begins.  I recall in the 90’s many of the Microsoft Access tips involved calling Windows API’s to do certain thing – and to me that was a sign that your solution was probably wrong or you should switch applications.  That’s how I feel about Angular – as soon as I have to start writing fancy or nested directives – its back to the server and the warm fuzziness of Razor.

Rumor has it lots of changes are coming in AngularJS 2.0, another reason not to get to fancy with it.  But if you are building simple web CRUD applications, start tinkering with AngularJS.

March 20, 2015 Dan

Post navigation

Does Solar Make Sense In the Seattle Area? → ← Dining In vs. Dining Out

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Archives

  • February 2021 (1)
  • January 2021 (1)
  • December 2020 (2)
  • November 2020 (2)
  • October 2020 (2)
  • September 2020 (2)
  • August 2020 (2)
  • July 2020 (2)
  • June 2020 (2)
  • May 2020 (2)
  • April 2020 (2)
  • March 2020 (2)
  • February 2020 (2)
  • January 2020 (3)
  • December 2019 (2)
  • November 2019 (2)
  • October 2019 (2)
  • September 2019 (1)
  • August 2019 (2)
  • July 2019 (2)
  • June 2019 (1)
  • May 2019 (3)
  • April 2019 (2)
  • March 2019 (2)
  • February 2019 (2)
  • January 2019 (3)
  • December 2018 (2)
  • November 2018 (2)
  • October 2018 (2)
  • September 2018 (2)
  • August 2018 (2)
  • July 2018 (2)
  • June 2018 (2)
  • May 2018 (2)
  • April 2018 (2)
  • March 2018 (2)
  • February 2018 (1)
  • January 2018 (3)
  • December 2017 (2)
  • November 2017 (2)
  • October 2017 (2)
  • September 2017 (2)
  • August 2017 (2)
  • July 2017 (2)
  • June 2017 (3)
  • May 2017 (2)
  • April 2017 (1)
  • March 2017 (3)
  • February 2017 (3)
  • January 2017 (2)
  • December 2016 (2)
  • November 2016 (3)
  • October 2016 (2)
  • September 2016 (2)
  • August 2016 (2)
  • July 2016 (2)
  • June 2016 (2)
  • May 2016 (2)
  • April 2016 (2)
  • March 2016 (2)
  • February 2016 (3)
  • January 2016 (4)
  • December 2015 (2)
  • November 2015 (2)
  • October 2015 (3)
  • September 2015 (3)
  • August 2015 (2)
  • July 2015 (4)
  • June 2015 (2)
  • May 2015 (4)
  • April 2015 (3)
  • March 2015 (4)
  • February 2015 (4)
  • January 2015 (4)
  • December 2014 (5)
  • November 2014 (3)
  • October 2014 (5)
  • September 2014 (3)
  • August 2014 (5)
  • July 2014 (4)
  • June 2014 (4)
  • May 2014 (3)
  • April 2014 (3)
  • March 2014 (5)
  • February 2014 (2)
  • January 2014 (5)
  • December 2013 (4)
  • November 2013 (6)
  • October 2013 (3)
  • September 2013 (3)
  • August 2013 (4)
  • July 2013 (3)
  • June 2013 (3)
  • May 2013 (5)
  • April 2013 (2)
  • March 2013 (6)
  • February 2013 (6)
  • January 2013 (5)
  • December 2012 (5)
  • November 2012 (4)
  • October 2012 (3)
  • September 2012 (4)
  • August 2012 (3)
  • July 2012 (3)
  • June 2012 (2)
  • May 2012 (3)
  • March 2012 (3)
  • February 2012 (2)
  • January 2012 (1)
  • December 2011 (3)
  • November 2011 (3)
  • October 2011 (2)
  • September 2011 (2)
  • August 2011 (3)
  • July 2011 (4)
  • June 2011 (4)
  • May 2011 (3)
  • April 2011 (6)
  • March 2011 (8)
WEBSITE DISCLAIMER: The operator of this site (Vertical Financial Systems, Inc) are not registered investment advisers, broker/dealers, or research analysts/organizations. The content on this website is issued solely for information purposes and should not to be construed as an offer to buy, sell, or trade in any way, any security mentioned herein. All information presented on this website is believed to be reliable and written in good faith, but no representation or warranty, expressed or implied is made as to their accuracy, completeness or correctness. You are responsible for doing your own research before investing in any securities mentioned herein. Readers are urged to consult with their own independent financial advisors with respect to any investment. Neither Vertical Financial Systems, Inc, nor its officers or employees accept any liability whatsoever for any direct or consequential loss arising from any use of information on this website.
Full Disclosure: As an Amazon Associate I earn from qualifying purchases
Powered by WordPress | theme SG Simple