Latest Articles

Testing and Debugging in Grok 1.0: Part 1

by Carlos de la Guardia | February 2010 | Open Source Web Development

Some of the things that we will cover in this two-part article by Carlos de la Guardia, author of Grok 1.0 Web Development, includes:

  • Need for testing
  • Testing in Grok
  • Extending the functional test suite provided by grokproject
  • Other kinds of testing
  • Debugging tools
Read Testing and Debugging in Grok 1.0: Part 1 in full

jQuery 1.4 DOM Manipulation Methods for Style Properties and Class Attributes

by Jonathan Chaffer Karl Swedberg | February 2010 | AJAX Open Source Web Development

All of the methods in this article by Karl Swedberg and Jonathan Chaffer, authors of jQuery 1.4 Reference Guide, manipulate the DOM in some manner. A few of them simply change one of the attributes of an element, while others set an element's style properties. All of these methods are referred to as setters, as they change the values of properties. A few of these methods such as .attr() also act as getters, retrieving information from DOM elements for later use.

Read jQuery 1.4 DOM Manipulation Methods for Style Properties and Class Attributes in full

PHP Web 2.0 Mashup Projects: Your Own Video Jukebox: Part 1

by Shu-Wai Chow | February 2010 | AJAX MySQL Open Source PHP Web Development

In this article by Shu-Wai Chow, we will begin with a project to create our own personalized video jukebox. This mashup will pull music lists feeds from the social music site, Last.fm. We will parse out artist names and song titles from these feeds and use that information to search videos on YouTube, a user-contributed video site, using the YouTube web service. We will also take a look at the three different XML-based file formats from those two sites: XSPF for song playlists, RSS for publishing frequently updated information, and YouTube's custom XML format. Rather than creating our own XML-based parsers to parse the three formats, we will use parsers from PEAR, one for each of the three formats. Using these PEAR packages, we will create an object-oriented abstraction of these formats, which can be consumed by our mashup application.

Read PHP Web 2.0 Mashup Projects: Your Own Video Jukebox: Part 1 in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software