title: Mvc Front-end and Mvc Back-end: wrong architecture?
body: <p>I am building a web-application that will be a twitter style one-page app, possibly <strong><em>with</em></strong> user authentication. 80% of the interactions happen in the front-end with JavaScript, and with the help of a backend who answers providing data from the db... </p>
  
  <p>Until now my thought was to use Symfony2, plus an MVC framework for the front-end like Backbone or Ember (prefer Ember as it seems more documented and in general more organized and easier). </p>
  
  <p>While I was getting into learning Symfony2, it came to my attention that many of the things that Symfony2 offers are of no use for my app. I don't really need its' views as views are going to be templated with Javascript, and I don't really need it's routers either as that will be also handled with states with JS on the front-end.. </p>
  
  <p>Symfony2 will only be used as a JSON-responding mechanism, I guess doctrine also helps someone who's not primarily a back-end guy to do the queries easily, and of course for the Authentication. I guess FORMS are also handled by JavaScript.</p>
  
  <p>I've seen lots of other questions regarding Symfony2 and backbone, RESTful, etc. There are many different answers, some say you need a Bundle to create RESTful APIs (why?) - others say you need Bundle for the complete Integration of Backbone/Symfony2, others say you just need to query JSON data with Symfony2 and Serialize them and send them back, so nothing special.. </p>
  
  <p>So my question is: Seems like Symfony2 is an overkill for this kind of APP. But considering this is an opportunity-to-learn project, is it really a problem? (performance-wise, or not playing well with the Front-End). And the subquestion to that is, can you provide of any working example on Symfony2 integrated with an one-page web-app? I've seen different elements, but nothing as a whole so I can know what am I trying to achieve code-wise.</p>