PHP provides a framework that aims to accelerate the process of developing a website. Today, there are many object oriented programming based framework that uses full-stack model design to MVC (Model View Controller) design. The use of these designs, especially MVC design, is to provide ease in web application development. Writing the code is becoming more systematic and reusable. In addition, the use of framework greatly helps programmers in the development of large-scale applications that involve a lot of people in it. With the framework, the code will be organized so that it can be easily understood by other programmers. There are many choices of use framework. Among them, there is Zend framework which is devoted to enterprise scale. However, this framework is rarely used because it is less popular compared with CodeIgniter and Yii framework. CodeIgniter is quite mild and can run faster than other frameworks. But the drawback is the absence of features ORM (Object Relational Mapping), so that it becomes more complicated when used in large applications. While the Yii framework has better features than CodeIgniter, but slower performance than CodeIgniter. To overcome the disadvantages of the 2 framework, it is built a new framework namely Becak HMVC.1) This framework is designed to simplify the design pattern and minimize the number of files. From the test results, it was found that the framework Pedicab HMVC have drawbacks such as the lack of library cache (temporary storage) and AJAX (Asynchronous JavaScript and XML). As a result, the performance of this framework is still not maximal.2) This research aims to produce a new framework that it’s performance more efficient than Yii framework, has ORM and AJAX feature. This is done by simplifying the design pattern and minimizing the number of files. In addition, it also uses a new way that found on PHP 5.3, namely the use of namespace (package) with the Singleton pattern (initialization once in the manufacture of objects).
RESULT AND ANALYSIS
In this section, will be presented the results of comparison tests between the new framework created in this research, compared with Yii and CodeIgniter framework. Benchmarking will be carried out on aspects of features, throughput static and dynamic pages, computing time in static and dynamic pages and memory resource usage .
Comparison of Framework Features There are some features that will be compared between the new framework created in this research, compared with the features of CodeIgniter and Yii framework. Here is a list of the standard features of a framework: • MVC: Model View Controller supports • Multiple DB’s: supports multiple databases without changing the code. • ORM: supports object relational mapping, sometimes implementation is active record. • DB Objects: support for object database • Templates: there is a template engine • Caching: support caching to a website • Validation: support input validation and filtering • Ajax: AJAX support by default • Auth Module: supports modules for login and access control. • Modules: support for other modules such as RSS, PDF Parse • EDP: Event Driven Programming
Secure College Voting System for Student Leader Elections Introduction In an era of digital transformation, traditional paper-based elections in colleges…
Smart Crop Advisory & Disease Management System for Farmers Introduction In today’s agriculture-driven world, farmers face various challenges ranging from…
React.js Project Ideas for 2025 Building Solutions for the Future As we move into 2025, the demand for powerful, dynamic,…
React.js and Node.js Project Ideas & Topics The React.js and Node.js combination has become a staple for full-stack web development,…
Mern Stack projects Topic and source code The MERN stack (MongoDB, Express.js, React.js, Node.js) is one of the most powerful…
React Native Projects Ideas for 2024 & 2025 Innovative and Practical Solutions for Final-Year Students React Native, a widely used…