Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Re: [dev-groupware] Java OpenGroupware API - EarlyAccess Release: msg#00001

cms.opengroupware.xmlrpc.devel

Subject: Re: Re: [dev-groupware] Java OpenGroupware API - EarlyAccess Release

On Montag, Sep 1, 2003, at 02:32 Europe/Berlin, murphee (Werner Schuster) wrote:
eg. some "name" field (or whatever) is queried with eg. "getName()",
this would result in a call that fetches only the name;
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".

Hmmmm... OK, I guess you mean, if the user wants to have, eg. FirstName, LastName and EmailAdress of a Person, that should be queried in one go (as a fragment of the whole document) instead of either loading the whole Person OR fetching each datum individually (resulting in 3 XmlRpc
function calls);

Of course.

OK... I see what you mean... hmmmmm... I guess we should give some
thought to opening our XmlRpc Subsystem to the Programmer a little more
instead of completely hiding it; allowing the Programmer to set the
attributes of a fetch() call would be an idea; I suppose, we here, at the JOGI HQ, will need to get our thinking caps out again...

Well, actually you cannot catch all that in a neat API way.

Eg if you have a view which shows the persons and the project names of each person like

| Account | Projects |
--------------------------------------------------------
| murphee | JOGI, XMLRPC |
| helge | XMLRPC, ZideStore |

You would want to catch exactly that data from the server - ergo you need some special server method for that.

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.

Yup, I see; it's basically like knowing when to use DOM and
when to use SAX when dealing with XML;

Exactly. Go with specialized, low level XML-RPC for high-volume, tableview like views and expand to full object eg when opening an editor or view.

regards,
Helge
--
OpenGroupware.org - http://www.opengroupware.org

--
OpenGroupware.org XML-RPC
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation