Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Mitch Pirtle
On Thu, Dec 3, 2009 at 10:11 PM, Ajai Khattri wrote: > So how's the MongoDB support in Joomla going? It's gone as far as it is going to go (a helper library) until a query builder and proper ORM makes it into the core. There's just too much SQL littering the codebase... The last site I built with

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Ajai Khattri
On Thu, 3 Dec 2009, Mitch Pirtle wrote: > Yep - but it's not an everything solution. My apologies if my > enthusiasm makes it sound that way. Yeah, it did, kinda :-) > With noSQL databases like MongoDB, CouchDB, hBase and many more, those > problems are replaced with new ones sure; but at least

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Ajai Khattri
On Thu, 3 Dec 2009, Gary Mort wrote: > When you discover a high tech swiss army knife, with laser pointer, usb > drive, bluetooth headset and led toothpick it's hard to go back to the old > toolbox. :-) Sure, my Android phone has lots of functions but a dedicated digital camera will always give

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Mitch Pirtle
On Thu, Dec 3, 2009 at 6:20 PM, Ajai Khattri wrote: > > I know MongoDB is cool an' all, but you seem to be pushing it really hard. Yep - but it's not an everything solution. My apologies if my enthusiasm makes it sound that way. Coming from the CMS space, document databases are somewhat of a sil

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Gary Mort
On Thu, Dec 3, 2009 at 6:20 PM, Ajai Khattri wrote: > > > I know MongoDB is cool an' all, but you seem to be pushing it really hard. > > > When you discover a high tech swiss army knife, with laser pointer, usb drive, bluetooth headset and led toothpick it's hard to go back to the old toolbox. :-

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Bruce Martin
Actually there are new innovations in this area where all data is stored in flat text files that are indexed. These systems out perform many databases, if not all, with little overhead. Bruce Martin On Dec 3, 2009, at 7:12 PM, John Campbell wrote: On Thu, Dec 3, 2009 at 6:20 PM, Ajai Kha

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread John Campbell
On Thu, Dec 3, 2009 at 6:20 PM, Ajai Khattri wrote: > I know MongoDB is cool an' all, but you seem to be pushing it really hard. +1. Why all the non-relational love? Can you imagine building an e-commercie site with a NoSQL database? The products table would quickly become a god table that is

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Ajai Khattri
On Thu, 3 Dec 2009, Mitch Pirtle wrote: > Just wanted to add in there that you could use MongoDB instead of > MySQL, which gives you additional opportunities to do stuff like real > time analytics and live in a SQL-free world. > > Documents are stored in a binary JSON format, so there's no conver

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Eddie Drapkin
Couch is largely the same way. NoSQL or gtfo! --Eddie On Thu, Dec 3, 2009 at 4:47 PM, Mitch Pirtle wrote: > Just wanted to add in there that you could use MongoDB instead of > MySQL, which gives you additional opportunities to do stuff like real > time analytics and live in a SQL-free world. >

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Mitch Pirtle
Just wanted to add in there that you could use MongoDB instead of MySQL, which gives you additional opportunities to do stuff like real time analytics and live in a SQL-free world. Documents are stored in a binary JSON format, so there's no conversion needed. You could almost look at your PHP scri

Re: [nyphp-talk] PHP and SOAP

2009-12-03 Thread Aaron Fischer
Awesome, thanks for the links. I do my coding in BBEdit on a Mac but would be interested in checking out the Eclipse IDE if it makes things easier for this project. On Dec 3, 2009, at 2:02 PM, Justin Dearing wrote: I never used groupwise soap objects, so I can't comment on specifics there

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Anthony Papillion
Thank you Jake! On Thu, Dec 3, 2009 at 1:29 PM, Jake McGraw wrote: > On Thu, Dec 3, 2009 at 2:19 PM, Gary Mort wrote: > > > > > > On Thu, Dec 3, 2009 at 2:11 PM, Anthony Papillion > > wrote: > >> > >> While this seems (and indeed is) a rather simple task, it's also fairly > >> tedious. Is ther

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Anthony Papillion
> json_encode > > http://www.php.net/manual/en/function.json-encode.php Thank you! I have no idea why I forgot about json_encode. This was a very 'duh' moment! Thanks again, Anthony Papillion ___ New York PHP Users Group Community Talk Mailing List htt

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Jake McGraw
On Thu, Dec 3, 2009 at 2:19 PM, Gary Mort wrote: > > > On Thu, Dec 3, 2009 at 2:11 PM, Anthony Papillion > wrote: >> >> While this seems (and indeed is) a rather simple task, it's also fairly >> tedious. Is there anything out there that can help me auto-format them in >> one of those formats? Som

Re: [nyphp-talk] PHP and SOAP

2009-12-03 Thread Donald J. Organ IV
I would really recommend taking a look at http://wso2.org/projects/wsf/php it not only gives classes for SOAP client/service creation but it also adds an extension to PHP so that it can do almost anything it needs to when it comes to soap Pretty much any other PHP SOAP library out there has

Re: [nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Gary Mort
On Thu, Dec 3, 2009 at 2:11 PM, Anthony Papillion wrote: > > While this seems (and indeed is) a rather simple task, it's also fairly > tedious. Is there anything out there that can help me auto-format them in > one of those formats? Something that takes a standard results set then > transforms it

[nyphp-talk] Returning DB results as XML or JSON?

2009-12-03 Thread Anthony Papillion
Hello Everyone, I'm creating a Windows Mobile application that needs to query a remote MySQL database. For logging purposes, I want to perform the database queries on the server instead of having the client issue the command. So my plan is to pass the needed information from the Windows Mobile pro

Re: [nyphp-talk] PHP and SOAP

2009-12-03 Thread Justin Dearing
I never used groupwise soap objects, so I can't comment on specifics there. Some debugging tools: Fiddler2 and charles for getting down and dirty with the messages going over the wire: http://www.fiddler2.com/fiddler2/ http://www.charlesproxy.com/ SoapUI to experime

Re: [nyphp-talk] PHP and SOAP

2009-12-03 Thread Gary Mort
On Thu, Dec 3, 2009 at 12:46 PM, Aaron Fischer wrote: > > 3) NuSOAP package - http://sourceforge.net/projects/nusoap/ > > NuSOAP has one small gotcha. A lot of SOAP interfaces are designed for Java/Ruby. This means they support things like having multiple soap function calls and choosing which

Re: [nyphp-talk] PHP and SOAP

2009-12-03 Thread Aaron Fischer
Justin, OK, I'm still learning the verbiage here, this is my first go-around with soap. Maybe I should have mentioned I'm a soap newbie in my initial post!! Yes, my app using PHP will be the client. The service to be consumed is Novell GroupWise. I'm not sure what it's written in. htt

Re: [nyphp-talk] PHP and SOAP

2009-12-03 Thread Justin Dearing
Aaron, For new PHP5 development use the built-in or zend soap client I've never used the zend framework one. I take it PHP will be the soap client? What is the soap service written in? Regards, Justin Dearing On Thu, Dec 3, 2009 at 1:13 PM, Alex C wrote: > Hi, > I have only used the built in

Re: [nyphp-talk] PHP and SOAP

2009-12-03 Thread Alex C
Hi, I have only used the built in soap extension. I never had problems with it. I have not used any others. Alex Chan On Thu, Dec 3, 2009 at 12:53 PM, Jake McGraw wrote: > Hate to further extend your comparison, but I've used Zend_Soap_Client > from the Zend Framework and it works pretty well,

Re: [nyphp-talk] PHP and SOAP

2009-12-03 Thread Jake McGraw
Hate to further extend your comparison, but I've used Zend_Soap_Client from the Zend Framework and it works pretty well, very straight forward: http://framework.zend.com/manual/en/zend.soap.client.html PS, You can get the Zend Framework through PEAR: pear channel-discover pear.zfcampus.org pear

[nyphp-talk] PHP and SOAP

2009-12-03 Thread Aaron Fischer
Greetings all, I'm working on a project that will require the use of SOAP. From what I gather there are three main packages I can use: 1) PHP built-in SOAP extension - http://php.net/manual/en/book.soap.php 2) PEAR SOAP package - http://pear.php.net/package/SOAP 3) NuSOAP package - http:/

[nyphp-talk] Reminder -- NYC BigApps submissions due 12/8!

2009-12-03 Thread Brandon Kessler
Hi, Just a friendly reminder that apps are due next Tuesday 12/8 for the NYC BigApps $20,000 software competition. To remind you, NYC BigApps is an NYC-sponsored initiative to make apps that improve New York using city data. There are approximately 170 data sets on the NYC.gov Data Mine w