Dare Obasanjo's weblog
"You can buy cars but you can't buy respect in the hood" - Curtis Jackson
Navigation for Pump It Up - Dare Obasanjo's weblog
Content
Sidebar
Footer
July 4, 2003
@ 12:58 AM
Comments [1]
Pump It Up
The Echo Project: Blog Posting API
A number of people seem to think that a
RESTful
API is the way to go with the blog editing API that is being collaboratively designed on
Sam Ruby's wiki
. Tim Bray has posted
examples of posting, editing and deleting entries
would look like on the wire using a RESTful API. The cool thing about RESTful APIs such as Joe Gregorio's
CommentAPI
is that there is a very low barrier to implementing them on the client or the server. No need for complex application frameworks or layers of indirection just HTTP + XML. The other thing that is interesting is that such RESTful APIs show that distributed computing doesn't have to follow the RPC paradigm but instead can be primarily seen as passing well-formed documents back and forth between entities. The final benefit of a RESTful APIs I love harping on is that one can layer web technologies on the API to solve problems like message encryption & user authentication (SSL &
HTTP authentication
) or specifying application IDs (cookies) instead of placing those in the message format.
The question as to whether to have a RESTful API is a no brainer. Whether there should be
SOAP
or
XML-RPC
versions of the API are now the main point of contention
in Sam Ruby's blog
and
the wiki
. Originally I was indifferent to XML-RPC and said as much in my
first pass at a conceptual model for theblog editing API
but on further investigation I realize I actually am downbeat about the technology. The primary problems I have with the technology are that
XML-RPC doesn't support namespaces nor does it support sending elements with attributes as message payloads
. This breaks the model of just sending messages containing well-formed documents around between client and server but instead starts to look like RPC. This is not the way a Web technology should work because it leads to tight coupling between clients and servers as well as makes the API less extensible.
SOAP allows you to model and implement communication between the client and the server as simple message passing where the messages are well-formed documents. However there is extensive tool support from various vendors and Open Source APIs to make it look like RPC for the folks who would prefer the simpler programming model. Another benefit of SOAP is that one can use the growing XML Web Services family of technologies to further improve the developer story. Want to know what operations a server supports? Just check its
WSDL
or do some negotiation using
WS-Policy
. Being able to programmatically determine what operations a server supports is especially important for apps like RSS Bandit which may have special BlogX specific operations (e.g. update my BlogX
blogroll
from my RSS Bandit feeds list) as well as using whatever standard format the Echo project comes up with to be able to talk to
Blogger, SixApart and LiveJournal blogs
.
Ideally since I plan to document all the non-Echo APIs I'll be implementing in BlogX, any other client or server should be able to expose this functionality as well. That's why the XML Web Services family of technologies like WSDL or WS-Policy become interesting.
#
BlogX and RSS Bandit updates
I've decided to give a shot at moving my K5 diary to being based on BlogX over the weekend if can finish my
XML Journal
opinion piece in time. If successful I'll test it out then try for a new release the following weekend. So far, there is already one significant difference I can tell between the BlogX and RSS Bandit workspaces. It seems folks on the BlogX workspace are used to checking out files for a long time and locking others out. IMHO, if you aren't a project admin (i.e. the equivalent of a committer in non-GotDotNet Workspace OSS projects) and own a certain aspect of the code base you shouldn't be holding down files for weeks at a time.
I also plan to fixup the RSS Bandit code this weekend and if Torsten and others add in some features they've been talking about in the next week or so I should be able to do another RSS Bandit release the following weekend.
So far no one has signed up for my
EXSLT.NET Workspace
although
Hardy Erlinger
sent me an email where he mentioned that some of my date/time functions were US-centric and didn't work correctly on his German machine but he fixed the issue and would like to send a patch.
#
Derivation by Restriction Still to be Avoided
I had lunch with Harry Pierson last week and he slowly began to
realize that an XML schema does not need to model inheritence
just to do validation. He also understood what I mean when I said that derivation by restriction simply cannot be modelled using traditional Object Oriented Programming concepts.
I should probably package up all these posts about derivation by restriction I've made in my diary and turn them into an article on MSDN or XML.com
#
--
Get yourself a
News Aggregator
and subscribe to my
RSS
feed
Disclaimer
:
The above comments do not represent the thoughts, intentions, plans or strategies of my employer. They are solely my opinion.
Tweet
Categories:
« Posting to your Blog from RSS Bandit
|
Home
|
Q: What is XML and Why Is It Important? »
RSS/Subscribe
Archives
All dates
All Posts
Search
Latest Posts
Culture Eats Strategy for Breakfast
Some Thoughts on Paul Graham’s Essay on Income Inequality
How Facebook Knows Who You’re Talking to on Tinder and OKCupid
Fabric: Why Developers Can Trust Twitter Won’t Screw Them This Time
5 Account Security Features Every Online Service Should Implement But Doesn't
Facebook’s Newsfeed Experiment: Most people have grabbed the wrong end of the stick
Change is bad unless it’s great: Lessons from user revolts against Foursquare’s Swarm and the new Skype for iPhone
Facebook’s App Links: The Good, the Bad and the Ugly
The mobile web vs apps is another front on the battle between open and closed systems
How Facebook Knows What You Looked at on Amazon
Categories
Cloud Computing (5)
Comics (1)
Competitors/Web Companies (161)
Current Affairs (31)
Das Blog (3)
dasBlog (1)
Life in the B0rg Cube (197)
Mindless Link Propagation (185)
Movie Review (13)
MSN (127)
Music (20)
Office Live (8)
Personal (54)
Platforms (59)
Programming (58)
Ramblings (145)
Rants (7)
RSS Bandit (215)
Seattle Startup Shoutout (4)
Social Software (185)
Startup Shoutout (4)
Syndication Technology (108)
Technology (169)
Trip Report (63)
Video Games (6)
Web Development (198)
Windows Live (227)
XML (203)
XML Web Services (114)
Archives
January, 2016 (2)
October, 2015 (1)
October, 2014 (1)
September, 2014 (1)
July, 2014 (1)
June, 2014 (1)
May, 2014 (1)
April, 2014 (1)
February, 2014 (1)
January, 2014 (1)
December, 2013 (1)
November, 2013 (2)
July, 2013 (1)
March, 2013 (1)
November, 2012 (2)
September, 2012 (2)
July, 2012 (3)
June, 2012 (1)
April, 2012 (1)
February, 2012 (1)
January, 2012 (1)
November, 2011 (1)
September, 2011 (3)
July, 2011 (2)
June, 2011 (1)
April, 2011 (1)
March, 2011 (1)
January, 2011 (2)
November, 2010 (2)
October, 2010 (2)
August, 2010 (3)
July, 2010 (3)
June, 2010 (3)
April, 2010 (6)
March, 2010 (3)
February, 2010 (5)
January, 2010 (4)
December, 2009 (2)
November, 2009 (8)
October, 2009 (1)
September, 2009 (3)
August, 2009 (4)
June, 2009 (1)
May, 2009 (12)
April, 2009 (5)
March, 2009 (17)
February, 2009 (11)
January, 2009 (20)
December, 2008 (12)
November, 2008 (12)
October, 2008 (22)
September, 2008 (12)
August, 2008 (15)
July, 2008 (18)
June, 2008 (19)
May, 2008 (12)
March, 2008 (2)
February, 2008 (27)
January, 2008 (20)
December, 2007 (26)
November, 2007 (26)
October, 2007 (29)
September, 2007 (16)
August, 2007 (34)
July, 2007 (26)
June, 2007 (33)
May, 2007 (37)
April, 2007 (14)
March, 2007 (32)
February, 2007 (35)
January, 2007 (29)
December, 2006 (29)
November, 2006 (47)
October, 2006 (26)
September, 2006 (46)
August, 2006 (40)
July, 2006 (38)
June, 2006 (48)
May, 2006 (33)
April, 2006 (39)
March, 2006 (38)
February, 2006 (42)
January, 2006 (42)
December, 2005 (43)
November, 2005 (40)
October, 2005 (48)
September, 2005 (45)
August, 2005 (40)
July, 2005 (31)
June, 2005 (36)
May, 2005 (38)
April, 2005 (31)
March, 2005 (39)
February, 2005 (22)
January, 2005 (25)
December, 2004 (32)
November, 2004 (27)
October, 2004 (24)
September, 2004 (26)
August, 2004 (23)
July, 2004 (25)
June, 2004 (29)
May, 2004 (39)
April, 2004 (37)
March, 2004 (41)
February, 2004 (51)
January, 2004 (54)
December, 2003 (42)
November, 2003 (40)
October, 2003 (41)
September, 2003 (8)
August, 2003 (11)
July, 2003 (9)
June, 2003 (14)
May, 2003 (12)
April, 2003 (12)
March, 2003 (13)
February, 2003 (13)
January, 2003 (13)
December, 2002 (12)
November, 2002 (8)
October, 2002 (6)
September, 2002 (5)
August, 2002 (6)
July, 2002 (6)
June, 2002 (4)
May, 2002 (8)
April, 2002 (3)
March, 2002 (1)
February, 2002 (1)
January, 2002 (4)
November, 2001 (4)
October, 2001 (3)
September, 2001 (3)
August, 2001 (1)
July, 2001 (1)
May, 2001 (0)
April, 2001 (2)
March, 2001 (2)
BlogRoll
Alexander Groß
Anthony Bouch
Ben Scheirman
Clemens Vasters
Erv Walter
Gray's Matter
Harry Pierson
James Snape
John Forsythe
Joshua Flanagan
Kris van der Mast
Mark Michaelis
Michael Earls
Omar Shahine
Paulb Vanbrenk
Scott Hanselman
Stephen Forte
Steven Rockarts
Tom Mertens
Tom Watts
Tony Bunce
Vasanth Dharmaraj
Categories
Cloud Computing
Comics
Competitors/Web Companies
Current Affairs
Das Blog
dasBlog
Life in the B0rg Cube
Mindless Link Propagation
Movie Review
MSN
Music
Office Live
Personal
Platforms
Programming
Ramblings
Rants
RSS Bandit
Seattle Startup Shoutout
Social Software
Startup Shoutout
Syndication Technology
Technology
Trip Report
Video Games
Web Development
Windows Live
XML
XML Web Services
Contact the Author
Themes
Pick a theme:
BlogXP
business
calmBlue
Candid Blue
dasBlog
dasblogger
dasblueblog
dasEmerald
DirectionalRedux
Discreet Blog Blue
Elegante
essence
Just Html
MadsSimple
Mobile
Mono
Movable Radio Blue
Movable Radio Heat
nautica022
orangeCream
Portal
Project84
Project84Grass
Slate
Sound Waves
Tricoleur
useit.com
Voidclass2
Admin
Sign In