Wed, 3 Dec 2008 4:00 UTC
Here are the slides for my talk “You Look Like You Could Use Some REST!” given on the general track at php|works and PyWorks in Atlanta a few weeks ago. In my talk, I mentioned that I would be adding my notes from the talk to this blog post, but I’ve decided against doing that for the time being. However, I’ve been thinking about REST a lot lately, and I’ll use this blog in the near future to write some of these thoughts. I’m also working on a now overdue article on REST for php|architect, and I’m sure my editor would not like it if she knew I was blogging about REST instead of writing my article about it. I’ll announce that article here when it’s published so you can go snag a copy.
I will say this one thing, though: In my talk, I mentioned that the REST community doesn’t care much for content negotiation. I simplified the issue, though, because there are really two camps. On the one side, you have those who think content negotiation is the only way to go, and on the other side, you have those who prefer file extensions or query string parameters that denote the content type to return. There is actually an interesting discussion about a proposal to use a type attribute in the a tag in HTML 5 to tell the client what content-type to request for the resource identified by the URL in the href. It might look something like this:
<a type="text/html" href="/user/ramsey">Ben Ramsey</a>,
<a type="application/pdf" href="/user/ramsey">Ben Ramsey (PDF)</a>
And with that, I leave you with the slides for my talk…
Representational State Transfer, or REST, has become the hip, new buzzword of Web 2.0. But what really makes an application RESTful? Is it pretty URLs? Or the use of XML over HTTP? Is it any web service that doesn’t use SOAP? In all of the hype, the definition of REST has become clouded and diluted.
It’s time to take a fresh look at REST. In this talk, Ben Ramsey reintroduces REST and its architectural style. He shows that REST is not only an architecture for web services but that it describes an architecture for the Web. Ramsey will demonstrate how statelessness, a resource-oriented architecture, atomicity of requests, and other traits of REST make the most of the Web’s architecture to provide scalable and simpler web services turning the Web into a platform by which rich clients can access and manipulate data.
1 Comment »
Permalink
Tags: http, presentation, rest, webservices, works
Thu, 24 Jul 2008 23:38 UTC
Here are my slides for the memcached presentation I gave at OSCON this year. I experimented with a new slide template, which turned out for the worst, since the contrast of the type on the screen was very poor, making it difficult for attendees to read. I apologize for this. In addition, I was completely distracted during my entire talk by loud music coming from the room next door. Nevertheless, the majority of my audience was still around even after I ran 5-10 minutes over schedule, eating into their free beer time, so I suppose that says something and that they were learning.
Thanks to all who attended!
Give Your Site a Boost With Memcache
Today’s high-traffic websites must implement performance-boosting measures that reduce data processing and reduce load on the database, while increasing the speed of content delivery. One such method is the use of a cache to temporarily store whole pages, database recordsets, large objects, and sessions. While many caching mechanisms exist, memcached provides one of the fastest and easiest-to-use caching servers. This talk will cover memcached and the memcache extension for PHP from setting up a memcached server to using it to provide a variety of caching solutions, including the use of memcached as a session data store.
No Comments
Permalink
Tags: memcache, memcached, oscon, oscon08, presentation, talk
Wed, 4 Jun 2008 16:32 UTC
As promised to the attendees of my talks, I have posted the slides for my presentations on SlideShare.
Distribution and Publication With Atom Web Services
The Web is transforming into a platform for distributed applications. Rich clients connect to web services to retrieve and store data. The Atom Publishing Protocol provides a common language for these services. Ben Ramsey introduces AtomPub, explaining how it can form the foundation of any web service for publication and distribution of data for enterprises down to small businesses.
Give Your Site a Boost With Memcache
Today’s high-traffic websites must implement performance-boosting measures that reduce data processing and reduce load on the database, while increasing the speed of content delivery. One such method is the use of a cache to temporarily store whole pages, database recordsets, large objects, and sessions. While many caching mechanisms exist, memcached provides one of the fastest and easiest-to-use caching servers. This talk will cover memcached and the memcache extension for PHP from setting up a memcached server to using it to provide a variety of caching solutions, including the use of memcached as a session data store.
2 Comments »
Permalink
Tags: atom, atompub, dcphp, memcache, memcached, php, presentation, rest, roa, talk