Web 2.0: The PHP Layer Cake

Boris Mann - April 14, 2005 - 9:35pm
Boris and the Web 2.0 PHP Layer Cake

I gave this presentation [PDF] at the Vancouver PHP Users Group this evening. I actually really wasn't happy with the first part of the presentation...I genericized large chunks of it, shying away from naming specific web technologies. But, this past weekend I dove into the world of Greasemonkey, and I really felt it had a place in any presentation on Web 2.0, so I had a whole section at the end devoted to it.

The reference to a "layer cake" is really talking about the different components that work together in web applications. This might be in a single application -- the Apache-MySQL-PHP (or AMP) that is quite common -- or it might be different services and content all mixed together. Greasemonkey provides another, richer layer.

The big thing for Greasemonkey was the actually demonstration. Conveniently, I had Safari to show the non-monkey-version, and then switched to Firefox to show the other version. Follow the links below for the user scripts:

I also had FlickRate installed but hadn't enabled my account yet. It allows you to rate Flickr photos. I don't like the fact that you have to fill out all three options -- some pictures I just want to vote on as fun, for instance -- but it's still an interesting application.

One idea that was mentioned in the audience as we were discussing was the concept of building a site that is broadly accessible and functional, and then building your own Greasemonkey script to distribute to power users and influencers.

We also talked a fair bit about security. I'm no more or less worried than any other user installable programs, but there were a couple of head shakes in the audience about the potential havoc that this could cause.

If you want to keep up with Greasemonkey developments (and other Web 2.0 stuff), check out Simon Willison's blog. He's been my guide over the years, starting over at Evolt.org, to cutting edge web technologies.

Thanks to the Vancouver PHP Users Group for having me. Upcoming presentations include one on Moodle and another on remote XUL applications with a PHP backend, both of which I'll likely attend.

AttachmentSize
vancouver.php.net.april14.pdf92.54 KB

Stream the talk

Nathaniel Brown (not verified) - May 12, 2005 - 8:06pm

I have taken the time to digitize Boris's presentation. You can listen online at http://www.nshb.net/streams

About FlickRate

Nicolas Hoizey (not verified) - May 2, 2005 - 6:48am

You're right, it should be possible to rate only one criteria, I put it in the todo list!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.