Your current filters are…
by Ryan Weaver
Whether you like flat php, Symfony, Drupal, Zend Framework or anything in between, we’re all solving the same fundamental problems. In this workshop, we’ll explore just how small the world is by building a “flat” PHP application, identifying these problems, and solving them piece by piece. We’ll learn what a “framework” really is as we create our own using components from Symfony, Zend Framework, and Lithium. When you leave, you’ll understand how to use a PSR-0 autoloader to bring new libraries into your app, how a dependency injection container can help you, and what’s really going on under the surface of the popular frameworks and CMS libraries.
Now that you know the basics of unit testing, you are ready to dive into advanced mock framework techniques and learn about integration testing. Some topics included are constraints (Hamcrest), mock frameworks, external and hostile dependencies, and DBUnit. This tutorial should teaching you integration testing techniques and better use of mock framework. You should leave this session knowing when write an integration test and when mocks are sufficient. Example code uses the PHPUnit framework. This course is a continuation of Developer Testing 101.
by Rob Richards
APIs are pretty much a necessity for organizations in this day and time, although many have a difficult time trying to figure out how to get started. It is not as simple as standing up and endpoint and exposing data as one must be cognizant of both the consumer and the delivery mechanisms in order to make an API successful. In this tutorial, I will briefly go through some of the whys of having an API and what one would want to be exposing before we go into depth on creating and exposing these APIs. Using real world scenarios we will explore creating APIs with different data formats, ways to expose them as well as how to deal with debugging when things go wrong. In addition to the creation, understanding and being able to write consumers is also a critical skill when developing APIs. We will cover this not only as part of debugging, but also when working on and discussing different consumer types such as mobile applications.
This workshop is a hands-on training where a real Zend Framework application is used as an example to start improving QA using tools to test, document and perform software metric calculations to indicate where the software can be improved. I also explain the reports produced by a CI system.
22nd–25th May 2012