These are the best tips for developing large application in PHP:
1.Identifying common functionality across an entire range of a corporation’s applications and breaking it out into a separate modular application, accessed via an API (application pro- gramming interface), means that the servers that serve the main application have to do less work. The common code is pulled into a central location and then consumed by each application that needs to use it. This means much less duplication of development effort and a reduced maintenance burden throughout the application lifetime. Of course our applications must always live and grow alongside our changing business needs, and using APIs for modular design makes this easier with a central point for code rather than duplication in multiple systems or locations.
2. Using RESTful architecture instead of web service model (SOA).
3.Using JSON for data transfer instead of XML (which results in less bytes to be transfered).
4. Network and hardware topics like load balancing, or tier architecture(which obliviously aws will manage).
5. We can use caching like memchache(facebook uses) or redis.
6. I gone through how we can do parallel process in php.Like queues and workers (using rabbitmq for example) and cron jobs to do scheduled tasks.
7. As i told three layer architecture is one of the popular architecture that we can use.
8. Coming to technologies for the back end i would like to prefer either cakephp 3 or laravel.
This are the few urls i found interesting while researching:
https://www.mullie.eu/parallel-processing-multi-tasking-php/
https://www.quora.com/What-is-Facebooks-architecture-6
http://royal.pingdom.com/2010/06/18/the-software-behind-facebook/
http://highscalability.com/blog/2013/12/16/22-recommendations-for-building-effective-high-traffic-web-s.html
https://inviqa.com/blog/horizontally-scalable-web-applications
https://www.youtube.com/watch?v=yeyugGZO2qc
http://www.cs.toronto.edu/~mashiyat/csc309/Lectures/Web%20App%20Architectures.pdf
https://cloud.google.com/solutions/scalable-and-resilient-apps#bootstrapping_software_installation
Howdy! I just wish to offer you a huge thumbs up for your excellent information you've got right here on this post. I will be coming back to your blog for more soon. yahoo sign in
ReplyDeleteThanks
ReplyDelete