A real-life git workflow. Why git flow does not work for us

Most standardized git workflows are not suitable for real agile teams dealing with continuous delivery and constant changing of short term goals. Most flows assume following a plan, over responding to change, like having planned releases, rigid process phases, waterfall-style. Agile accepts those changes as normal. Small companies usually don’t have the luxury to make […]

Simplify handling of tables, entities, forms and validations in ZF2 by using annotations

If you developed any application using ZF2 you may become frustrated of the tedious work of creating boilerplate code for handling common tasks like a simple form which will be validated then saved in a database. The Zend manual recommends creating a table class, an entity class a form class, a validator class, along with […]

Unique record validation in ZF2 forms

Controller code: $employeeInfoValidator = new EmployeeInfoValidator(); $dbAdapter = $this->getServiceLocator()->get(‘Zend\Db\Adapter\Adapter’); $employeeInfoValidator->data = array( ‘UserId’ => $userId, ‘CoveredPersonDependentId’ => $dependentId ); $employeeInfoValidator->setDbAdapter($dbAdapter); $form->setInputFilter($employeeInfoValidator->getInputFilter()); Validator class:

Configure Sphinx Search server with a main + delta indexing scheme, including updates & deletes

Sphinx Search is an OpenSource FULL TEXT search server developed in C++, and it is a very fast and scalable solution, superior to what database servers offer. It works on all major operating systems, but in this example, I will show you how to install and configure  it in Linux, which is the most common […]