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

CalEvans has submitted 18 links

category icon

PHP on the D-Bus

in PHP added by CalEvans, on 10/11/2009 advanced tutorials oo programming php5 podcast

The D-BUS Inter Process Communication mechanism is the basis for many system-related functionality on Linux-based systems. Both GNOME, KDE, as well as the Open Moko Linux computing platform use it extensively for everything related to talking to services and hardware. Skype, as well as other applications, provide D-BUS APIs as well. In this presentation I will be presenting a PHP/D-BUS integration to allow PHP to talk to D-BUS aware applications. I will demonstrate controlling Skype from PHP, as well as the implementation of PHP-GTK based applications on the OpenMoko to talk to, and use the different hardware services it offers, such as GSM and GPS. This talk should show a few things that people don’t really associate PHP with, and thus provide some insight that PHP’s strength is not only on the Web.

comment save report
category icon

Precision color searching with Gmagick and Amazon Elastic MapReduce

in PHP added by CalEvans, on 3/11/2009 advanced tutorials cloud gmagick php5

In this article we look at combining Amazon's cloud tools, PHP and Gmagick to perform color searching on photographs.

comment save report
category icon

PHP and the Cloud

in PHP added by CalEvans, on 1/4/2009 Amazon cloud computing

Cloud computing refers to the utilization of shared, elastic resources and processing power accessed via the Internet. In some ways, it hails the reversion to the golden age of time-sharing but with significant improvements to the distribution philosophies underlying the delivery infrastructure. So, analogously, we now have the shared wonders of Hyde Park, where everyone and anyone can chill on the bench, throw some Frisbee, instead of having to financially pool money to buy a private park to shoot rabbits.

comment save report
category icon

Debugging Development

in PHP added by CalEvans, on 16/3/2009 debugging

Programming, as much as it is about machines, is conducted by humans, and is as susceptible to human error as any process. These bugs can be frustrating, particularly when found by a client, but they can give an insight into underlying problems, and sometime suggest solutions – or at least ways of catching errors early. This article looks at four different classes of bugs: mechanical, mental, social and environmental, their causes, and some preventative steps.

comment save report
category icon

Getting Started with phpUnderControl

in PHP added by CalEvans, on 8/3/2009 advanced tutorials continious integration phpUnderControl testing

In any decent sized project, the more times you commit code, the bigger the chance is that you will break something. Call it the law of unintended consequences or the butterfly effect, but the fact is that in complex systems, we cannot anticipate all the effects of a change. To deal with this we can either adopt the "release and pray" method of software control, or we can setup systems to help us find the consequences of our actions, so we that can correct them before they become a problem. We usually call these systems Continuous Integration systems.

comment save report
category icon

Getting Started with Memcached

in PHP added by CalEvans, on 21/2/2009 cache memcached

Memcache is a tool which can cache objects in memory – and is often used for speeding up dynamic web applications. PHP has a built-in module for working with memcache, and its a simple and convenient way of introducing caching to your application.

comment save report
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 14/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