Hi Michael, Let's say you find a JSON parser on the server and you convert it into something, a rowset or collection, or whatever. You would then still have to iterate through it and convert the data into something that you would want to store in the DB on the 4D side.
My suggestion is to take a look at your 4D side data needs, and do that same work to the data on the browser. It will be faster and easier to do it there. Then build an AJAX post and send the data back to 4D as form variables. In most cases, you lose most of the benefits of returning json because you don't really need the data in that form anyway. Tom D. On Aug 19, 2011, at 3:34 PM, Michael Check wrote: > Thanks Tom > > 1. I haven't looked at NTK, I'll check it out. But it seems a bit > bulky to use it just for the json implementation, you know? We > already use 4D's web server behind apache, which works great for us. > > 2. What I need to do is push data into the 4D db. So if we're doing > imports or pushing in a lot of data that we have manipulated with js > or an external app like with rails or php. > > Other than sending over data sets in json, how to get data pushed back > to 4D for processing and updating into the 4D db? My plan was push > json into an A4D rowset via json and process the data that way. Sound > reasonable? Or am I making this more complicated? > > Thanks, > > Michael Check _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
