Learn how to use Dice, a PHP dependency injection container that allows you to quickly and simply apply dependency injection techniques in your PHP code.
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.
Explore some of the most widely used design patterns: singleton, facade, decorator and factory.
Design patterns provide a generic reusable solution to common problems. A design pattern is not a concrete solution that can be converted in to source code or a machine code rather it is a template which can be used to solve a problem in different situations. Design patterns help in faster development as the templates are proven and from the developer’s point, only implementation is required. Design patterns not only make software development faster but also encapsulate big ideas in a simpler way. Factory Pattern, Singleton Pattern, Observer Pattern, Chain of Command Pattern, Strategy Pattern
Learn how to fetch the data from Facebook and Twitter, how to optimize the connection to these web sites and how to automatically update the data.
Every developer has to deal with it at some point in their career. It is always there. It is persistent, relentlessly ticking away and eating productivity. It keeps track of when things happen, and can cause you pain when trying to work with it. What is it? Time (and time zones in particular).
Silex comes packed with its very own built-in dependency injection container called Pimple (this is also a standalone dependency injection container) which is a very lightweight, yet powerful, container. Let’s delve into how it works.
You’ve seen them all over the web–image galleries for your viewing pleasure! You’ve looked for decent image
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.