I'm a Web Developer(PHP Developer) by profession. So, I'm asking this question from web developer's point of view and expecting the answer with the same perspective.

There is one running social website developed in PHPfox(a social networking platform created in php)

Now I've received a requirement from the client to develop Android and iOS apps just like Facebook mobile app based on this website means the app should also resemble the website's functionality. So, in turn these projected apps will be going to access the same MySQL database which the website is currently using. The main objective is the website and these apps should work in sync just like Facebook website and Facebook mobile app.

So, my question is what should be the step-by-step, right, the best and optimum approach in this kind of scenario?

On website they have used MVC pattern of development and they have used Twig as a template engine to display the webpages which should not be the case in mobile apps.

The mobile teams(iOS and Android) teams are working on the UI design of the app. But what should be my role I'm not clear about it. Please explain me the correct step-by-step approach from web developer's perspective.

Thanks.

1

There are 1 best solutions below

4
On BEST ANSWER

Well the best way to do this is to have native mobile apps, one version for Android and one version for IOS. Your role would be to create a webservice that can access your database and enable the mobile app developers to call on certain urls (which would be functions in that webservice) that would reply with data presented in JSON.

So start out by thinking of the functions that they would need, how would they call it, what arguments would they pass and how would they receive the data.