Application Architecture

In this section, you will find articles, tutorials, and snippets covering all areas of Application Architecture in PHP.

Other Categories: Databases, News, Pear, PHP Functions, Setup & Installation, Site Operation, Tools, Tricks & Hacks.

Results via Envato Market

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.

Dependency injection is a software design pattern that implements the inversion of a control concept for resolving dependencies. According to this concept, a class should not configure its dependencies statically, but should be configured from the outside. Learn about Dependency Injection and the main PHP containers/frameworks used in working with PHP.

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.

John Barlow admit its, he was a little afraid of AngularJS at first. He had seen other frameworks that were similar and immediately discounted this as “just another JavaScript framework” â?? until he used it. In those short moments he discovered that AngularJS is magical, and decided he must use it for all new projects and migrate the old projects.