Parsing XML documents with CSS selectors

Posted From Fabien Potencier / March 31, 2010 /   Categorised in General  

HTML and XML documents are the bread and butter of web developers. On a day to day basis, you probably create a lot of HTML documents. And odds are you also need to parse some from time to time: because you consume a web service and want to extract some information, or because you want to gather data from scraped web...

Tags:

 XML  XPath  CSS

The state of YAML in PHP

Posted From Fabien Potencier / December 21, 2009 /   Categorised in General  

My first exposure to YAML was in 2001, back in the days when I was mainly working with Perl. Well, I was not using YAML per se at that time, but rather Data::Denter, a Perl library that provides data serialization/deserialization. I used this library mainly for debugging purposes. From its documentation: "It formats nested data...

Pirum, the Simple PEAR Channel Server Manager

Posted From Fabien Potencier / November 28, 2009 /   Categorised in General  

Some weeks ago during the Zend Conference, I quietly released Pirum, a simple PEAR channel server manager. As some people talk about it on "social networks", I thought I should write an official announcement on my blog to explain where I come from. A PEAR channel server allows you to install PEAR packages with the...

Tags:

 Zend  Pear  XML  PHPUnit  Git

Templating engines in PHP - Follow-Up

Posted From Fabien Potencier / October 9, 2009 /   Categorised in General  

My post about template engines in PHP received more than 70 comments as of now, and counting. That's a lot considering most of them are really well thought out, and backed with solid counter-arguments. Thanks everybody for taking the time to participate constructively to the discussion. I'm really proud that the...

Tags:

 Zend  Pear  MVC  XML  CMS

Growling PHPUnit's test status

Posted From Raphael Stolt / June 3, 2010 /   Categorised in Tutorials  

Two years ago I blogged about a Xinc (R.I.P?) plugin that growls each build status for any via Xinc continuously integrated project. Since I'm using PHPUnit more and more lately, especially in continuous testing sessions (sprints without hitting the continuous integration server), my dependence on a fast and more visual...

Tags:

 Zend  XML  PHPUnit  API  Windows  Framework

Several months ago Twitter added the list feature to it's public API. While debating some use cases for an event registration application I stumbled upon an interesting feature, which adds participants automatically to a Twitter list upon registration. This way registered and interested users can discover...

Tags:

 Zend  XML  API  Framework

Since PHPUnit 3.4.0 a new extension point for interacting with issue tracking systems (TTS) based on the test results has been added to PHP's first choice xUnit framework. The extension point has been introduced by an abstract PHPUnit_Extensions_TicketListener class, which allows developer to add...

Tags:

 XML  PHPUnit  API  Framework

Working on a project involving several legacy data migration tasks, I got curious what the Zend_Tool_Project component of the Zend Framework offers to create project specific providers for the above mentioned tasks or ones of similar nature. Therefore the following post will try to...

Tags:

 Zend  XML  Framework

Testing Phing buildfiles with PHPUnit

Posted From Raphael Stolt / May 10, 2009 /   Categorised in Tutorials  

While transforming some of the Ant buildfile refactorings described in Julian Simpson's seminal essay into a Phing context, it felt plainly wrong that I didn't have any tests for the buildfile to back me up on obtaining the pristine behaviour throughout the process. While Ant users can rely on an Apache project...

Tags:

 Phing  Apache  XML  XPath  PHPUnit  API  Framework  Git

Creating and using Phing ad hoc tasks

Posted From Raphael Stolt / April 18, 2009 /   Categorised in Tutorials  

Sometimes there are build scenarios where you'll badly need a functionality, like adding a MD5 checksum file to a given project, that isn't provided neither by the available Phing core nor the optional tasks. Phing supports developers with two ways for extending the useable task pool: by writing...

Tags:

 Zend  Phing  Apache  XML  PHPUnit  Framework  Git

Feedback

Send us your suggestions to improve the site.
  • This field is required.

  • We won't share this with strangers.