[mw-devel] Query Result Representation in JS
Andrew Price
welshbyte at sucs.org
Sun Dec 3 16:33:34 GMT 2006
When we code marvin in javascript, how do we want database query results
to be represented?
One possibility is an object that has an array of column headings and an
array of arrays for the results table and a count of results so it would
be like (pseudocode):
dbresult object {
count
colnames[]
results[][]
}
Any improvements or better suggestions?
(I've just about gotten my head around building javascript objects in C
now so I can get on with implementing it when I know what to implement.)
--
Andy
More information about the mw-devel
mailing list