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: [dev-groupware] Java OpenGroupware API - EarlyAccess Release: msg#00003

cms.opengroupware.xmlrpc.devel

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

... moved to xmlrpc@ogo ...

On Freitag, Aug 29, 2003, at 23:08 Europe/Berlin, Andreas Rath wrote:
Gesendet: Freitag, 29. August 2003 19:44, Helge Hess wrote: Maybe I
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.

In the JOGI API, when something was changed for example the lastname of
a person in the person document, we are sending "person.update" with the
whole person document. There is some need to refactoring.

Well, thats actually not a particulary big problem in practice and more the category "nice to have".

I thought about checking, what has been changed and then just sending
these things to the XML-RPC Server that have to be updated.

Yes, this would be nice, but wouldn't really boost performance. Well, maybe you could track whether addresses changed prior submitting them, that may give some speed.

But before we are going to optimize our API we have to make sure that we
are covering almost every functionality provided by the XML-RPC OGO
Server.

My points are not related to "optimization" at all. I just wanted to bring up some issues which need to be thought about *prior* fixing an API.

Eg another thing which might look convenient in the first place but is likely to become a problem in the long run, is returning fetch results as a List or Vector. Something like "fetchPerson" should always return an enumerator so that the API doesn't require to load the whole database in advance.

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