I am using Cakephp 2 as a backend for a cafe shop mobile application. I would like to use Sencha as the mobile framework.
I have the following questions:
Should I be building the frontend within the CakePHP framework as layouts/views or should I use CakePHP to create a RESTful webservice in order to access my data?
Can a complete cake application be wrapper using phonegap?
Thanks.
I would recommend building your mobile application separately from your Cake app. Like you mentioned, I would go with building a RESTful web service to provide your data. I would recommend using JSON, but that's your decision.
Cake provides built in support for building RESTful web services, but you probably knew this. :) http://book.cakephp.org/2.0/en/development/rest.html
A Cake application cannot be wrapped up inside PhoneGap since it needs to be run on a web server (Apache, IIS, etc)
There is also a framework which does a lot of work for you, it's specifically to integrate CakePHP with Sencha Touch http://banchaproject.org
Related
I am trying to build for website so I need to know that.what is progressive web app? and all devices or only moniter.
Progressive web apps are web apps that can look and act like native apps.
django-progressive-web-app may be a good place to start your research about using Django for your project. I've never used it myself, but it looks promising.
I am working on my Django project which is going to be a Web App and REST Api for the mobile app.
I am using Django Rest Framework to build the API for the mobile app and it is going pretty good. I like it. For this part, I have a separate app within my Django project. Let's call it 'api'.
What I also want to do, is a web app. Let's call it 'webapp' in my Django project. So basically, web version of the mobile app, with a few different functionalities (e.g. different user/account management) for a slightly different part of the audience. Obviously, the majority of the models that I need, as well as logic are already there in the 'api' app. Also, I want to use Angularjs for the front end of the web app.
My question is what is the best path to take here? Should I create a separate app for my web app and copy the majority of views.py logic, which again will reference models and serializers from the 'api' app in the project? Or should I adjust my existing 'api' app to handle requests from both mobile phones and web app? Thank you.
You can follow link. I also follow that link when started angularjs, django and django-reset-framework.
I wanted to build a maven based project based on google app engine which uses RESTful web services. So is angularJS really required in this type of project or can it be achieved without it also?
No, AngularJS is not required. While it provides a $resource module that works with RESTful web services, you can use other front-end tools as well. For example, smartphone apps written in their native languages can use RESTful services.
i want to know what is the best backend (database) for a jquery mobile web app and if you have any tutorials and tips that i could use? What is the best database to support a jquery mobile web app?
Thanks
Backends for mobile apps is a completely different concept altogether when it comes to the context of market. There's a new revolution of mBaaS providers - mobile Backend as a Service. Instead of having your own backend, writing your own web services and exposing them to your app, I would suggest trying a mBaaS, unless the situation is demanding to go by the traditional ways.
My project has a website (frontend) and an admin (backend).
I would like to do the whole project (front/back-end) with GWT, but I have some reason to have my website running without javascript.
These reasons are :
portability on mobile phone.
a best practice recommend to have a website running without js.
So I can t do the website with GWT...and I also need a MVC, internationalization...and other stuff existing in a classical web framework. I will develop my application on google app engine.
Does it make sense to use 2 frameworks (GWT for the admin and Spring MVC for the website) ?
Thanks you,
It is not uncommon to use different tools and frameworks for internal admin tools and external websites. In many places I have worked admin tools have been desktop based because they are quicker to develop.
so, if it works for you, go for it!