17. BrowserKit: simulates a browser
CssSelector: converts CSS selector to XPath expression
DomCrawler: easy DOM navigation
Process: asset management
Finder: package management
HTTPFoundation: package management
DependencyInjection: dependency injection container
EventDispatcher: observer pattern
Sf2 components
venerdì 1 febbraio 2013
18. Soap: a soap server/client with wsdl generation
InputFilter: user input filter
DomQuery: easy DOM navigation
Validator: user input valdator
Ser viceManager: a service locator implementation
MVC: an mvc implementation
DI: dependency injection container
EventManager: observer pattern
Zf2 components
venerdì 1 febbraio 2013
21. composer.json
Integration via composer
venerdì 1 febbraio 2013
22. Bundles/Modules
toward bigger blocks
venerdì 1 febbraio 2013
23. Bundle: group of PHP, javascript, css, config files
implementing a feature.
Almost everything in sf2 is in a bundle
Sf2 Bundles
venerdì 1 febbraio 2013
24. Acme/
DemoBundle/
Controller/
Command/
Entity/
Resources/
config/
ser vices.yml
routing.yml
public/
views/
Test/
AcmeDemoBundle.php
Sf2 Bundle dir structure
venerdì 1 febbraio 2013
25. Module: group of PHP, javascript, css, config files
implementing a feature.
Zf2 Modules
venerdì 1 febbraio 2013
26. Application/
config/
module.config.php
src/
Application/
Controller/
Ser vice/
view/
test/
ApplicationTest/
Module.php
Zf2 Module dir structure
venerdì 1 febbraio 2013
50. learning Zf2 if you know
Sf2 is quite smooth...
what I take home?
venerdì 1 febbraio 2013
51. if...
what I take home?
venerdì 1 febbraio 2013
52. you read the docs
what I take home?
venerdì 1 febbraio 2013
53. http://framework.zend.com/manual/2.0/en/index.html
http://modules.zendframework.com/
http://www.mwop.net
http://akrabat.com/category/zend-framework-2/
http://ocramius.github.com/
http://www.maltblue.com/tag/zend-framework
http://juriansluiman.nl/en/
... you get it
what I take home?
venerdì 1 febbraio 2013
54. you read the code
what I take home?
venerdì 1 febbraio 2013
55. https://github.com/zendframework
https://github.com/weierophinney
https://github.com/Ocramius
https://packagist.org/
... you get it
what I take home?
venerdì 1 febbraio 2013
56. Thank YOU!
Pics Credits:
Glass: http://www.flickr.com/photos/daveynin/6722545177/
Journey: http://www.flickr.com/photos/landrovermena/7086355379/
Components: http://www.flickr.com/photos/37996583811@N01/5955271663/
Not Found: http://www.flickr.com/photos/girliemac/6508022985/
@_orso_
mo@ideato.it
that’s all folks!
venerdì 1 febbraio 2013