How about Google Data API? How does it work? I know it uses ATOM like GData but why? Are plain GET/POST/PUT/DELETE commands not enough to use?
In order to complete my question, I would like to ask a main architecture question(I am sorry it may be a dumb one): when do we need to use Atom? Could you please give me some example(architectures)? I have a web portal and I want it to communicate with various applications on some app servers. I do not want to use web services(it seems mess and heavy for my business requirements). Do you think that it is a good idea to send Atom streams (e.g. personal records)between my application server and portal app. I need to give an architectural decision at this point. thanks for your helps in advance, On Dec 6, 2007 4:21 PM, James M Snell <[EMAIL PROTECTED]> wrote: > It's definitely possible, the main question, however, would be why you > would want to do this at all. A significantly better approach would be > to use a simple stream of GET requests... > > <request> > GET /calculator?expression=1+2 HTTP/1.1 > Host: example.org > > <response> > HTTP/1.1 200 OK > Content-Type: text/plain > > 3 > > <request> > GET /calculator?expression=4-1 HTTP/1.1 > Host: example.org > > <response> > HTTP/1.1 200 OK > Content-Type: text/plain > > 3 > > And so on. There'd be no reason to use Atom in any way. > > - James > > > > Selcuk Bozdag wrote: > > Hi all, > > > > I would like to create a mashup using atom feeds. I would like all > > communication stream is based on atom docs. Here is a small scenario. > > > > Application A provides a very basic calculator(add, sub, mul, div) > > service. Application B lies on a different server on the world. > > Application B has an interface lets users enter two integers and > > select an operator which is one of four. Application B wants to carry > > out all business logic to Application A so that Application A could > > send the result back. Application B is unaware of objects or > > calculation classes of Application A. Only a machine readable > > stream(this case maybe an atom feed) is served maybe. > > > > Is it feasible to implement that scenario using Atom feeds and Abdera? > > If it is so, can somebody help me to create such web project(help me > > to code or showing how to do it)? > > > > Thanks, > > > -- Selcuk Bozdag
