|
|
Choosing A Webhost: |
Re: Re: [dev-groupware] Java OpenGroupware API - EarlyAccess Release: msg#00040cms.opengroupware.xmlrpc.devel
On Friday, August 29, 2003, at 09:47 PM, murphee (Werner Schuster) wrote: Helge Hess wrote: Hm, yes two things: a) implement a server side XML-RPC method which does exactly what is required for the "foreign" API - makes most sense since it can be efficiently implemented using OGo commands b) most fetch specification support the "attributes" key which you can use to list the attributes you actually require So for example if you just want to display lastname, firstname and email address, you should only query those items from the XML-RPC daemon. Try adding the "attributes" key with an array value listing the required attributes. How can I tell the Xml-Rpc Daemon to return only a subset of a document; I think by adding "attributes = (nickname, lastname)". Not sure though, would need to try out myself ... Anyway, this has still the overhead of the OGo document API. This could either mean introducing something like a "PersonFragment" object (like there are DocumentFragments in DOM) in the JOGI API or just use XML-RPC directly in the "target" API since full document objects are not required anyway. Which would be highly inefficient as it would result in "attribute-count x records" queries. You basically need to allow the user to fetch "fragments". Since this breaks encapsulation, it basically destroys a "neat" object model. It can be fixed by "upgrading" fragments to full objects (you might want to study object database technology if you have some sparetime ;-) Anyway. My whole point is that there is no "one-API-that-fits-all". JOGI is excellent if you need what it does. It might be wrong if you have specific needs. Eg Glow will perform a very specific kind of query so you should map it to a very specific implementation to gain good results. ZideStore has a lot of technology in that direction. It basically does a query analysation phase to determine the most effective internal OGo command for a given fetch-specification/attribute set. Anyway, I am getting a bit offtopic for the OO.o Groupware list, Yup. I think Colm is subscribed there as well. Regards, Helge -- OpenGroupware.org XML-RPC xmlrpc@xxxxxxxxxxxxxxxxx http://mail.opengroupware.org/mailman/listinfo/xmlrpc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | appointment.setPartcipants problem, Martin Richtarsky |
|---|---|
| Next by Date: | Re: appointment.setPartcipants problem, Helge Hess |
| Previous by Thread: | Re: [dev-groupware] Java OpenGroupware API - EarlyAccess Release, murphee (Werner Schuster) |
| Next by Thread: | appointment.setPartcipants problem, Martin Richtarsky |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |