It seems that I was a little unclear in
my post about using the HTTP PUT method for resource
creation, so let me try again.
In this post Benjamin Carlyle points out that
using POST for resource creation has some serious flaws. To see the
main problem with using POST for resource creation consider the
following scenario.
You make a POST […]
Benjamin Carlyle has an interesting bit about the possibility of
deprecating the HTTP POST method. I think most people who have
thought deeply about RESTful architectures have had similar thoughts.
GET, PUT and DELETE are all nicely idempotent, but POST is not.
GET, PUT, and DELETE have clean, well defined semantics, but POST does
not. POST generally seems […]
I have been using PHP1 as my primary language for
five months now so I feel somewhat qualified to speak about it. My
overall conclusion is that PHP is weak sauce. It is easy to get
started with PHP but it’s usefulness decreases as the complexity of
the application increases. This is primarily because keeping PHP […]
I finally got around to setting up Selenium and writing a few
tests yesterday. I have been meaning to do that ever since
Charlie pointed it out to me a few months ago. Man, I wish I
hadn’t waited. Selenium is easily the best way to test a web app that
I have every tried. […]
I have been using
Markdown to
write my blog posts for quite some time now and I really like it. I
was a little surprised how much I liked it when I first switched
because before I had been writing in HTML which works well. But it
really is easier to focus on the content when you don’t […]
I just completed my transition back to a Linux workstation1. My distro is
Ubuntu, of course. I first tried Ubuntu about
eight months ago, at my previous job, and was impressed so I stuck
with it. On a side note, I am quite pleased to see how Ubuntu
is
getting
noticed
recently.
Every time I install Ubuntu it blows me […]
Mr. Davidson saying that “FastCGI is weak sauce” and HTTP is were it’s at. Damn right. I am glad to see the Rails community is coming realizing the power of HTTP.
Never provide representations of static resources by dynamic means.
Or, serve anything you possibly can directly from a file on a local
file system.
There are several reasons for avoiding dynamic mechanisms whenever
possible. The most obvious reason is that it is wasteful to generate
the identical content repeatedly. If the resource never, or very rarely, changes you […]
In my new job I am getting a chance to really learn PHP. PHP is the
workhorse of the web these days. There are tons of web applications
written in PHP, probably more than any other language or framework.
This is primarily because it is so productive, as I found out a while
ago.
All that being said, […]
Today is my last day at CFP Board. That means that this is my last
day working with RoR professionally, for a
while at least, and that makes me a little sad.
RoR is a sweet piece of work. It is a platform on which a developer
can be enormously productive. For example, I fixed three […]