Nalezeno 1 článků s tagem PHP

Anemic Domain Model, callbacks and missing language features

Výsledky vyhledávání výrazu „PHP“ v textu (3 nálezů)

MVPC - Implementation 22. duben 2016 (před rokem)

MVC MVP Software Architecture Continuation of MVPC – the difference between Presenter and Controller Nette and MVPC Nette is taken here as an example of a PHP web application framework I am the most familiar with. The same might or might not apply to any other framework in PHP or any other language. Nette framework is my web framework of choice. There are a few reasons for it, the most important are security by default and completely ready co AJAXful websites. But the most important feature of Nette for me, the one that makes it really fit into the MVPC design pattern, is its dependency injection container. But first…  přečtěte si více

MVPC - Introducing mSPV 26. duben 2016 (před rokem)

MVC MVP Software Architecture Continuation of MVPC – Deeper look Nomenclature warning: This article uses several very similar terms that are context dependent and are very easy to confuse. Please refer to this loose definition list: Service – Any class registered in Nette Dependenty Injection Container (DIC) Business service – A special case of the generic service. Business services always have a model behind them. They serve as the access point to a model from the presenter. In this regard, they do not differ from a controller. Model – The data storage In the last article we ended up with the problem of…  přečtěte si více

Anemic Domain Model, callbacks and missing language features 30. duben 2016 (před rokem)

PHP Software Architecture Very often I see an object in a project that is basically just a data container. There is no functionality, only private properties and set of getters and setters. If you are lucky, there is some sort of validation in the setters for the inputs, but that is not always the case. And every time I see these object in PHP, I hear people call them Anemic Domain Models. However from my experience this is not always the case. They are just a symptom of a fundemental problem in PHP. There is no decend way to pass data around. You have so few data types in PHP. And the only way you can add more is to…  přečtěte si více

Nenašli jste to co hledáte?

Možná to zde opravdu není. Vyzkoušejte však ještě další možnosti: