Zend Framework with Symfony

...a component library? ...a full stack framework? Both.
So, how do they compare? Why bother? You _can_ use them together. (With Symfony Components, this goes both ways)

ZF Features


Taking it further

Using the ZF Autoloader in your Projects Configuration. Static calls like
ProjectConfiguration::registerZend();


Service Components

Zend_Gdata, Zend_Service_Amazon, Zend_Service_Akismet

Sidetrack: On Domain Models

Perform distinct, discrete processing tasks, without the overhead of the full framework.
'cause speed is neccessary.
Unit test your domain model! - typically less complex testing harnesses
Reduce dependencies: Less bootstrapping, fewer resources :: Often faster code.
Entities: Going back to plain old classes. (Same with Hibernate, C#)
Aggregators or Collections of Entities
Mappers - map Entities to data persistence and vice versa, could be an ORM
Service layer objects - the public API

More Considerations

Implement business / domain logic in the service layer
Service types offered by ZF: AMF, JSON-RPC, XML-RPC, SOAP.

Talk von Matthew Weier auf der SymfonyLive2010, also on Slideshare.

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki