The digest of interesting news and materials from the world of PHP No. 44 (July 1 - 20, 2014)
We bring to your attention the next selection with links to news and materials.
Enjoy reading!
News and Releases
- 10 years of PHP 5.0.0 - July 13, 2004 saw the light of the PHP interpreter version 5.0. In the post by reference, a brief history of PHP and Tamline with the main events of the era.
- 0xDBE: First Look - JetBrains has announced a new 0xDBE product for working with databases and queries. The tool is available as part of a closed early access program after filing the appropriate application. In the post on the link you can find an overview of the features of the tool.
- WordPress 4.0 Beta 1 and Beta 2 - Someone expected a significant update to the code and architecture in the release, but this did not happen. Nevertheless, WordPress 4.0 will appreciate a number of new features. Also an interesting post about the trend towards an increase in the share of JavaScript code in WP.
- Pickle - The first stable release of the PECL extension manager, which is compatible with Composer, and may be included in the standard PHP package.
- Deployer Big Update - A simple and convenient PHP tool for deploying applications, Deployer has received a number of new features, an updated site and documentation.
- REST in Symfony - There are FOSRestBundle and NelmioApiDocBundle bundles for implementing RESTful services on Symfony , but this is far from all. In order to improve, popularize and simplify existing REST solutions for Symfony, a special working group has been created . A little more in the post of the creator of the group.
- SensioLabsProfiler - Launched closed beta testing of the PHP profiler from the creators of Symfony.
Php
- RFC: Uniform Variable Syntax - A proposal from Nikita Popov, which involves the introduction of a single syntax for variables and calls in PHP, was adopted almost unanimously and will be included in PHP 5 ++. The only person to vote against was author Xdebug Derick Rethans, who outlined his point of view in a post .
- RFC: Title for the next PHP release - In php.internals, the discussion of choosing numbers for PHP 5 ++ has been actively resumed. So, after all, is PHP 6 or PHP 7?
- RFC: Scalar Type Hinting With Casts - The proposal implies the implementation of type hinting for types: int, float, bool, string and numeric. The original version was proposed by Anthony Ferrara, which withdrew all its charter proposals to argue . Perhaps this time the proposal has a chance.
- RFC: intdiv () - Proposal to implement the possibility of integer division in PHP:
var_dump(3 %% 2); // int(1)
- Benchmarking PHPNG! - An interesting post from Zeev Suraski, in which he compares PHPNG and HHVM, as well as classic PHP in working on popular PHP projects, including a separate Magento post . In a series of tests, PHPNG bypasses HHVM. However, alternative tests from HHVM developers show slightly different results. Nevertheless, the performance of PHPNG is growing - it is already twice as much as PHP 5.6 and is slowly catching up with HHVM.
Instruments
- Spork - A library for conveniently creating forks of PHP processes.
- Pilog - A simple logger implemented according to the PSR-3 and PSR-4 standards.
- Phake - Not the Phake that has a mocking framework, but the one that has a task manager and a clone of a custom Rake . Tutorial and examples of use here .
- vfs.php - A virtual file system implemented as a wrapper for a data stream.
- Purse - PHP-framework for the creation of which the author was inspired by the popular Ruby-tool Sinatra.
- uprofiler - Lightweight xhprof -based profiler .
- symfony-console-completion - Autocomplete commands for Symfony Console applications.
- php-box - A tool for conveniently creating and managing phar archives.
- woothee-php - Parser user-agent strings.
- Respect / Validation - One of the best libraries for validation in PHP.
- yo-php - PHP client for the revolutionary Yo messenger .
- Phystrix - A library for solving the fault tolerance of distributed systems. Port of the popular Hystrix Java tool . Post with a description .
- Cronos - A library for creating and managing cron tasks from PHP.
- FluentPDO - SQL query-builder for PHP, as well as a tutorial on how to use it .
Learning Materials
- 10 most common mistakes made by PHP developers - And 7 more errors .
- Pagination for real-time data - For frequently updated data, it is not practical to use the classic limit-offset pagination pagination, because when you switch pages, you will see already viewed records. In the post, a solution based on the use of the cursor is considered.
- Authentication using social network accounts. - A 4-part tutorial on implementing from scratch login with Google+, Twitter and Facebook accounts.
- Sending PSR-0 to Heaven - A great post in which Phill Sturgeon convinces why PSR-0 is out of date and should use PSR-4 .
- About data streams and PSR-7
- Magento Certification Tricks and Tricks
- What is reflection in PHP?
- Improving your PHP testing experience , 2 , 3 - A series of tutorials with tips and best practices for unit testing in PHP.
- BDD Workflow With Behat and Phpspec
- Continuous Integration Using PHP-CI - A small tutorial on using PHPCI .
- Container Deployment: Bad Practices to Avoid
- Violation of SOLID Principles in the Symfony Cookbook - Considered a bad example of implementing the Twig extension.
- Improving Web Application Security on Zend Framework 2
- Comparison of Doctrine 2 and Eloquent
- 15 applications of Wordpress that you might not know about - Examples of solutions based on WP: online store, forum, job board, bug tracking system, Quora clone and others.
- Symfony 2 Joboard: API for partners - Tutorial on how to implement the API in a Symfony application.
- When to use static methods
- Named Constructors in PHP
- 9 steps to optimize YII
- Analysis of the load on the server - The principles and methods of analyzing the load on the processor, memory, disks, network.
- WordPress Projects: Optimization Tips
- Making the simplest filter on product properties using ElasticSearch on Symfony2
- Link the Doctrine Entity and the Doctrine Document on the form in the Sonata Admin Bundle
- Fast morphology or files against MySQL
- Facebook XHP. Object Template
- Syringe - declarative IoC Container in PHP
- YaLinqo (LINQ to Objects for PHP) - Version 2.0
- Introducing PHP Messaging Services
- PHP Zend Certification Today
Materials from past conferences
Audio and video
- Create a programming language - Write the author of the report simple PHP interpreter on JavaScript - PHP.js .
- Interview with the creator of Laravel Taylor Otwell in the podcast Three Devs And Maybe - Discuss the framework itself, Forge and Homestead .
Entertaining
- PHP Test Club - A forum for discussing all types of automated testing in PHP.
- Twitter Accounts for PHP User Groups from Around the World
Quick Search All Digests
← Previous Issue