HomePage RecentChanges REST

As REST is not a single written standard there are some things you have to argue with each developer. And of course, you can always find arguments to support any side on the internet.

So this is my list of things you should be doing wit REST that are more fuzzy (not the obvious). To be built up with references.

Plural or Singular


We have long established that our database table names are singular. It is funny that we go around and start the discussion again for each new technology :-)

It seems that the argument for using singular was won long ago - lets not redebate an old topic.

Best Practice

Read this: http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api

I agree with all of those design ideas, with one small exception.

Singular - always singular, not plural. If you used Plural, you would have to write: Emails; Faces; Cities; ... (TODO).

Important thing is: Keep it the same. So still better to be always plural than changing. But I prefer singular. It is an old rule being done by Database designers for table names.

My take away on this is - don't reinvent - DB designers have been using Singular for decades, for a good reason.

Software error:

Can't locate object method "endform" via package "CGI" at /data/scott.dd.com.au/wiki/modules/search.pl line 15.

For help, please send mail to the webmaster (webmaster@dd.com.au), giving this error message and the time and date of the error.