symfony - symfony2 + javascript framework -
my quick question is, should begin using javascript framework @ same time build project symfony or can later without major troubles?
i have small project of 1 page app written in flat php , jquery. i'm trying port project symfony , use javascript framework too. after 1 month of learning symfony think begin understand how works, have mess in head javascript frameworks available. think better focus attention symfony , once understand how works try use framework javascript.
but i'm afraid of using javascript framework implies changing lot of symfony code , twig templates. right now, i'm using repositories , services data controller , return javascript in json format. understand shouldn't change (at least part data) read articles of people using bundles fosrestbundle , jmsserializerbundle return data , using templates javascript mustache render it, i'm little confused , don't know if big change or if needed between symfony , javacript framework.
edit:
when javascript framework i'm talking combination of backbone + chaplin or marionette, example. think jquery library, not framework, , backbone needs jquery work.
i'm not getting you. if want convert flat js js framework in future, why don't use on? experience, it's not easy work convert js(jquery way) real backbone way. because need reconstruct of js code, symfony code.
though it's harder use 2 new kind of technologies you, think should try it.
Comments
Post a Comment