Archive for October 16th, 2006

Sort List Alphabetically, Grouped by First Letter

Have a list of movies or music? Want them sorted alphabetically, and have them grouped by the first letter?

Continue Reading · Add comment

Matthew O’Phinney’ Blog: Zend_XmlRpc_Server

Matthew O’Phinney has been hard a towkr these past few months on his own contribution to the Zend Framework, the Zend_XmlRpc_Server package. He talks about it on his latest blog posting today.

In the past couple weeks, I’ve refactored it to push the class/function reflection into Zend_Server_Reflection, and, in doing so, noted that there were further areas for refactoring into additional helper classes. Currently, it now has classes for the Request, Response, and Faults, and all actual XML wrangling is done in those, making the server basically XML-agnostic.

The refactoring of the code also had another positive side effect - it made it much simpler for him to write up the tests to ensure the correct functionality of the package. He includes an example of the use of the package, a fake request with various methods in the comb, brush, and pick categories.

If you’d like to mess with the extension yourself, check out the Zend Framework subversion repository and grab the latest incubation distribution.

Continue Reading · Add comment

Creating a Simple Threaded Discussion Forum

Most websites have some method of interacting with a visitor. Some have a chat system and others have shoutboxes or other ways to attract the visitor to return. One of the most used methods is a discussion forum. And this is what we are going to create and discuss in this article the first of two parts ….

Rackspace-Managed Servers, Fanatical Support™ Full-Scale Microsoft & Linux Solutions & 0% Network Downtime! Click here now!

Continue Reading · Add comment

DevShed: Creating a Simple Threaded Discussion Forum

DevShed starts off another two parts series today with a look at a common feature of many a community site out there - the creation of a simple forum to allow visitors to interact and discuss the latest.

Most websites have some method of interacting with a visitor. Some have a chat system and others have shoutboxes or other ways to attract the visitor to return. One of the most used methods is a discussion forum. And this is what we are going to create and discuss in this article.

This is part one they create the main index page, listing out the current topics, a “view article” page to show the details of the post, and, of course, a way to respond to the current thread for any and all to use. Keep an eye out for the next article where they create the administrative section for the application.

Continue Reading · Add comment

Lukas Smith’s Blog: Little status update

Along with a few personal comments, Lukas Smith has posted some thoughts about the state of everything PEAR following his stepping down from working as an active developer on the project.

I guess with me and Pierre leaving it did spawn a lot of energy about how to organize PEAR in the future. I am still participating in this discussion to some extent, mainly functioning as the historian who can explain why things are the way they are etc in order to prevent people from making rash decisions or even worse repeating old mistakes.

He also comments on the state of package submissions to PEAR, noting that some of them are just unrealistic and that it might be better to start a “PEAR2″ side to allow for some of these more expanded ideas to flourish.

Instead I think each of the categories should manage itself more. So packages approval would be handled within the category. The same for QA’ing etc. This way new developers would not be facing this gigantic community. I think this is simply overwhelming. Even for old developers it becomes impossible to feel “at home” in a project of the size of PEAR.

Continue Reading · Add comment