Skip to content Skip to sidebar Skip to footer

Creating Mobile App In Symfony2

I read that there is an option to create a mobile app in symfony2 and I don't really understand how to create it. As much as I do understand the concepct of emulating HTML5 to nati

Solution 1:

No questions are dumb when it's asked in real sense :)

Web App is different from Mobile App.

Symfony is a PHP framework and its no where realted to Phonegap/Cordova. PhoneGap/Cordova uses HTML, CSS and some javascript. You can use some PHP for some backend services but not for the app itself.

So my final point would be you can not use Symfony to create a phonegap app.

Solution 2:

IMHO, symfony provides a solid framework for HTTP and restful API through which jQuery mobile can be configured and then if you extend TWIG for a template, then Symfony acts as the bundler and composer through with routing can take place. While Symfony does not run native apps, they need to retrieve and store data and on that front a framework such as Symfony works well. So one could argue that one could use APIs for multiple clients (iOS, Android and more) and then reuse controllers and use formats to generate XML/JSON thus theoretically it should work with Phonegap too.

Post a Comment for "Creating Mobile App In Symfony2"