Re: Connection exception

[email protected] Thu, 21 Sep 2006 09:02:13 -0400
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
>> I take data from the phpgroupware database using sql, and I create   
>> the dates, contacts and tasks in ogo using xmlrpc
> Slightly off topic: Wouldn't it be easier (and faster) to directly
> generate SQL INSERTs from the input for the OGo database schema?
> I think the XML-RPC interface is (usually) not worth the hassle for
> bulk migration scripts.

So long as you aren't trying to load lots of 'related' objects, yep.   
If you've got lots of extended attributes and the like then it can get  
rather messy with SQL since you need to know the related company_id,  
etc...  If you are just loading basic information then I'd use SQL.

I've got some C# code for loading contacts from delimited files if  
your interested (uses MOGI).

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc