On Mon, Jan 21, 2008 at 01:06:25AM +0300, Сергей Мартынов wrote: > But is the "/id/" part of url required? In most cases class would have > only one primary identifier, so we can shrink it to GET /class/1111 - > can't we?
In this case, we could, but often the identifier for a thing is a character string rather than a string of digits, so you wouldn't want to do that because it would break when you created objects named "create", or whatever your chained actions are called. -- Every program eventually reaches a point where it becomes harder to make a simple change than to rewrite the program from scratch. Unfortunately, when this point is reached, it is far too late to consider rewriting it. http://surreal.istic.org/ Why did you resign?
signature.asc
Description: Digital signature
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
