[jdev] Storing data on the server

Heiner Wolf wolf at bluehands.de
Wed Jul 28 06:22:47 CDT 2004


Thanks for the response, but although I am a developer, I am not a server developer. I code the client and I communicate with the server via the protocol. So, in this case I am interested in protocol stanzas which let me store something on the server :-)

pubsub?

--
Dr. Klaus H. Wolf
bluehands GmbH & Co.mmunication KG
http://www.bluehands.de/people/hw
+49 (0721) 16108 75
--
Jabber enabled virtual presence on the web: http://www.lluna.de/
Open Source Future History: http://www.galactic-developments.com/



> -----Original Message-----
> From: jdev-bounces at jabber.org 
> [mailto:jdev-bounces at jabber.org]On Behalf
> Of Remy HAREL
> Sent: Wednesday, July 28, 2004 12:30 PM
> To: Jabber software development list
> Subject: Re: [jdev] Storing data on the server
> 
> 
> 
> 
> Heiner Wolf wrote:
> 
> >Hi,
> >
> >what is the recommended way to store something (XML) on the server?
> >I have a suspicion, but I would like to hear from someone else :-)
> >
> I'm working on jabberd2 server project for the moment... and 
> I have to 
> store data, and I use this function :
> 
> 01030 void nad_print(nad_t nad, int elem, char **xml, int *len)
> 01031 {
> 01032     int ixml = nad->ccur;
> 01033
> 01034     _nad_ptr_check(__func__, nad);
> 01035
> 01036     _nad_lp0(nad,elem);
> 01037     *len = nad->ccur - ixml;
> 01038     *xml = nad->cdata + ixml;
> 01039 }
> 
> >jabberd 1.x provided public XML storage of iq-query 
> namespaces like "storage:client:something". What kind of
> >
> >server storage is recommended for jabberd2?
> >
> some datas are stored in the DB, but you can store  all that 
> you want by 
> using the nar_pirint function. You can read the log files too !
> 
> >
> >hw
> >
> good luck
> 
> >--
> >Dr. Klaus H. Wolf
> >bluehands GmbH & Co.mmunication KG
> >http://www.bluehands.de/people/hw
> >+49 (0721) 16108 75
> >--
> >Jabber enabled virtual presence on the web: http://www.lluna.de/
> >Open Source Future History: http://www.galactic-developments.com/
> >
> >_______________________________________________
> >jdev mailing list
> >jdev at jabber.org
> >https://jabberstudio.org/mailman/listinfo/jdev
> >  
> >
> 
> -- 
> Remy Harel - remy.harel at gicm.fr
> G.I.C.M - Distributed Systems & IT
> Linux Registered User #224740
> 
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> https://jabberstudio.org/mailman/listinfo/jdev
> 



More information about the JDev mailing list