Free Zend Framework screencasts. Video tutorials to get you up to speed with different parts of the Zend Framework and enterprise PHP development.
Adding jQuery RESTful calls for using the DELETE verb when deleting items via a JSON REST interface.
A quick look at how you can send PUT requests (REST update calls) to your SLIM-based JSON endpoint.
Part 2 in a series on building a JSON end-point. We're using simple RESTful verbage to grab a list of names from a session store.
Writing complex JavaScript applications can be tricky if your service layer isn't well managed. This video will show you the first part in a series on building a RESTful, JSON-driven endpoint for web applications.
Setup your PHAR archive in order to handle autoloading classes. This will greatly simplify your deployment of a PHAR that is referenced in your application.
An introduction to working and building with PHAR: PHP ARchives.
An interview with J. Chris Anderson, one of the founders of Couchbase, a company pioneering the NoSQL movement.
Write a custom zend application resource for easy configuration and integration.
A look at how Zend_Filter works and how you can write one yourself.
Quickly integrate HTMLPurifier into your Zend Framework application.
Use Events in Doctrine 2 to handle trivial portions of your domain models.
Building and testing a many-to-many relationship. This was a bit of a rocky video, but I also include some tips for debugging your Doctrine 2 configuration.
Setup One-to-Many with Doctrine 2 using PHPDoc annotations.
Integrate Doctrine 2 into your Zend Framework project. Drive with tests first!
Setup WURFL and a Controller Plugin for detecting browser capabilities.
Use a Zend_Controller plugin to change your layout based on a user's current mobile platform (iphone, blackberry, android).
A look at how action helpers function and effective ways of unit testing them.
A look at how Action Helpers can help you build controller-level-functionality without duplicating code.
Build a form for changing user passwords with 100% code coverage.
A walkthrough on how to build up a simple model layer using a test-driven development approach.
Quickly and easily consume an RSS feed with Zend_Feed and then filter the result set.
Develop your own jQuery autocomplete control, using a country list, PHP 5.3 and anonymous functions.
Quickly integrate jQuery and jQuery UI into your Zend Framework project.
Quickly and easy it is to write designer-friendly HTML emails using Zend_View and Zend_Mail
First of all, I’d like to thank you all for your patience! Zendcasts takes quite a bit of time and research to put together and I’m deeply touched by all your support. On a personal note, my wife and I are heading out of North America in a week to visit Namibia and South Africa…
Reporting with Zend_Tool and Zend_Log This video uses a collection of powerful PHP libraries in order to illustrate how easy it really is to build a command-line tool for reporting against XML files. We start off by logging visitor statistics in the controller into a log file with Zend_Log. Once data has been collected, we’re…
This screencast should help you setup Zend_Tool in your Zend Framework application. Zend_Tool is a command line entry point into your application. Currently, Zend_Tool is used to scaffold (build generic files) the Zend Framework project structure, modules, controllers, database table classes and other tedious processes. The goal of this video is to start looking at…
We’re going to take what was put together in the last 3 videos and now include some server-side validation that will appear asynchronously. This is an example of using Zend_Form as a validation tool via JSON. Grab a copy of the project or browse the repository. UPDATE: as a couple people have mentioned, you can…
In this video, we’re going to work on building a custom validator for our composite form element for phone numbers. The nice thing about this validator is that it can then be applied to any sort of textbox. Next week, we’ll ajaxify our final form with a handful of lines of jQuery. Grab a copy…
This is part in my litte series on Zend_Form will cover how to prep our composite form element for standardized Zend_Form validators. This will help lead us into building a Zend_Form validator for our phone element. It might help to start with episode 49. Grab a copy of the project or browse the repository. ServerGrove…
This video should help you build your own composite Zend_Form element. We’ll be building a phone element. The phone element will have 3 textboxes, one for geographic location, area code and local code. In the following videos will add a custom cell phone validator and some ajax validation. Grab a copy of the project or…
This little video tutorial should set you up for building your own custom Zend_Form decorators in 15 minutes. I’ll show you how you can make the necessary class and have it easily added to your existing Zend_Form_Decorator configuration. Grab a copy of the project or browse the repository. In other news, ServerGrove is giving Zendcast…
One of the pain points for folks who are starting to work with the Zend Framework is the Decorating functionality found in the depths of Zend_Form. I’ve witnessed countless instances when a developer becomes excited by Zend_Form’s easy-to-implement form validation and creation, only to become frustrated by countless hours of fighting with Zend_Form_Decorators. This video…
This short video is going to be the last in my 2009-2010 series on Doctrine 1.2. I’m wrapping it up with a little example of adding timestamps, logging and using Doctrine’s event listener architecture. Grab a copy of the project or browse the repository. ServerGrove will be sponsoring 3 videos this month! ServerGrove specializes in…
A big thank you to Ryan Horn for putting together this great screencast about Zend_Mail. Ryan took the time to talk about how to setup a dev environment that uses a gmail account. This is perfect for folks like myself who work in a development environment that’s behind an annoying ISP firewall on SMTP (port…
Here’s the second part of my Doctrine / Zend_Auth example. In 15 minutes, we create a logout, login and protected area that’s reliant on the ZC_Auth_Adapter adapter we created in last week’s video. Notice how there’s no code in the IndexController exposing the authentication implementation, Grab a copy of the project or browse the repository.…
I’ve been using Doctrine a lot in my own work, and recently found myself itching to have tighter integration between Zend and Doctrine when it comes to user logins. Luckily, Zend provides a very simple interface with regards to Zend_Auth. This way, it’s easy to decouple your persistence layer (in my case Doctrine) from the…
There’s been a lot of talk online about finding the best approach for bringing Zend and Doctrine 1.x together. This video is my humble approach of combining some of the learning brought about over the last few weeks on Zendcasts, as well as suggestions from Doctrine developers. The goal of this video is to show…
This short podcast covers how you can easily build a form using Zend’s MVC model via Zend_Controller and using Doctrine for persistence. You can download the source code or browse it online. Enjoy!
This episode of zendcasts will cover how we can write Data Fixtures and extend our data model to include a simple one-to-many using Doctrine’s schema.yml file. I also noticed in the code of my last example that Model loading wasn’t working properly. I cover the fix in the video, however I’d like to highlight it…
Building on the Introduction to Doctrine 1.2 video, this video will show how you can easily test the persistence of Doctrine models within the Zend_Test environment. I also touch briefly on how to setup the latest version of MAMP with phpunit. Edit: I spoke to Guilherme Blanco (one of the core developers behind Doctrine) and…
By popular demand, I’ve put together an introduction to Doctrine 1.2 integration with the Zend Framework. Doctrine is a fantastic ORM (object-relational mapping tool). If you’ve jumped from NHibernate or Hibernate and are itching to have a powerful tool for handling database relationships, Doctrine is probably your best bet. On the mailing lists, there’s a…
One of the big things that the Zend Framework has over other frameworks is the built-in locale and language tools provided by Zend_Translate and Zend_Locale. All this comes with plugins into Zend’s templating system via Zend View Helpers. This video covers setting up some language-friendly routes, writing a custom language switcher Zend Controller Plugin and…
We’re going to build on what was covered in the last video and work with Zend Controller Plugins to specify a special layout for each module in our application. We’ll also look at how we can clean up the configuration of our Bootstrap.php file by moving as much configuration as possible into the application.ini file.…
I had to take a little hiatus the last few weeks, however I’m hoping to get back into a weekly posting schedule. This video is an introduction in how to effectively use Zend Controller Plugins. The Zend Documentation refers to Zend Controller plugins being part of the Action Stack which is a simple data structure…
A short video showing how you can test and implement Zend_Cache on a class that makes a really slow request (like a web service call). This is part 4 in a four part series on Google Docs and Google maps. While this example shows how to cache a Class to a file, you could easily…
This episode will wrap up the google docs series. You can start with Part 1 and Part 2, or jump straight into this one. With our persistence layer (the Google Docs Spreadsheet) and unit tests around geo-targetting addresses completed, we’ll tackle the view and try and visualize our data using the Google Maps API. This…
I’d like to introduce Tawfek’s sequel to his video covering Debugging in Firebug with the Zend Framework. If you’re looking for a tutorial on how to write a custom Action Helper, or wishing to make your ajax development more robust with logging and profiling, then these 33 minutes will save you a pile of googling.…
This video will is part of a multi-part series on looking at how we can leverage some of Google’s API’s to build a fancy mapping tool that’s driven from a Google Docs Spreadsheet. If you haven’t worked with Google Docs or Zend_Gdata before, I suggest you take a look at the video introducing Zend_Gdata and…
Tawfek is back! This is part 1 of a two part series where Tawfek will be taking us through how Firebug and the Zend Framework can work together to provide non-intrusive debugging and accurate profiling information for an application. This is a great feature that every Zend Developer should know about. Browse or download the…
This video is going to be first in a small series looking at how we can integrate a small handful of the many Google APIs into a Zend Application. We’ll look at using a google docs spreadsheet as a data store and have it talk to your zend application through a small collection of unit…