Basically, I'm a PHP Developer by profession. I only have an experience of developing websites using PHP. I have no more experience of creating mobile apps.
My organisation wants to build a website(using PHP) as well as mobile apps(in Android and iOS) to create a social network presence for some community that will exactly resemble the functioning of Facebook website and Facebook app.
But I'm not getting Where to start? How to start? What approach I should follow? How to make use of PHP for all this stuff?
I want to know how does the Facebook website and Facebook app work together in sync? I want to know what's the phenomenon, system architecture, principle, design patterns, technology and other things are working behind it?
I use Facebook website on my laptop and Facebook app from my Android Smartphone.
Whenever I receive any notification on Facebook, it get notified almost at the same moment on Facebook website as well as Facebook app.
Also, whenever I update my status or do any activity like reacting or commenting on a post, adding group update, adding event update, etc. from Facebook website it gets reflected immediately into the Facebook app as well and it happens in a vice-a-versa fashion. This happens very smoothly too.
As per my understanding, the Facebook website and Facebook app must be using the same database to store and access data but I'm still not getting how they work together in sync as the code base of Facebook website and Facebook app are entirely different things in nature? Also, the way of execution of Facebook website and Facebook app are two entirely different things.
The Facebook apps have been built using different technologies(like Android, iOS, Windows Phone, Blackberry, etc.) and the Facebook website has been built using PHP and all other stuff but still they work together in sync.
What's the phenomenon behind working of different technologies together in sync with each other?
And I've observed the same thing with various websites and apps like Gmail, LinkedIn, etc. Do they also work on same phenomenon like Facebook works?
Please guide me in proper direction regarding this. What and how should be my approach towards this project as a PHP developer?
Thanks.