Re: [UtahJS] Why AngularJS or other js framework VS backend

130 views
Skip to first unread message

Sean Hess

unread,
Mar 19, 2013, 5:53:53 PM3/19/13
to uta...@googlegroups.com, uta...@googlegroups.com

You would only do it if you want the interactivity and responsiveness that front end applications provide.Server side rendering is simpler if you don't need any ajax goodness.


For one simple example, a front end application only has to download the user template once, then each time you click on another user, it only hits the network for the user data, rendering the same cached template client side. 

There are lots of other reasons why client side applications are "cooler" than serverside ones, but you are right about them being a more complicated. 



Sent from Mailbox for iPhone


On Tue, Mar 19, 2013 at 3:50 PM, James Lance <ja...@thelances.net> wrote:

I'm really interested in AngularJS.  I've read quite a bit of the docs and
howto's.  It all looks super cool.

The biggest hitch in my mind is why use the frontend JS frameworks at all
when there are so many backend frameworks that work really well.  Django is
one example.

I'm not trying to throw dirt or anything, but I'd like to know why you all
like angular (or backbone, etc).  What does it give you that
django/cake/catalyst whatever doesn't?

It also seems like angularjs et al don't really reduce the need for the
backend frameworks, so really you just end up writing more code, not less.

Thanks!

-James

--
Group meets on the 1st Thursday and 3rd Tuesday of each month. See http://utahjs.com/location/ for more info.
---
You received this message because you are subscribed to the Google Groups "Utah JavaScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to utahjs+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/utahjs?hl=en-US.
 
 

Randall Bennett

unread,
Mar 19, 2013, 5:55:24 PM3/19/13
to uta...@googlegroups.com
Hey James!

Briefly: Frontend frameworks make it so your app is slick / modern / responsive. A local 'click' that doesn't have to hit a server will always be more performant than one that relies on a roundtrip.

That's the basic part of it. Any modern webapp (gmail, google maps, etc.) all are using frameworks like Angular, but they're ones that really smart developers developed on their own. Angular + Ember are trickle down examples of javascript frameworks for making single-page responsive apps.

Make sense? Thanks for posting!
rb

Dave Smith

unread,
Mar 19, 2013, 5:57:44 PM3/19/13
to uta...@googlegroups.com
I agree with what everyone else has said. In a nutshell: are you building a bunch of web pages, or are you building a web application? If you're building a web application, AngularJS is your friend. If you're just building a bunch of web pages, Django is your friend.

--Dave

Brandon Martin

unread,
Mar 19, 2013, 6:14:57 PM3/19/13
to uta...@googlegroups.com
Is this going to be recorded by chance? I can't make it tonight :(

Reply all
Reply to author
Forward
0 new messages