model view controller - Mvc Front-end and Mvc Back-end: wrong architecture? -



model view controller - Mvc Front-end and Mvc Back-end: wrong architecture? -

i building web-application twitter style one-page app, perchance with user authentication. 80% of interactions happen in front-end javascript, , help of backend answers providing info db...

until thought utilize symfony2, plus mvc framework front-end backbone or ember (prefer ember seems more documented , in general more organized , easier).

while getting learning symfony2, came attending many of things symfony2 offers of no utilize app. don't need its' views views going templated javascript, , don't need it's routers either handled states js on front-end..

symfony2 used json-responding mechanism, guess doctrine helps who's not back-end guy queries easily, , of course of study authentication. guess forms handled javascript.

i've seen lots of other questions regarding symfony2 , backbone, restful, etc. there many different answers, need bundle create restful apis (why?) - others need bundle finish integration of backbone/symfony2, others need query json info symfony2 , serialize them , send them back, nil special..

so question is: seems symfony2 overkill kind of app. considering opportunity-to-learn project, problem? (performance-wise, or not playing front-end). , subquestion is, can provide of working illustration on symfony2 integrated one-page web-app? i've seen different elements, nil whole can know trying accomplish code-wise.

i don't know symphony2 sounds lot ember+rails projects. these apps utilize little of rails framework. 1 create case lighter framework improve fit shouldn't problem. more of import lift take on part larn 2 new frameworks @ once. if going w ember start building mvp uses ember fixture-adapter has no backend @ all. 1 time you've got working can plug in whatever framework makes sense. fire ember.js peepcode shows how build app way.

model-view-controller symfony2 backbone.js ember.js

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -