Hey Chuck -
Dimitri is right -- CF and JavaScript can't talk directly (Gears code
is all written in JavaScript).
Here's an idea though. I just looked up CFAjax (http://
www.indiankey.com/cfajax/). If you can do Ajax req's in CF then what
you could do is make a CFAjax request to a JavaScript, then do a
cfoutput of that JavaScript embedded in the script tags. Then, all
you'd have to do is setup the JavaScript so that it runs the Gears
init code and then does what you want (say, print out a list of all of
the contents of the local database... or store values in the
database). It might be kind of a headache, but I think this solution
works. Some one correct me if I'm wrong somewhere.
HTH
Ben
On Dec 5, 12:35 pm, "Dimitri Glazkov" <dimi...@gmail.com>
wrote:
Chuck, CF is a server-side technology. Gears is a client-side
technology. They would never meet. Or are you thinking about writing a
JS-based CF interpreter?
:DG<
On Dec 5, 2007 2:24 PM, Chuck <ch....@idpintl.org> wrote:
All my applications are written in CF. Can Gears process CF code to
interact with the DB?