A hacker and a nerd – the two hats of engineers

From my experience working in 3 companies which were developing a product, I can say that 80% of code we produced was redundant. I mean it was developed to support services that did not find the “product-market fit”. In other words, founders’ assumptions about what market needs failing after significant …

Validation is documentation

Separation of concerns In clean architecture, we keep our codebase decoupled. It means, for example, keeping data retrieval mechanism hidden from the consumer. Let’s say a developer who writes front-end code (controllers, routes, views) needs some data to draw a page. He is not allowed to query the database directly, …

Frameworkless foundation of your PHP application

TL; DR; This post is about making a PHP from scratch with no framework. It explains how it is usually done by pulling few dependencies with composer and gluing them together in a solid foundation to build upon. The demo repository is available here: https://github.com/lezhnev74/php-foundation. (UPDATE: There was another challenge …

PHP Array validation gets simpler

In this article, I am talking about a tool called pasvl (still in beta as of Jan 2018) which is for array validation purposes. Enforce data within your app In Domain Driven Designed apps it is usual to transfer data in a form of Value Objects(VO). Those are simple plain …

Introduction to NEM blockchain

Since 2017 I’ve been involved in heavy blockchain development project – familypoints.io. This is a startup to disrupt uneffective parenting products market. While I learned a lot of things and met a lot of people from blockchain area, there is one technology that inspired me the most – NEM blockchain. …

Clean Laravel app with Prooph message bus

What is Prooph Prooph is a set of loosely coupled PHP packages that can be composed to a powerful toolbox. It has quite a few projects under the umbrella of the Prooph project on GitHub, including message bus, an event store, event sourcing and snapshotting. I was impressed how good …