9th issue of Web And PHP magazine - The following topics are covered in the issue: How to complete many projects faster ?; What is the PHP site for Agile ?; PHP 5.4 Review (note on time); Why is the database slowing down? other.
Under the hood of objects in PHP - Excellent article, revealing in detail all the features of the internal implementation of objects in PHP. The author describes in detail the life cycle of an object, how objects are stored in memory, what is '$ this' and about many other things.
Why do many people hate PHP? - The author gives a detailed answer to this question, highlighting several main reasons and answering each item in detail. The reasons, according to the author, are as follows: inconsistent signatures, PHP is HTML with logic, lack of standards, lack of packages (dependency manager), lack of awareness of the current state of PHP, elitism (“not using PHP is cool”).
Why I refused coding standards - In his post, the author gives the reasons for which he decided to abandon coding standards, and also calls on other developers to reconsider the processes and, possibly, follow his example.
Accelerate PHP development with HipHop VM - At the end of 2011, guys from Facebook announced the release of the Hip-Hop virtual machine that implements the JIT compilation approach for PHP. This post describes the latest updates of Hip-Hop VM, as well as deeply described some of the details of the virtual machine architecture and optimization strategies.
An example of a whole application on Phalcon PHP - Demonstration of a full-fledged web application, completely written in a PHP framework, supplied as a native extension. In this example, the authors have implemented a music library and demonstrate the work of the framework with a large amount of data:> 5,000 Artists,> 50,000 Albums,> 30,000 Tags,> 100,000 Tracks> 200,000 Photos. Demo and code .
About template engines - A look at template making in web applications. The author gives a brief overview of past templating in PHP, and then talks about more modern tools, such as Mustache and their advantages.
Iterator for data providers in Yii - A useful recipe for using CDataProviderIterator for data providers, when it becomes necessary to process large amounts of data, but it is not possible to load all data into memory at once.
Metaprogramming in PHP - In the post, the author determines which tasks can be solved by metaprogramming and which are not, as well as which tools should be used in PHP to solve them.
PHP Dependency Injection - A simple and straightforward article that explains what Dependency Injection is. An example of refactoring using DI is given, advantages are listed, and also typical use cases.
References - Continuation of a series of videos from Anthony Ferrara. At this time, considered variables and links in PHP, their internal structure.
Prepared Statements - In this video, Anthony Ferrara talks about the basic principles of Prepared Statements and the benefits of using them. The whole series.
Inversion of control - In this post, the author tells in detail what Inversion of Control is. First dot the connection between DI and IoC, and then, using the example of a blog, shows the advantages of using inversion control.
Handling the connection using the MongoDB driver for PHP - The article discusses the recently released MongoDB version 1.3 driver for PHP. The comparison with the connection processing in the previous version is given, the advanced features of the new driver are considered. Considered practical examples in PHP.
We send letters using Swift Mailer - A simple example of using the basic features (sending text, letters with an application, templating) of a well-known library for sending letters.
Building automation with scripts in Composer - Composer is an excellent tool for managing dependencies in PHP. But this is not all that he can! This article shows you how to use Composer as a simple tool for automating assembly.
Love story for Silex - 'Embedded' PHP - The author tells about his first experience of using the Silex PHP microframe. The real example shows how code evolved during the development of a project.
Automation using MySQL triggers - Although transferring application logic to database triggers is considered by many to be a bad idea, nevertheless, there are a number of cases where using them is justified and helps to solve the set tasks easier. This article describes the actual triggers, and provides examples of use.
PHP errors: classification, examples, handling - If you are an experienced developer, then this article from Habra will help to structure knowledge. If you are working with PHP not so long ago, this post will provide an exhaustive amount of information on the topic of errors in PHP.
5 things that CodeIgniter cannot do - In the post, the author lists and describes 5 main features that are present in almost any modern PHP framework, but which are not yet available in CodeIniter: namespace, autoload, unit tests, migrations, and abstract database layer.
PHPitfalls - In the post, the author has accumulated his experience with PHP and has given many useful recommendations for developers.
Guide on cross-domain AJAX - In the post, the author talks about three main ways to implement cross-domain queries, as well as some of the nuances of each: CORS, JSONP, Iframe.
Tweetable PHP-Non Alpha - An interesting experiment in which the author writes a PHP script without using numeric and alphabetic characters.
The Underground PHP and Oracle Manual - The guys from Oracle have updated and laid out an excellent free book that contains unique material on the PHP OCI8 extension for working with the Oracle database, as well as on other components from the PHP-Oracle ecosystem. The book tells PHP developers how to use PHP and Oracle together in a simple and effective way.