Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

PHP, Lithium and MongoDB

12,402 views

Published on

This is the deck from the presentation in Boston 2010.

Published in: Technology
  • Be the first to comment

PHP, Lithium and MongoDB

  1. 1. PHP, Lithium, and MongoDB Mitch Pirtle MongoBoston - September 20, 2010 Boston, MA
  2. 2. One thing real quick.
  3. 3. Microsoft NERD, right? There’ll be no talk of convergence or paradigm shifts here There will be code COFFEE!
  4. 4. About the speaker Nothing but web since 1995 Contributor to many FOSS projects (Joomla! founder) Budding author MongoDB for Web Development Extreme Joomla! Performance High-traffic projects (Jetsetter, MTV, Food Networks) Husband, dad, skate punk, metalcore bassist, coach
  5. 5. What is MongoDB? Document database Wicked fast speed Encourages simple code, fewer bugs Great for scale
  6. 6. What is Lithium? web - http://lithify.me irc - #li3 on freenode.net http://www.slideshare.net/nateabele/lithium-the- framework-for-people-who-hate-frameworks Projects demonstrating MongoDB support: http://rad-dev.org/lithium_mongo http://rad-dev.org/lithium_blog
  7. 7. Ok, what exactly is it?
  8. 8. Ok, what exactly is it? Requires PHP 5.3+
  9. 9. Ok, what exactly is it? Requires PHP 5.3+ Promiscuously opinionated framework
  10. 10. Ok, what exactly is it? Requires PHP 5.3+ Promiscuously opinionated framework MVC, but pragmatic - not dogmatic
  11. 11. Ok, what exactly is it? Requires PHP 5.3+ Promiscuously opinionated framework MVC, but pragmatic - not dogmatic Wicked, whack-daddy fast
  12. 12. Ok, what exactly is it? Requires PHP 5.3+ Promiscuously opinionated framework MVC, but pragmatic - not dogmatic Wicked, whack-daddy fast Pretty much everything is a plugin
  13. 13. Ok, what exactly is it? Requires PHP 5.3+ Promiscuously opinionated framework MVC, but pragmatic - not dogmatic Wicked, whack-daddy fast Pretty much everything is a plugin Provides test harness, and much more
  14. 14. Benefit: Environments Separate configuration Better integration Better workflow for development
  15. 15. Benefit: Connections Uses environments Multiple database types Multiple database connections Yes, these are concurrent
  16. 16. Benefit: Collections Specifically for document databases Embedded data/lists No schema definition required
  17. 17. Benefit: Plugins Everything is a plugin Even Lithium is a plugin
  18. 18. Benefit: Filters Lithium takes advantage of, and encourages the use of filters http://php.net/manual/ en/book.filter.php
  19. 19. Is it fully baked? Nearing 1.0 release Model constraints (belongs to, has many, etc.) are being finished as you watch this talk Some generators, scaffolds under construction
  20. 20. Why Lithium + MongoDB? You don’t have to define the schema in your models. Read that first one again. Lithium does not force relational practices on your data. Namespaces, chaining, filters, closures...
  21. 21. Some light reading To help you get your groove on
  22. 22. http://lithify.me/ Your handy dandy starting place of all starting places
  23. 23. http://rad-dev.org/lithium/ The official project home of Lithium
  24. 24. http://rad-dev.org/projects Additional sundry Lithium-based projects
  25. 25. The Quintessential Blog Tute http://rad-dev.org/lithium/wiki/drafts/blog-tutorial
  26. 26. PHP Filters Reference http://us3.php.net/filters
  27. 27. Enough talking, show us some code!
  28. 28. ‘Scuse me While I whip this out...
  29. 29. Stump the Speaker™
  30. 30. Thanks! Email: spacemonkey@mongodb.org Skype: mitch.pirtle Web: http://www.spacemonkeylabs.com Slides: http://www.slideshare.net/ spacemonkeylabs
  31. 31. Image credits Nerdy Bush: http://www.freakingnews.com/Nerd- George-Bush-Pictures-38786.asp Reading glasses: http://www.sxc.hu/photo/89159

×