How to Build Your Own Dependency Injection Container

Posted by & filed under Webdev.

A search for “dependency injection container” on packagist currently provides over 95 pages of results. It is safe to say that this particular “wheel” has been invented. However, no chef ever learned to cook using only ready meals. Likewise, no developer ever learned programming using only “ready code”. In this article, we are going to… Read more »

PHP 7 new features

Posted by & filed under Webdev.

PHP 7 makes powering the web a whole lot better https://github.com/tpunt/PHP7-Reference http://php.net/manual/ru/migration70.new-features.php

Codeception BDD-style PHP testing.

Posted by & filed under Webdev.

Modern PHP testing for everyone. Codeception PHP Testing Framework is designed to work just out of the box. This means its installation requires minimal steps and no external dependencies preinstalled (except PHP, of course). Only one configuration step should be taken and you are ready to test your web application from an eye of actual… Read more »

Yii 2.0.0 is released

Posted by & filed under Webdev.

Yii 2.0 is finally coming, after more than three years of intensive development with almost 10,000 commits by over 300 authors! Yii project site Yii 2.0 GitHub Project: you may star and/or watch it to keep track of Yii development activities.   Check out highlights on original site http://www.yiiframework.com/news/81/yii-2-0-0-is-released/

Behat – BDD for PHP

Posted by & filed under Webdev.

Behat is a php framework for testing your business expectations. Behat is a tool that makes behavior driven development (BDD) possible. With BDD, you write human-readable stories that describe the behavior of your application. These stories can then be auto-tested against your application. And yes, it’s as cool as it sounds! For example, imagine you’ve… Read more »

Руководство по рефакторингу

Posted by & filed under Webdev.

Рефакторинг — это контролируемый процесс улучшения вашего кода, без написания новой функциональности. Простые и понятные рекомендации к рефакторингу, собранные в одном месте. Пользуемся http://refactoring.guru/ и добавляем в закладки.

50+ best practices to optimize PHP code perfomance

Posted by & filed under Webdev.

Like any scripting language, PHP can be used in a variety of applications. The down-side for most programmers is that when they learn how to write PHP, they do not always learn how to write PHP with speed and optimization in mind. This article addresses most common ways you can improve your code with minor… Read more »

PHP The Right Way.

Posted by & filed under Webdev.

There’s a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time.

Make you own parser with “pthreads” and “PHP Simple HTML DOM Parser”

Posted by & filed under Webdev.

pthreads is an Object Orientated API that allows user-land multi-threading in PHP. It includes all the tools you need to create multi-threaded applications targeted at the Web or the Console. PHP applications can create, read, write and synchronize with Threads, Workers and Stackables. Read introduction and see example PHP Simple HTML DOM Parser A simple PHP HTML… Read more »