CORE PHP ТА PHP ФРЕЙМВОРКИ: ПОРІВНЯЛЬНИЙ АНАЛІЗ ДВОХ ПІДХОДІВ ДО РОЗРОБКИ СЕРВЕРНИХ ДОДАТКІВ
Мар’ян Остапович Слабінога · Transactions of Kremenchuk Mykhailo Ostrohradskyi National University · 2022
The purpose of this paper is to compare two approaches of backend development using the PHP programming language -Core PHP and PHP frameworks.Both approaches are popular, but, as in every other language, using frameworks saves developer time and allows him not to implement routine connected with the trivial operations.Still, when we are talking about performance and "weight" of the web-application, we can say that using frameworks often includes a lot of redundant and unnecessary code from packages that are used, and a lot of web-developers don't control that.As a result, the developed web-applications become heavier and consume more resources of server systems.Moreover, frameworks approach is often used for very simple applications that can be easily implemented using Core PHP and based on a few files of code.This creates unnecessarily large projects solving the small and simple tasks.The aim of this paper is to highlight the advantages and disadvantages of PHP web development using Core PHP and PHP frameworks.The security and performance are investigated mostly, but some smaller things are taken into account as well.The recommendations on using both approaches are given to provide most effective combination of development experience and performance.As the result of comparison analysis, the framework-like MVC application architecture is proposed to build tiny lightweight web applications for custom tasks (in our case, the vocabulary website).The structure of the application is provided and key development things are highlighted (using Core PHP).The perspectives of modification for solving trivial problems like RESTful backend app or bearer token authentication are discussed.
Cited by 0 works. doi:10.32782/1995-0519.2022.1.16 Open-access PDF