Today, it comes to PHP programmers, most programmers are thinking of 1 means that PHP Framework. Because it helps developers minimize time to rewrite the basic operations. Moreover, PHP Frameworkcon make programmers more time researching and updating new technologies, because they do not take too much time for the search or use the basic knowledge that is already too boring for them in the project. Indeed, this is quite sufficient Frameworkhien PHP and meet most of the conditions necessary and sufficient for the construction of a project. Speaking to the Framework, the most prominent are still hand veteran and old guard such as Zend Framework, CodeIgniter Framework, CakePHP Framework, .... The framework focuses the smallest details in programming. To reduce download time for users to use them. Such as the helper helps users to build forms, the helper helps the user to use the HTML tag, the helper helps users to form and data validation, .... These, actually contribute to Framework that became friendly and familiar with many more users only. In fact, PHP Frameworkcung leave the consequences affect many elements of the application or to more serious still is the human factor. In this article, we analyze and see. What problems need attention and need to pay attention when operating regardless PHP Frameworknao offline. Need or no need for such helper?. If you have to ask the programmer that "You have to know HTML or not?. Do you know created HTML form or not?. " Would not a few people laugh and think you're doing things in excess. In class a programmer. It is fundamental to force them to learn through, so why are we still waiting for a PHP Framework rather do work like that. Yes, of course, is good. But no one did not affect. Moreover with updating these libraries will cause applications to become slow and more difficult to operate. One thing that these PHP Framework are always affected. Model unsolvable problem for the framework. Most PHP Frameworkdeu built on MVC model one design pattern. This model will be split into 3 parts code different with 3 different responsibilities. Controller will act as receiving the request (request) to transfer them to the model. Now that the model will run Active Record structures or pure SQL to retrieve information from the database and then pour them into the array. Now when the controller requests to request any information it will push them to view the array. In view to obtain the values in the array, we again have to browse the array to retrieve each individual element such. This makes the application becomes sluggish. Contributing to increase% "turtle" of PHP Framework. Autoload - critical factors slowing framework. To help users easily operate the library, often allowing PHP Framework autoload feature is turned on in everything . This allows programmers do not take time to initialize the object when needed to. Because they have been invoked as soon as we have access to the controller died. Seems benefit than harm to your baby. But in reality, the autoload become unsolvable problem when the user invokes an object any. Because the controller does not need the same library. It depends on the requirements of the controller and how it is. Therefore, never imposed PHP Frameworkcua we have to load all the library. It is true that interest, but if one is hurt profit would be 10 for your application. User object - age-old story for the framework. To be coherent code, is clear. Programmers who want to put their source toward the object to help them promote legacy factors and operate effectively what they had done with the previous application. Moreover, object-oriented model (Object-Oriented Programming) is also a strength of PHP. So just so that programmers constantly build your code in that direction. It is true OOP code becomes bright and clear, but abuse OOP a lack flexibility will cause adverse effects to the interests that we always wanted. So use it wisely with OOP design pattern to maximize the power that OOP is. And overslept thinking - worrying threat for programmers. PHP Frameworkdung one of the significant steps of PHP . By building a series of libraries to help users solve the problem in a scientific way and do not need to redo the operation was too basic. But precisely because of this that PHP programmers Frameworklam for dependence habit seriously when applying PHP Framework. For example in version 1.7.2 CodeIgniter, CodeIgniter has support for both library users shopping carts, image, accidentally .... This makes PHP Programmer lazy thinking in the application and to develop. With the creation of 1 cart them online simply hook, hook, pointing, pointing. Call the other class, this class call is finished. Accidentally killed the Framework PHP programmer's thinking. One or requires a delicious dish, it's the quality and the processing must be very fast. Then when a dish like they always think to do so is to eat the right way, a new time-saving. But in reality, the implications of the use of "fast food" always brings the inadequacies in many aspects. For such a dish when cooked quickly, how clean are, but when was not clean, use the body more harm than help. PHP Framework too, if time programmer also said based on PHP Framework PHP Framework forget also be made from the knowledge that they have. Surely, that programmer will not be forever free from the shadow of PHP Frameworkdem big again. So in terms of one programmer, we should have a proper look. When PHP Frameworkcung level 1 new library, do not hesitate to dabble see how we solve that problem. From there we can draw these improvements, optimizations that PHP Frameworkdem again. Not to mention it will add a huge amount of knowledge for you to read and learn deep cycle operation of a library any PHP Framework.
đang được dịch, vui lòng đợi..