-
Notifications
You must be signed in to change notification settings - Fork 2
PHP Framework Laravel Portal
We need a to implement a UI Portal to demonstrate Load Balancing and Caching mechanisms.
Options | Source |
---|---|
Laravel Framework | laravel.com |
Django Framework | djangoproject.com |
Laravel is an open source PHP web framework used for the development of web applications following the MVC or model–view–controller architectural pattern.
- Routing: Easy to use approach to routing especially for the beginners. It brings more flexibility and control over which route in triggered on the application
- Unit Testing: It considers hundred runs of tests so that the new changes don’t break anything suddenly. It is one of the most stable releases in the market.
- View Composer: Block of codes that can be run when a view is loaded.
- Application logic: It can be implemented within any application either using controllers or directly into route declarations using syntax similar to the Sinatra framework.
- Automatic Pagination: It prevents application logic from being cluttered up with a bunch of pagination configuration.
Django is an open source, high-level Python Web framework that encourages rapid development and clean, pragmatic design.
- Ridiculously fast: Django was designed to help developers take applications from concept to completion as quickly as possible.
- Fully loaded: Django includes dozens of extras you can use to handle common Web development tasks. Django takes care of user authentication, content administration, site maps, RSS feeds, and many more tasks — right out of the box.
- Reassuringly secure: Django takes security seriously and helps developers avoid many common security mistakes, such as SQL injection, cross-site scripting, cross-site request forgery and clickjacking. Its user authentication system provides a secure way to manage user accounts and passwords.
- Exceedingly scalable: Some of the busiest sites on the planet use Django’s ability to quickly and flexibly scale to meet the heaviest traffic demands.
- Incredibly versatile: Companies, organizations and governments have used Django to build all sorts of things — from content management systems to social networks to scientific computing platforms.
As we were asked to implement multiple PHP portals on each server, we have deployed 3 Laravel Portals on each of the spot instances. The portals are Dockerized and register themselves with HAProxy and Consul for load balancing.
For further experimentation, we would be replacing the Laravel Portals with Django Portals just to make sure that it does not break any of the load balancing or caching features of the distributed system.