Angular directives and binding are actually more powerful than Django's templating!
On Sun, Jun 22, 2014 at 11:29 AM, Doug Snyder <[email protected]> wrote: > compared to other js webapp solutions like Ember or Knockout, > Angular is more powerful but maybe a steaper learning curve. > It lets you get really under the hood and has a unique feature called > directives where you're essentially creating html tags to use as widgets. > Its state of the art and Google folks aren't afraid of getting into the > pudding. > As people write more and more reuseable directives to share around, > its going to become more and more powerful. > > > > On Sun, Jun 22, 2014 at 11:25 AM, Doug Snyder <[email protected]> > wrote: > >> be sure to check out: django-angular >> <http://django-angular.readthedocs.org/en/latest/index.html> >> >> I'm just starting to use angular and django together. >> I plan on using django's integration with Content Delivery Networks to >> serve static files including the Angular app files >> ( AngularJS itself can already be served with content delivery just by >> using the URL google provides: >> http://blog.angularjs.org/2012/07/angularjs-now-hosted-on-google-cdn.html >> but also image files that require fast response time. >> Django has nice tools to preprocess static files using the >> >> django-compressor <http://django-compressor.readthedocs.org/en/latest/> >> >> Things like 3rd party logins are basically solved and modularized into >> prepackaged apps: >> django-social-auth <http://django-social-auth.readthedocs.org/en/latest/> >> >> >> I also use python libraries that aren't associated with django, >> there's really not much that ISN'T written in python these days. >> I am able to get nice packages to access Web API. >> >> I'm using GIS data in one of my projects and django makes it really easy >> with: >> GeoDjango <https://docs.djangoproject.com/en/dev/ref/contrib/gis/> >> >> >> which pulls together many ongoing GIS packages all into one simple, >> extensible interface that fits right into django. >> So I guess there's a lot of reasons to use django with Angular, but it >> depends on what you are trying to do. >> Moving stuff to the front end does make the back end less important, but >> you still need a backend unless you can really >> do what you need to with solutions that basically amount to having your >> Angular app have all the functionality and having >> storage in a cloud db. >> I've also thought of using Flask, another python web dev platform. Its >> supposed to be lighter weight than django, >> but lighter on functionality and conveniences and an active developer >> network. If I wasn't using any python awesomeness, >> maybe a Flask backend would improve server performance, but everything >> I'm working on can benefit from django so I >> haven't taken the time to learn Flask. >> >> Hope this helps. >> Django and AngularJS are two scoops of webdev icecream with sparkles. >> Hope you enjoy. >> >> Doug >> >> On Sun, Jun 22, 2014 at 8:43 AM, Glen Jungels <[email protected]> >> wrote: >> >>> When I am finally able to get django to work, I plan on doing this. I >>> think the client side processing of Angular will be a nice complement to >>> Django on the back end. >>> On Jun 22, 2014 5:12 AM, "zweb" <[email protected]> wrote: >>> >>>> >>>> I was looking at Angular and looks like it does many of the thing >>>> Django Templates does but on the client side. >>>> >>>> Are you using Angular with Django? How is the experience? What are the >>>> /pros/cons? What are using django for and what are you using angular for? >>>> Is django pretty much a rest framework with business logic and DB >>>> access? (when used with Angular) >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Django users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/django-users. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/django-users/54c6aeed-4bd5-4fe9-975f-21defd3481ce%40googlegroups.com >>>> <https://groups.google.com/d/msgid/django-users/54c6aeed-4bd5-4fe9-975f-21defd3481ce%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/django-users. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/CAA_%3DsbST%2Bt-ncOkN5WECJRfSvrZoKay96bHbcN09JmXZiSg-EA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-users/CAA_%3DsbST%2Bt-ncOkN5WECJRfSvrZoKay96bHbcN09JmXZiSg-EA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAo39dYJkPx_S9-7n-rSVX0Y3%3D5WDRVqwxMGPu0-T_gg7JeM4g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

