Empirical Study of Most Popular PHP Framework
Empirical Study of Most Popular PHP Framework
Hamza Abutaleb,
Abdelfatah Tamimi and,
Thamer Alrawashdeh
Al-Zaytoonah university of Jordan
2021 International Conference on Information Technology (ICIT) | 978-1-6654-2870-5/21/$31.00 ©2021 IEEE | DOI: 10.1109/ICIT52682.2021.9491679
Amman, Jordan
Faculty of Science and Information
Technology Department of Software
Engineering
Abstract— There have been several PHP frameworks depending on the actions of each layer to solve this
for developers to pick from in the latest years. Developers issue.
face problems choosing the most relevant frameworks Developers use different patterns to lay out their
and appropriate support functions to include in their projects to make the code less complex and easier to
project. For this reason, a clear understanding of the
various frameworks is now becoming an important
work with .by far the most popular of these patterns is
necessity for web developers. In this paper, we collected MVC also known as Model View, Controller. The main
several research papers talking about different PHP goal of this pattern is to split a large app into specific
frameworks, and we compared them with each other in sections that all have their own purpose to illustrate
several ways which are: Request per second, Memory each section.
usage, Response time and, Number of files using several PHP frameworks are based on a Model, View, and
PHP frameworks: Laravel, CakePHP, Codeigniter, Controller (MVC). The architecture pattern of MVC is a
symfony2, Phalcon, Symfony, and Yii. the Laravel successful way of designing applications such as
outperforms other MVC framework in request per second,
CakePHP, Codeigniter, Laravel, Symfony, Yii,
memory usage. On the other hand, phalcon outperforms
other MVC frameworks in response time and number of
etc., The key MVC methods are to partition a program
files. into a different layer that can run independently and
achieve the same outcome.
Keywords— Codeigniter, CakePHP, Laravel, MVC, Today, millions of websites that can be considered
PHP Framework, Phalcon, Performance, Symfony, web applications exist. When developing a web
Symfony2, Yii. application, following a design pattern can make a big
difference. MVC, short for Model-View-Controller is a
I. INTRODUCTION popular design pattern that is used by many
Over the past year’s websites have gone from simple frameworks for web development. When developing
HTML pages with a bit of CSS to incredibly complex web applications, choosing the right framework is
applications with thousands of developers working on important. [1]
them to make these complex web-app much easier. In the choice of the best PHP framework remains an
today's IT industry, web developers must be familiar issue, and developers need to learn how to select the
with and knowledgeable about at least one framework. most suitable PHP framework with the best support
PHP is a common language for general-purpose features to be used in their project. In this paper, we
scripting that is particularly suitable for web compare different MVC framework that we collected
development. From your blog to the most famous from many research paper all the researchers
websites in the world, PHP powers all easily, flexibly, compared the frameworks with different criteria, and
and pragmatically. PHP, a web scripting framework that we collected similar comparisons between the
allows for dynamic website design such as intuitive, research papers as shown in the table 1 and
quick compilation, cross-platform, open-source, compared them in terms of Request per second,
flexibility, and minimal configuration needed. In the Web Memory usage, Response time and, Number of files.
environment, PHP is one of the most powerful
programming languages. Many developers prefer to Section 2 of this paper illustrates MVC Architectural
deploy PHP-based frameworks that bring all the pattern and Section 3 examines PHP Framework.
problems together such as data access, business logic, Section 4 describes Evaluation of the performance,
and data representation layer. This in fact creates SECTION 5 figure of the test and finally, the
problems with development, especially for big projects. conclusions presented in Section 6.
However, The MVC architecture pattern offers an easy
way to divide code into layers from each other
609
Authorized licensed use limited to: UNIVERSIDADE DE SAO PAULO. Downloaded on July 24,2024 at 18:52:42 UTC from IEEE Xplore. Restrictions apply.
2021 International Conference on Information Technology (ICIT)
610
Authorized licensed use limited to: UNIVERSIDADE DE SAO PAULO. Downloaded on July 24,2024 at 18:52:42 UTC from IEEE Xplore. Restrictions apply.
2021 International Conference on Information Technology (ICIT)
2500 [2] Z. Hui, Z Hoa and C. Qijun, “The Research of Dynamic Statistics
1711.57 Chart Based on MVC Design Pattern,” International Conference
2000 1586 on System Science ang Engineering (ICSSE), Shanghai, China,
1500 2014.
1000 752.55 [3] N. Wang, L. Li, Y. Wang, Y. B. Wang and J. Wang, “Research
518 530 on the Web Information System Development Platform Based
500 on MVC Design Pattern,” International Conference on Web
0 Intelligence and Intelligent Agent Technology, 2008.
[4] H. Shu-qiang and Z. Huan-ming, “Research on Improved MVC
Design Pattern Based on Struts and XSL,” International
Symposium on Information Science and Engieering, 2008.T.
Wang and L. Jiang, “Research on IETM Publishing System
Based on MVC Pattern,” WASE International Conference on
FIGURE 4. Memory Usage among PHP framework Information Engineering, 2010.
[5] MIT License - Wikipedia
[6] https://codeigniter.com/
VI. CONCLUSION [7] https://laravel.com/
[8] https://docs.phalcon.io/
[9] https://symfony.com/
The pattern MVC-based PHP framework has [10] https://www.yiiframework.com/
achieved the separation of user experience and [11] Olanrewaju, Rashidah & Islam, Thouhedul & Ali, Norashikin.
business logic for the creation of web applications, (2015). An Empirical Study of the Evolution of PHP MVC
offering simple methods and clarification of architecture Framework. 10.1007/978-3-319-07674-4_40.
and structure execution. PHP frameworks have always [12] Majida Laaziri, Khaoula Benmoussa, Samira Khoulji, Mohamed
been the default option for developers to build complex Larbi Kerkeb(2019), A Comparative study of PHP frameworks
performance,10.1016/j.promfg.2019.02.295.
web applications, particularly large open-source
[13] Latif, U., & Kusumasari, T. (2018,). COMPARISON BETWEEN
projects. YII FRAMEWORKS AND LARAVEL IN 3 DIFFERENT
An Empirical Study of the Most Popular MVC pattern for VERSION FOR VIEWING LARGE DATA OF SHIPYARD
PHP Frameworks has been evaluated in this paper, INDUSTRY IN INDONESIA. 10.25124/ijies.v2i01.12
choosing the most relevant frameworks and appropriate [14] Natalya Prokofyeva, Victoria Boltunova (2017), Analysis and
support functions to include in their project is a problem Practical Application of PHP Frameworks in Development of
Web Information Systems, 10.1016/j.procs.2017.01.059
611
Authorized licensed use limited to: UNIVERSIDADE DE SAO PAULO. Downloaded on July 24,2024 at 18:52:42 UTC from IEEE Xplore. Restrictions apply.