JSON is far more lightweight vs XML. Also if you upgrade to 7.3 Unidata, the built-in JSON library (called UDO) is very easy to use. This would be my recommendation.
*Aaron Titus* Senior Software Engineer F.W. Davison & Company, Inc. 508-747-7261 x245 [email protected] On Fri, Aug 2, 2013 at 12:59 PM, <[email protected]> wrote: > We use UNIX on our web and database servers, so the mvScript wouldn't help > in our case. > > I would like to learn more about the built-in restful services you > mentioned. That is built-in to Unidata? We are at 7.2. > > > Charles Shaffer > Senior Analyst > NTN-Bower Corporation > > > > From: "Brian Leach" <[email protected]> > To: "'U2 Users List'" <[email protected]>, > Date: 08/02/2013 11:41 AM > Subject: Re: [U2] XML or JSON converter for Unibasic > Sent by: [email protected] > > > > My preferred solution is to use a middle tier web service in C#, that > exposes method calls for either XML or JSON (automatic, just depends on > the > content-type in the request). Then you can call that from anything that > expects JSON or SOAP. > > But that's only because I began doing that long before restful web > services > got built into the product. > > Or bypass PHP and use mvScript if you can live with IIS. > > Brian > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > [email protected] > Sent: 02 August 2013 17:12 > To: U2 Users List > Subject: [U2] XML or JSON converter for Unibasic > > I am looking for a way to send the output of a Unidata data query in > Unibasic back to a web server (PHP) for building web pages. > > Up until now I have used a proprietary method (LF, HTAB, etc.), but I > would > like to simplify/standardize the method. Seems like this could be done > with > XML, or JSON or "something I don't know about." Has anyone had experience > with this and could you offer some advice? > > Hoping for a simple subroutine approach as opposed to a comprehensive > commercial package. Management here is very "price sensitive." When I say > price sensitive, I mean that if it costs anything, they get their panties > all in a bunch. A few hundred dollars might be sellable, a few thousand > would not be. > > Charles Shaffer > Senior Analyst > NTN-Bower Corporation > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users > > -- > This email was Virus checked by UTM 9. http://www.astaro.com > > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
