2 years, 4 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.
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.
2 years, 6 months 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.
2 years, 8 months agoPHP7 release — that waits for us in October, 2015
Dmitry 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.
2 years, 11 months agoEnvoyer — новый сервис от Тэйлора Отвелла, создателя Laravel. Уже сейчас можно посмотреть серию скринкастов на Laracasts про этот сервис. Это вторая и последняя часть описания этого сервиса.
2 years, 11 months agoEnvoyer — 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.
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.
2 years, 12 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.