On Sep 19, 2005, at 4:22 PM, David Forslund wrote: > But MIME types/namespaces don't easily express verbs, do they?
Stop thinking about verbs, think nouns. There are no getStockQuote methods in a REST system. It takes time, but once you got your mental model rewiring, the future is bright :o) > Obviously I can do "anything" through the http interface, but this > doesn't make > it easy or natural. It is not about doing something 'through' the HTTP interface, it is about the HTTP interface being the common interface for the objects that make up your application. Regarding REST feeling 'natural' to OO heads...try thinking in patterns. After all, patterns are much like architectural constraints. The 'Active Domain Object' data access pattern (fetching complete objects state from database once instead of contacting the DB for each of those getName() methods) for example takes you at least half the way from traditional EA OO thinking towards REST. Maybe it helps to think of the uniform interface in terms of the Facade pattern (hiding complexity for the sake of evolvability). Jan ________________________________________________________________________ _______________ Jan Algermissen, Consultant & Programmer http://jalgermissen.com Tugboat Consulting, 'Applying Web technology to enterprise IT' http://www.tugboat.de ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/NhFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/service-orientated-architecture/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
