View
2.858
Download
10
Category
Preview:
Citation preview
DDD Symfony 2
?
-
, .Wikipedia ?RAD , .
.
ERP, CRM, MDM, EAM, SCM .
?
, -, agile .
-.
?
- CRUD .
Skype' .
: ; ; CI.
Symfony 2
DDD
Doctrine ORMDataMapper, Events, Table Inheritance
EventDispatcher, Form, Request, User
FOSRestBundle, JMSSerializer, NelmioApiDocBundle
Symfony 2
- ?
. ?
- ?
DIC . alias. ? KISS!
Symfony 2
DDD Symfony 2
.
DDD Symfony 2
Doctrine ORM () .: lifecycle callbacks;
PostLoad -
PrePersist PreUpdate
Symfony 2
DDD Symfony 2
DDD Symfony 2
.
get* set* .Building an Object Model: No setters allowed
- , , .Mathias Verraes: Money
Mathias Verraes: Unbreakable Domain Models
Symfony 2
-
: createOrder?
DDD Symfony 2
API
*Command DTO API .
createOrder OrderService.
API DDD
CoreDomain CoreApiBundle.
UI.
CQRS Account AccountViewOrder OrderView
API DDD
REST ! ;, , , ...
; FOSRestBundle.
;NelmioApiDocBundle !
UI DDD
CoreDomain CoreViewBundle.
UI API , .
JS MVC !Backbone, AngularJS, EmberJS, KnockoutJS.
Doctrine 2.5 -.
Zephir .
DDD Serializer DDD.
???
?Facebook: https://www.facebook.com/zloyusrVK: http://vk.com/shabouta
Recommended