Towards the enterprise

Despite possible roadblocks, Laravel will continue to be a strong option in the future of enterprise. PHP 7 is going to be very fast, and frameworks such as Zend Framework 3 have already announced PHP 7 optimization in their road map. Also, by using the FastCGI Process Manager (FPM), NGINX web server, and allowing PHP's caching mechanisms to work properly, application scalability will continue to become more accepted in the enterprise space as its renaissance continues and new developers contribute to its core.

In this chapter, you will learn how to allow Laravel to perform better in the enterprise setting where scalability issues are paramount. First, router caching will be discussed. Then, you will learn about the many tools, techniques, and even new microframeworks that are being developed with scalability at the forefront. Specifically, we will discuss an official microframework derived from Laravel, Lumen. Finally, you will learn how to use the database efficiently through a technique called read and write.

In terms of the size of the code base, Laravel has one of the smallest code bases as compared to Zend or Symfony, although it does use some Symfony components. As mentioned in previous chapters, different packages were removed to lighten up the footprint, taking cues from Symfony's component-based ideology. For example, the HTML, SSH, and annotations packages are no longer included by default.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset