Today, talking to PHP then most programmers are thinking of 1 means is the PHP Framework. Because it helps programmers to minimize the time to rewrite the basic operation. Furthermore, PHP Frameworkcòn make the programmers have a lot of time in research and new technology updates, because they do not take too much time to explore or manipulate the basic knowledge that is already too boring to them in the project.Indeed, PHP Frameworkhiện far quite adequate and meet most of the necessary and sufficient conditions for the construction of a project. Talk to the Framework, the most prominent is still the original rice and elders like: Zend Framework, CodeiGniter Framework, CakePHP Framework, .... The framework for this focus on the smallest details in programming. In order to reduce the download time for users who wield them. Such as the helper that helps users build form, the helper to help users use the HTML tag, the helper that helps the user validation of the form data, and. .. Of this, the only reality contribute to the Framework that become friendly and familiar with many more users.But in fact, PHP Frameworkcũng to leave the implications impact on many elements of the application or more serious still is to human factors. In this article, we analyze the view. What issues need attention and to be noted in operation regardless of PHP Frameworknào.Need or don't need the helper like that?.If you have to ask the programmers that "You have to know HTML or not?. You know create form using HTML or not?. " Will people laugh and show that you're doing things redundant. At the level of a programmer. Then it's basic elements required them to learn through, so why are we still waiting for a PHP Framework rather us do the work. There are, of course, is good. But there also didn't affect anyone. With the update of this library will cause the application to become sluggish and difficult to operate. One thing that the PHP Framework must always bear the impact.Model the problem unsolvable for the framework.Most of the PHP Frameworkđều built on the model of the M-V-C one of the design pattern. This model will split the code into 3 different partitions with 3 different responsibilities. Controller will play the role of receiving request (request) to transfer them to the Model. At this time the model will operate the Active Record structures or pure SQL to retrieve information from the database then pour them into the array form. At the moment when the controller required to request it will push the array information to view. In view to retrieve the values in the array, we must browse array to take out each single element. This makes the application becomes slow. Contribute to increase the% of "turtle" PHP Framework.AutoLoad-Chi element slow network framework.To help users to easily operate the library, PHP Frameworkthường allows autoload feature is always turned on in everything. This helps programmers don't spend the time to initialize the object when needed. By them was when we call millions access to controller. Seems to benefit more than hurt you. But in fact, the autoload become unsolvable problem when people use any object to call a million. Because not controller would also need the same library. It depends on the requirements of the controller which and how. So, don't ever imposed for PHP Frameworkcủa we have to load all the libraries. The right is beneficial, but if one is going to harm, then 10 for your application.Object-oriented story indefinitely for the framework.For code to be coherent, are in the morning. Programmers are like to take their source toward the team to help them promote inherited factors and the effectiveness of what they had done with the previous application. Moreover, object-oriented models (Object-Oriented Programming) is also a strength of PHP. Should so that programmers don't stop building your code in that direction. It is true that OOP code work becomes pure and clear, but OOP abuse one way lack of flexibility will cause the opposite effect with benefits that we always look forward to. Should use real OOP with ingenious design pattern to maximize the power that OOP is inherent.And sleeping thinking-threat worth worrying for programmers.PHP Frameworkđúng one significant step of PHP. By building a series of library help users solve problems scientifically and not need to redo the operation was too basic. But also because of this that Frameworklàm for PHP programmers have the habit, previously a serious way when using PHP Framework. For example in version 1.7.2 CodeIgniter, CodeIgniter has support for all library users shopping cart, image, .... This inadvertently makes PHP programmers have thought loafers in the use and development. With them creating 1 cart online simply hooks, hooks, cursor, cursor. The other layer, this layer is done. The main PHP Framework has accidentally killed the thoughts of programmers.Người ta hay đòi hỏi một món ăn thật ngon miệng, thật chất lượng và chế biến phải thật nhanh. Thế rồi khi có món ăn như thế họ luôn nghĩ rằng ăn như vậy mới là đúng cách, mới là tiết kiệm thời gian. Nhưng thực tế, những hệ lụy của việc sử dụng "fast food" luôn đem lại những bất cập về nhiều mặt. Ví như một món ăn, khi đã chế biến nhanh thì làm sao mà sạch được, mà khi đã không sạch thì dùng vào cơ thể tác hại nhiều hơn là tác dụng. PHP Framework cũng thế, nếu lúc nào lập trình viên cũng chỉ biết dựa vào PHP Framework mà quên mất PHP Framework cũng được làm nên từ những kiến thức mà họ có được. Thì chắc chắn, lập trình viên đó mãi sẽ không thể thoát khỏi cái bóng lớn của PHP Frameworkđem lại. Vậy ở khía cạnh 1 lập trình viên, chúng ta nên có cách nhìn đúng đắn. Khi PHP Frameworkcung cấp 1 thư viện mới, đừng ngần ngại vọc xem làm thế nào chúng giải quyết bài toán đó. Từ đó ta mới có thể rút ra được những cải tiến, tối ưu mà PHP Frameworkđem lại. Chưa kể nó sẽ bổ sung một lượng kiến thức khổng lồ cho bạn khi đọc sâu và tìm hiểu chu trình hoạt động của một thư viện PHP Framework bất kỳ.
đang được dịch, vui lòng đợi..