PHP Articles

You will find articles covering all areas of PHP, including application architecture, functions, databases, tools, the latest PHP news, and insightful guides covering setup & installation and site operation.

Articles Sub-Categories: Application Architecture, Databases, News, Pear, PHP Functions, Setup & Installation, Site Operation, Tools, Tricks & Hacks.

Results via Envato Market

One of the common problems with PHP used to be that if you chose to use a particular framework, you were only able to use the libraries and plugins that are made specifically for that PHP framework. It was difficult to switch the frameworks or to re-use the code between frameworks. However, PHP has experienced major changes recently. Composer, a package manager widely used by PHP developers, and latest generation frameworks, such as Laravel and Symfony, have enabled PHP developers to create framework-agnostic packages.

Right from its inception, PHP was widely used to develop web based applications. Since PHP is a scripting language, one must follow some rules while developing.
Error reporting, DRY approach, Indentation and Use of whitespace, Meaningful and consistent naming standards, Deep Nesting, adequate comments, phpInfo() function, user input, Cache mechanism, extra variables, frameworks

Codeigniter is an PHP framework built on the MVC design pattern. There is no doubt that it is popular, it’s the most forked PHP project on Github ever, the second most watched PHP project on Github, and has a large group of followers and contributors. Why is it so well loved? The answer is that you can add your own functionality to the Codeigniter core without even breaking a sweat. You can extend the core controllers, models, and just about everything else with relative simplicity. Let’s have a look at how we can do that.

Laravel follows a slightly different approach to PHP development. Using ideas usually found in the .NET environment, such as Facades, and sporting an Inversion of Control Container, Laravel claims to be the future of PHP. Whether or not this is the case is too early to tell, but it certainly is popular.

PHP is a server side scripting language used to develop web pages. In the recent times, PHP has become popular because of its simplicity. PHP code can be combined with HTML code and once the PHP code is executed, the web server sends the resulting content in the form of HTML or images that can be interpreted by the browser. We all know the power and importance of object-oriented programming or OOP. This is a technique that is widely used in the modern programming languages.