Yii framework vs joomla hosting

Glue Framework vs Full Stack Framework, Performance and Benchmark Comparison of PHP MVC Frameworks: Comentum Framework, CodeIgniter, Zend Framework, CakePHP, Yii, Kohana, DooPHP

What is a Web Application Framework

A Web Application Framework is a patterned code system consisting of common program libraries and tools providing an organized environment for developers to program and help to create structured, maintainable code.
Yii framework vs joomla hosting the PHP
Using a Web Application Framework provides the following advantages:
  • Organized and structured programming environment creates maintainable code — it will be easier to make updates or changes to the code or have new programmer(s) or programming team(s) take over the Web Application project maintenance.
  • Promotes writing a function (or class) once and reusing it in different parts of the Web Application instead of repeating the same function in different places. So, if there is a need to change the function, it can be done in one place instead of having to change it in several places.
  • Provides a better environment for multiple programmers to work on the Web Application Project.
  • By separating the HTML and CSS from the PHP code, HTML and CSS designers can work on the design (refereed to "view") folder without having to deal or tinker with the PHP code.
  • Most frameworks come with the common functionalities (classes, helpers, and libraries), such as database access, form input security checks, validating forms, uploading photos, sending emails, etc. — those common libraries provide an streamlined and fast method of coding without having to rewrite code for common functions.
  • Provides better beta testing and bug fixing environment — it promotes testing one functionality at a time, instead of testing the whole Web Application which usually causes programmers to miss programming bugs.

What is Model View Controller (MVC)

Web Application Frameworks are organized in a structural pattern — this promotes better code organization and code reuse.

In a Model View Controller (MVC) pattern, the code is organized in three different sections:

  • Model — data interfacing — this is where the data updates are occurring — the developer writes the function in the Controller referencing a function in the Model telling it to save the user's submitted information to the database.
  • View — user interface — this is where the application interface such as HTML and CSS exist and are managed. For example a Contact Us form.
  • Controller — application interaction — this is where the application actions are occurring such as a function that takes the user's submitted information and processes it. s
Yii framework vs joomla hosting custom, complex logic

Different types of MVC Framework

Glue Framework — More Flexible
Glue frameworks provide an environment with a wide variety of components and libraries, and the programmers have the control of the structure and flow of the program actions, and can pick and choose any library or component at their own discretion.

In my opinion, Glue Frameworks provide a better environment for custom Web Applications with complex business logic. In most of today's custom business Web Applications, there are a lot of complex business logic requirements and many exceptions to the rules functions — it is much easier to implement custom, complex logic into a Glue Framework.

Below are some examples of Glue Frameworks:
  • Comentum Framework
  • Zend Framework
  • Codeigniter Framework

Full Stack Framework — Strict and Less Control
Full Stack Frameworks provide an environment with libraries and components that are integrated, forcing programmers to use most of the libraries and components based on the framework's structural flow and guidelines.

In my opinion, Full Stack Frameworks provide a better environment for common Web Applications that do not need much customization and do not have lots of complex business logic.

Below are some examples of Full Stack Frameworks:
  • CakePHP
  • Symfony

Performance

Comentum used Apache Bench to test the performance of different PHP Frameworks and below are the results (this test was run on November 9, 2012).

Hardware:
CPU: Xeon Quad Core X3220 (2.4 Ghz)
RAM: 4GB

OS and Server:
CentOS 6.2 x86_64
Apache 2.2.15

Request Per Second - More is Better


Research for this article was completed November 9, 2012; pricing and other information may change.


Joseph Montanez is a senior web application developer, team manager, and technology analyst expert at Comentum.


Bernard Kohan is a mobile app and web application development and technology analyst expert. He is available to discuss any issues or questions you have about web development and the best choices for your company or project.

Bernard can be reached at
858-410-1500

Web App Estimator

Select and unselect modules such CMS or eCommerce for your web application and watch the cost update in real time.

Related articles

3d banner rotator joomla hostingPersonal License (single use) Use in a single non-commercial project Project can be owned by you or your client Unlimited use in the same project Use it on any page of the same project Free...
Best joomla free hostingWhat is Joomla Hosting? Free, easy-to-use, and customizable. Joomla provides you with a multitude of site-building options, and is available with most hosting plans. Think WordPress is the only...
Gastenboek maken in joomla hostingBy using the above code, you agree to these terms. To be the moderator for this comment box, Log in to your Google account before you copy the code. HTML Comment Box Skin:. Show comments at...
Hosting company joomla template positionsJoomla 2.5 has reached its end of life as for 12/31/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here . You can use...
Free joomla templates e-commerce hostingE-commerce Templates Looking for a way to establish a moneymaking online store? Don’t know what to start with? We have got this covered for you, providing professional eCommerce themes created...