Archive for August 2nd, 2006
PHP Developer - August 2nd, 2006
It seems Paul Jones and the Solar crew forgot to mention something with their latest release of the framework - a new authentication adapter for using Typekey in your code
As astute observers will have realized, the most-recent release of Solar had a new authentication adapter in it: Solar_Auth_Adapter_Typekey.
In this article, I’m going to talk a bit about Solar authentication in general, and then TypeKey authentication in specific.
Paul talks first about authentication in general using Solar, giving a simple code example of using the Solar_Auth class. With that base in place, he moves on to the TypeKey authentication, a more unified method for user validation than just using a seperate login at each site.
He explains what’s needed to get the ball rolling and demonstrates a TypeKey login link and the setup for the adapter to validate the user.
Continue Reading ·
PHP Developer - August 2nd, 2006
Now that this year’s OSCON has been drawn to a close, numerous bloggers are posting their perspectives on the event, and the latest of these is this new post from Chris Shiflett.
Several of my colleagues at OmniTI and I just returned from our trip to Portland for this year’s OSCON. It’s difficult to summarize such a conference in a single blog post, so I’ll probably be blogging quite a bit over the next couple of weeks in an attempt to catch up as well as expand on a few things.
In his lengthy post today, Chris covers his experiences at the conference as well as some of the highlights:
- Monday’s PHP-related talks: Scalable Internet Architectures, Power PHP Testing, High Performance PHP, and Essential PHP Security
- Wednesday’s talks: Dirty Secrets of PHP 5’s Ext/SOAP Extension, the PHP Lightning talks, and PHP 6 and Unicode
- Thursday’s talks included: Rasmus’ Get Rich with PHP 5 talk, I’m 200, You’re 200: Codependency in the Age of the Mash-Up, and the PHP Security Testing talk from Chris
- Other talks included Writing Maintainable Code with PHP and Understanding ZFramework
- and, of course, “The Underpants Gnomes Strategy Guide: An eCards Case Study” from Terry Chay
This only touches on the things Chris mentions, so check out his post for the full story.
Continue Reading ·
Dev Shed - August 2nd, 2006
Although the article s title may seem a bit intimidating the truth is that things are much simpler than you think. Like many other programming languages PHP also allows you to construct and use visitor objects with minor hassles. But before I go deeper into the subject first let s ask ourselves the following question what are visitor objects after all …
(Advertisement) Automate Software Builds with Visual Build Pro Easily create an automated, repeatable process for building and deploying software.
Continue Reading ·
PHP Developer - August 2nd, 2006
Hot on the heels of their previous patterns-related series, DevShed has posted this new tutorial with a look at the Visitor pattern, specifically as applied to objects.
You’ll agree with me that one of the most interesting aspects of design patterns is precisely their practical side. Therefore, considering this undeniable fact, in conjunction with your permanent wish for extending your background in object-oriented programming with PHP, over the course of this series I’ll be showing you some useful examples of how to build visitor objects, and more specifically how to include them in real-world applications.
They start with an example, complete with code, of a simple addElement call to store data in an array. The next logical step for storage is to an external resource, so they modify things slightly to write the data out to a file. Finally, they define the other side of things - the actual object that does the “visiting” to the previously defined classes.
Continue Reading ·
PHP Developer - August 2nd, 2006
ScratchProjects has posted a two-part series on cominging two powerful web technologies - PHP and Ajax - to create a simple, yet effective application, an RSS feed reader.
In part one of the series, they focus on the fundamentals - the “hows” of combining PHP and Ajax, introducting the code and its parts, then getting into the examples, showing how to make a simple call to the rss.php backend script to grab the RSS data and push it into a DIV on the page.
Part two jumps in with both feet, setting up the database you’ll store the feed locations in before getting to the heart of the application. They create the form to add the feed to the database, make the functions to grab a list of the feeds from the database, and, finally, display the parsed results of those feeds on the page.
It’s nothing fancy, but it does show the development of a simple application in two parts complete with the source code ready to be downloaded and adapted.
Continue Reading ·