~/talk

Software Design Patterns in Laravel 4

Talkat Laracon EU 2013 · 2013-08-30..08-31· [php, laravel]
speakerdeck:sparksp
slides:none on file

Walks through concrete Laravel 4 examples and makes testable claims: the vendor code has 14 abstract classes out of 128; iterators lean on PHP’s builtins; event dispatch implements the observer pattern; alias loader acts like a singleton and the database manager is a multiton; facades route calls through the IoC to reusable instances, summarised as facade vs singleton; recommends service providers, repositories, factories and points to cache strategies (redis memcache files db memory) as live swapable implementations.

AI-written summary · about

  1. 0:00Start
  2. 1:54Software Design Patterns
  3. 2:47The Patterns
  4. 3:19Notations
  5. 3:31Sub-class
  6. 3:48Class Instance
  7. 4:05Building Blocks
  8. 4:42Abstract Classes
  9. 5:59PHP's Iterator Interface
  10. 6:25Laravel's Iterators
  11. 6:40Observer
  12. 7:22Dispatcher
  13. 9:48Multiton
  14. 10:15Database Manager
  15. 11:40Input
  16. 12:03Route
  17. 12:20Response
  18. 13:18Facade vs Singleton
  19. 15:00BootstrapPresenter
  20. 15:51Repository
  21. 16:41Builder (aka Manager)
  22. 17:30Service Provider
  23. 18:00Strategy
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.