Date: 2006-05-01 07:03 pm (UTC)
The Journal Entries web pages are RESTful. Even though the portion of the URL "/journal/" is a program, the rest of the URL looks user-friendly and provides for ease-of-navigation and ease-of-bookmarking. It's even Google-friendly, because Google doesn't think it's manipulating an engine.

REST stands for "Representational State," and it means that the URI portion of a URL, if it indicates an object (a story, a network, a position paper, whatever), should be capable of identifying that object without arguments (without anything in the ?foo=bar&fred=wilma portion), and that arguments should be reserved for actions presented to the object.

Because the client gave me a whole bunch of documents in Word and PDF and I needed to extract them quickly, I componentized them, and made headers and footers separately, and just slapped the readfile() argument with untainted versions of the argument. I would rather they have been URL paths, myself, and RESTful, but it was not to be on the deadline I had.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

elfs: (Default)
Elf Sternberg

May 2025

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 4th, 2025 02:31 am
Powered by Dreamwidth Studios