This link that I posted in my first response is a great introduction but doesn't have a lot of info on how to do it. http://www.adaptivepath.com/publications/essays/archives/000385.php
This little tutorial was easy to follow. http://www.xml.com/pub/a/2005/02/09/xml-http-request.html On Fri, 25 Mar 2005 20:06:08 -0300, Claudio Javier Rosemffet <[EMAIL PROTECTED]> wrote: > I'm very interested in download and taste ajay. > where can I find the home page of the project..? > thanks !. > > -------------------------------------------------- > Claudio Javier Rosemffet > CYF-Argentina (http://cyf.com) > Mansilla 2410 piso 5� of E > 1121-Buenos Aires, Argentina > Tel: (54 11) 4962-1674/5490 > -------------------------------------------------- > > ----- Original Message ----- > From: "Ryan Miller" <[EMAIL PROTECTED]> > To: "FarCry Developers" <[email protected]> > Sent: Friday, March 25, 2005 7:42 PM > Subject: [farcry-dev] FarCry and Ajax > > >I just got a working example of Ajax (XMLHTTP request) working on my > > farcry site. > > > > For those of you who don't know what Ajax or XMLHTTP request is, it is > > a method for using javascript to retrieive information from the server > > without a page refresh. It's very cool and what makes gmail, google > > maps and google suggest so cool. Read more about it here. > > > > http://www.adaptivepath.com/publications/essays/archives/000385.php > > > > So, I just got this working but its not very integrated with farcry > > and I wanted to get some feedback on a better way to work with farcry > > on this. > > > > Here is the demo... > > http://www.numinalabs.com/farcry/rpg/www/index.cfm?objectid=B1BA5E49-09A7-4031-DDF2B00322F4FBD0 > > > > Click on the link for Tellurians and a matching dmFact is searched for > > and displayed in the side nav. > > > > The data is retrived via a cfm file that looks like this... > > > > <cfsetting enablecfoutputonly="true" showdebugoutput="false"> > > <cfparam name="url.def" default="" /> > > <cfquery name="qFact" datasource="numina"> > > SELECT * FROM dmFacts WHERE title LIKE '#url.def#' > > </cfquery> > > <cfcontent type="text/xml" reset="true" /> > > <!--- > > <defTitle>#qFact.title#</defTitle><defBody>#qFact.body#</defBody> ---> > > <cfoutput><?xml version="1.0" encoding="UTF-8" standalone="yes"?> > > <response> > > <method>getFact</method> > > > > <result><definition><defTitle>#qFact.title#</defTitle><defBody>#qFact.body#</defBody></definition></result> > > </response></cfoutput> > > > > It works great, but I feel like I shouldn't be querying the datasource > > directly here. Any other ideas? > > > > Thanks, > > Ryan Miller > > > > > > > > -- > > Ryan P. Miller > > [EMAIL PROTECTED] > > > > --- > > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to > > [EMAIL PROTECTED] > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > --- > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > -- Ryan P. Miller [EMAIL PROTECTED] --- You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
