For information on exhibition and sponsorship opportunities at the convention, contact Sharon Cordesse at scordesse@oreilly.com
Download the OSCON Sponsor/Exhibitor Prospectus
View a complete list of OSCON contacts
Attendee prerequisites for this tutorial are listed below.
This tutorial will cover a number of libraries that are pushing PHP forward to exciting new places. Expect a primer on subject of dependency injection and object composition, followed by introductions to a number of PHP frameworks, libraries and tools including Symfony2, the Doctrine MongoDB ODM, the Twig templating language, the asset management framework Assetic, and PHPUnit. Once these quick tours are done we will demonstrate the rapid development of a sample application the integrates them all.
PREREQUISITES
You should have the following software installed and running on your laptop when you arrive at the tutorial.
MACINTOSH
If you use Macintosh you can install PHP 5.3 using Homebrew:
https://github.com/mxcl/homebrew/wiki/installation
Note: this requires that you install Xcode, which should be available on your Mac OS X installation DVD, or as a rather large download from connect.apple.com.
You can then install PHP with the following command: brew install—with-intl https://raw.github.com/adamv/homebrew-alt/master/duplicates/php.rb
You can also use the brew command to install MongoDB and Git: brew install mongodb git
WINDOWS
Download and install Apache: http://httpd.apache.org/download.cgi#apache22
Windows binaries for PHP are available here: http://windows.php.net/download/
Instructions for installing MongoDB on Windows can be found here: http://www.mongodb.org/display/DOCS/Quickstart+Windows
Install Git using mysysGit: http://code.google.com/p/msysgit/downloads/list
LINUX
Ensure that git is installed via your package manager.
In addition to installing PHP 5.3 for your webserver of choice, be sure to install php5-cli and php5-intl.
MongoDB 1.8, in either binary or packaged form, may be downloaded here: http://www.mongodb.org/downloads
PECL and PEAR libraries
Install the Mongo driver using PECL: http://www.mongodb.org/display/DOCS/PHP+Language+Center
Install PHPUnit 3.5.14 using PEAR: http://www.phpunit.de/manual/3.5/en/installation.html
Install Behat 2.0 and Mink 1.0 using PEAR: http://pear.behat.org/
QUESTIONS for the speaker?: Use the “Leave a Comment or Question” section at the bottom to address them OR email the speaker at kris [dot] wallsmith [at] gmail [dot] com.
Kris is a member of the Symfony core team, Symfony Guru at OpenSky, and long-time advocate for simple solutions to complex problems. He works from his home office in Portland, Oregon where he and his wife raise their three young children.
Jeremy is an active member of the Symfony2 community and has been a core contributor to the framework since early 2010. He is also involved with numerous other projects: Doctrine MongoDB ODM, Silex micro-framework, Composer (PHP package management) and Imagine (image processing).
Although not a serial speaker, he has had the honor of presenting at Symfony Live Paris and conducting a tutorial at OSCON during 2011. He is currently a lead software engineer with Exercise.com and has previously built great things at OpenSky and InterActiveCorp.
Dustin Whittle works as a consultant and trainer for Sensio Labs. Sensio Labs is the creator of the open-source PHP framework Symfony. Previous to Sensio Labs, he worked as an engineer and developer advocate at Yahoo Developer Network. Find out more at dustinwhittle.com
Comments on this page are now closed.
Comments
Khaled: I don’t believe anyone from OSCON was recording this, so you’ll have to make do with slides. If there’s any questions, feel free to reach out to one of us.
Any recordings for this session?
Interesting and informative presentation. Using the USB sticks was a good idea; I recommend doing that first thing next time.
ChrisJeremy: the slides are available at the top of this page, just above the tutorial description – 2 PDFs. And we’ve just embedded the Slideshare link Jeremy has provided.This was a great overview of the current smart thinking in the direction of PHP frameworks and testing harnesses. The information will be very helpful for me reviewing our own practices and may even find its way into our development cycle. The only downside was that there was too much material for the time. Thanks Kris, Dustin, and Jeremy!
Chris, Dustin and I uploaded the slides last night, so I’m not sure why they’re not listed here. We’ll ping OSCON about it.
In the meantime, the BDD (Behat and Mink) slides were here: www.slideshare.net/jmikola1...
Great intro to some exciting things—eager for the slides.
Kurt, we’re waiting for OSCON to update the instructions above, but in the meantime:
Linux
PECL and PEAR libraries
MACINTOSH??? WINDOWS??? Really?!? Is this OS-con, or micro$oft-con…
Can i know where the tutorial is? CSS Training
Thanks for this.