4 ms·
yes! this is exactly what I'm doing with Angular. I'm working with django on the server and have been able to thin out my server dramatically. It is now providi
by metaphorm 13y ago
yes! this is exactly what I'm doing with Angular. I'm working with django on the server and have been able to thin out my server dramatically. It is now providing a RESTful api and doing some minimal business logic but I have been able to shrink my server side template rendering down to nearly nothing (just the bootstrap template served to the landing page). Angular is handling ALOT of display logic and user interaction logic that previously was handled server side.
- auvrw 13y agoare you using tastypie, the django rest api, or just writing views from scratch? what do you think is proper level of integration between a rest api module for django (or more generally a server-side library) and a client-side model layer such as anglar's or backbone's? and where do you place those boundaries, particularly when your rest api might be used by more than one type of client? in any case, yeah, one way or another, serve static files & expose a rest api. this is the way forward. i'm excited too, just not exclamation point excited. or, well... fine: !