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
Website speed plays a major role in search engine optimization, user experience, and conversion performance. Modern websites often contain large…
Local SEO helps businesses improve visibility in location-based search results. When users search for services “near me” or include city…
Website quality plays an important role in search engine optimization and overall digital credibility. One issue that businesses often overlook…
Search engines are evolving rapidly with the growth of artificial intelligence and advanced search technologies. Modern search systems no longer…
Website performance has become one of the most important factors influencing search engine rankings and user experience. Modern users expect…
Website content structure plays an important role in both user experience and search engine optimization. One of the most important…