Developers Club geek daily blog

Hexagonal architecture

1 year, 11 months ago
On recent Laracon NYC I read the paper on hexagonal architecture. In spite of the fact that I received positive reaction of listeners, it seems to me that there were people who would like to gain a little more complete idea of what is it. Certainly, with examples. It is my attempt to expand that report.

  1. Video from the report
  2. Slides


In my opinion, this architecture is an excellent example of how the structure of the application has to be created. Moreover, when I wrote the projects on Laravel, I, even without knowing it, quite often used the ideas mortgaged at the heart of hexagonal architecture.

Being one of options puff architecture, hexagonal means separation of the application into the separate conceptual layers having a different zone of responsibility and also regulates how they are connected with each other. Dealing with this type of architecture, we can also understand as, why, and why at an application programming interfaces are used.

Hexagonal architecture, not new development approach using frameworks. On the contrary, it only generalization "the best the practician" — the practician new and old. I enveloped these words in quotes that people did not perceive them absolutely literally. The best practicians who work for me can not work for you — everything depends on a task and the pursued purposes.

This type of architecture adheres to classical ideas with which developers at application design come up: separation of an application code from a framework. Let our application form in itself, but not based on a framework, using the last only as the tool for a solution of some tasks of our application.

Read more »


Implementation of mnogoyazychnost on Laravel by 5 forces of framework

2 years, 1 month ago
Not so long ago I have decided to get acquainted closer with Laravel framework gaining popularity, the benefit of documentation and articles on it is enough. But what training without practice? It has been decided to transfer to it quite unpretentious samopisny site which quietly to itself hung on hosting and did not bring troubles.

Switching of language of the interface, yaml of the file of the dictionary and the simple parser implemented in the way was one of features of the site. To transfer it to logic of framework was business rather mechanical, than creative, and here to force it to remember the selected language it was slightly more difficult. I give the option of implementation of this task below.

Read more »


DevConf:: This Friday — the program is created by PHP, in lobby we will tell as transferred the conference site to Laravel 5

2 years, 3 months ago
PHP7 release — that waits for us in October, 2015

imageDmitry Stogov — the Leader of the PHPNG project and one of the main PHP developers; the leading engineer in Zend Technologies.

PHPNG has successfully reached the main branch of PHP, and PHP7 release already not far off. In addition to productivity, there was set of innovations of PHP urged to make more suitable for writing of big projects and to get rid of "children's diseases". In addition to undoubted pluses, innovations bear the headache connected with transition to the new version. The report contains the overview of the main innovations and some recipes on porting.

Full program of the section PHP

Read more »


Laravel 5.1

2 years, 3 months ago
image

Laravel declared release of version 5.1. It is the first release in the history of Laravel offering receiving long-term support. Let's consider some of new opportunities of freymovik.

Read more »


Pass API on Lumen

2 years, 4 months ago
image

The purpose of this publication — creation of simple API on Lumen and consideration of its differences from the elder brother. All code is available here.

Read more »


Visualization of quality of code with PhpMetrics

2 years, 5 months ago
Recently the excellent tool for the analysis of PHP code has got to me. I publish transfer of article with the overview of this tool.


PhpMetrics uses D3 and some difficult algorithms for scanning of code of your application and output of intricate reports on results.
image

Read more »


Встречайте Envoyer.io (часть 2)

2 years, 6 months ago
Envoyer — новый сервис от Тэйлора Отвелла, создателя Laravel. Уже сейчас можно посмотреть серию скринкастов на Laracasts про этот сервис. Это вторая и последняя часть описания этого сервиса.

Meet Envoyer.io (part 1)

В это части будут описаны более продвинутые возможности Envoyer.

image

Read more »


Meet Envoyer.io (part 1)

2 years, 6 months ago
Envoyer — new service from Taylor Otvell, the creator of Laravel. Already now it is possible to look at series of skrinkast at Laracasts about this service. It is the first part of the description of this service.

Second part here

image

It is a little history


When Laravel Forge has been started by Taylor, he became the serious assistant in start and management of several VPS, and also deployment of applications. Forge was engaged in process of creation of VPS in cloud, management of environment and deploy (including Git-hook-deployment) applications on servers, and has made this process more available and simple.

But, unfortunately, Forge did not satisfy such requirements as management more difficult warm with processes or deployment without idle time. Regardless of that, there were you the user of Forge or not, it was necessary to involve such tools as Capistrano or Chef or Ansible to have more opportunities. But thus, to deal with these tools takes a lot of time.

Read more »


Vagrant for kids or as on Windows it is easy to receive the configured server for development of web applications

2 years, 6 months ago
Hi, my dear fan to work with Composer'om, creating the next abrupt project on one of fashionable frameworks. Or, perhaps, you — the frontend master writing difficult pieces on JS and CSS, compiling them from jsx-and less-files, setting libraries through Bower, and collecting the project in any Grunt, in passing banishing code unit tests and, of course, filling in then all this on github … If all this is part of your everyday life, praise Supreme, I congratulate: you have passed all these tests and have even not broken to yourself brain. From now on, you — from among that happy, spent not one week, understanding how it is correct to configure all this a lot of tools, and also, you — one of those who can dominate, dominate and humiliate to shine with the knowledge in Habr's comments to articles of other, less quick and clever colleagues on workshop …

But … perhaps, you — only one of those who only dreams of similar perversions manipulations of masters of development of modern web applications?) Then I hurry to please you: I here the other day have learned couple of useful things and have understood that it is the real gift for beginner developers. Also has decided to write this article.

Read more »