want to join us? register, it's easy | help
 

CalEvans has submitted 12 links

category icon

Zend_Gdata for Picasa, YouTube, Google Documents List

in PHP added by CalEvans, on 19/12/2007 GData advanced tutorials google php5 zend framework

The Zend_Gdata component of Zend Framework offers PHP 5 classes to access services supported by the Google Data APIs. The recent Zend Framework 1.0.3 release includes new support for some great services, including Picasa Web Albums, YouTube, and Google Documents List.

comment save report
category icon

An Introduction to the Art of Unit Testing in PHP

in PHP added by CalEvans, on 4/12/2007 PHPUnit beginner tutorials simpleTest testing

Testing is an essential aspect of developing in any programming language. If you don't test your source code then how can you verify it works as expected? Manual testing can only be performed irregularly and usually only in limited ways. The answer to testing source code regularly, and in depth, is to write automated tests which can be frequently executed. In PHP such tests are usually written using a unit testing framework, a framework which allows the source code of any application or library to be tested as isolated units of functionality such as a single class or method. As unit testing has gained popularity, it has become a standard practice in PHP with libraries and frameworks such as Swiftmailer, the Zend Framework and Symfony all requiring unit test coverage of their source code.

comment save report
category icon

The Standard PHP Library (SPL)

in PHP added by CalEvans, on 1/10/2007 SPL Zend advanced tutorials

As its name implies, the goal of the Standard PHP Library-or SPL, for short-is to provide a standard library of interfaces that allows developers to take full advantage of object-oriented programming in PHP 5.
This library of interfaces creates a standard API for certain kinds of built-in functionality, allowing your classes to interact with the PHP engine in a much more seamless manner. The functionality it provides includes, for example, the ability to define how your objects will react when iterated over with foreach, advanced array access, file and directory access, and advanced SimpleXML object handling. The largest chunk of functionality that the SPL provides comes in the form of iterators.

comment save report
category icon

Acceptance Testing of Web Applications with PHP

in PHP added by CalEvans, on 6/7/2007 PHPUnit Selenium advanced tutorials unit testing

In this article I introduce the topic of Acceptance Testing (aka Functional Testing), something more PHP programmers should be starting to practice. I'm sure many of us are well aware of Unit Testing and even Integration Testing so where does this third wheel come into play for web applications given our growing obsession with Web 2.0 and AJAX and how does it differ from the former two practices? Below I'll explain this. I will also introduce how to implement Acceptance Testing using the killer combination of PHPUnit and Selenium.

comment save report
category icon

Scalability and Responsiveness with Zend Platform's Job Queue

in PHP added by CalEvans, on 26/6/2007 Job Queue Zend Platform advanced tutorials

The Zend Platform Job Queue is used to make applications more responsive by allowing tasks to be performed on other machines (e.g.: dedicated machine), and scheduling tasks to a future time (usually to low-traffic hours). Moreover, Job Queue supports more complex application-level logic such as recurring jobs, job dependencies, job priorities, different scheduling algorithms (by priority, application etc.), easy detection and handling of failed jobs. Job Queue offers both a web-based management UI, and a programmer-oriented rich API, which allows embedding sophisticated logic into applications. This article will demonstrate basic usage of Job Queue.

comment save report
category icon

Dynamically Creating Compressed Zip Archives With PHP

in PHP added by CalEvans, on 7/6/2007 advanced tutorials compress zip

PHP too has included support for the ZIP format since PHP 4.x but it was only recently when, idly browsing the PHP manual, I realized that PHP 5.2.0 includes a re-engineered version of the ext/zip extension, one based on the zlib library. Bored and not a little intrigued, I decided to try it out. And over the next few pages, I'm going to tell you what I found.

comment save report
category icon

PHP Abstract Episode 1 - PHP Secuity Tips

in PHP added by CalEvans, on 6/6/2007 podcast security

Eli talks to us about practical tips you can use to help make your application more secure.

comment save report
category icon

Flex and PHP: Party in the Front, Business in the Back

in PHP added by CalEvans, on 13/5/2007 advanced tutorials flash flex mvc ria zend framework

Since the first time I really saw and understood what Flash was and did, I've been jealous of what Flash designers could do. Beyond just the cute animations for banner ads and games, Flash designers have always had a much more fine-grained control on their environment that HTML allows for. Besides my innate inability to design anything like a usable interface, the main drawback that has kept me from exploiting Flash is I never could get my head around the "Movie Timeline" metaphor for programming. As we say back home, "It just ain't right."

That all changed with Flex. Now programmers can work with tools they are comfortable with and still take advantage of all of Flash's...well, flash. Flex won't help developers like me design eye-pleasing interfaces any more than a new pencil would improve my inability to draw. However, I can now put much more useful interfaces on my back-end code. That brings us to our topic, using Flex as a front-end for PHP web services. More specific, we will be using PHP and the Zend Framework as the back-end data source for a Flex application.

comment save report
category icon

AJAX Chat Tutorial Part 5: The Javascript, Sending Chat Messages, Screen Name Changes

in PHP added by CalEvans, on 13/1/2007 AJAX JavaScript mysql oo programming zend framework

Part 5 of our 7 part tutorial on creating an Ajax based Chat application.

comment save report
category icon

Using Zend Framework Without PDO

in PHP added by CalEvans, on 12/1/2007 MDB2 PEAR databases zend framework

This is a very quick tutorial on how to allow developers to develop using the Zend Framework without having to or being able to install PDO on their servers.

comment save report
category icon

AJAX Chat Part Tutorial 6 : Updating the User List

in PHP added by CalEvans, on 8/1/2007 AJAX media mysql php zend framework

This is Part 6 of a 7 part tutorial on how to create an web based chat application using Ajax, MySQL and the Zend Framework.

comment save report
category icon

AJAX Chat Tutorial Part 3:Storage Medium, XML and the Message Process

in PHP added by CalEvans, on 30/12/2006 AJAX chat oo programming php5

As our chat application gathers pace we return to the server side of the application. At this point we have setup the Zend Framework with an IndexController class to handle server requests.

comment save report