Oracle Magazine Special offer for AjaxImpact.com Visitors!! Subscribe to Oracle Magazine for Free!
AJAX IMPACT


TUTORIALS
AJAX: How to Build a SpyPage
04/13/2006 By Rick Strom


First, you need a table in your database. My table is pretty simple, defining three elements -- an ACTION, an ENTITY and an ELEMENT. I know these are vague, and that's intentional. I want several actions around the site to be visible on the spy page, and I want them to be represented sensibly. For example, to show a user logging on, we have ACTION="logged in", ENTITY=username and ELEMENT=users_logo. As another example, when a user comments on another user's photo, ACTION="left comment", ENTITY=username (commenter) and ELEMENT=img_thumnail. You get the idea.

Once the table is built, there's the matter of inserting new rows into the table on certain actions. This is simply a matter of creating a function in your func.php file (or wherever you keep your functions) and calling it after certain actions occur.

Now, on to the AJAX part. First of all we need to decide how many rows of the table we want to show on the spy page. I chose 20. We'll want to prune the table occasionally, since we really don't need any more than 20 rows in there at any time

   Read Full Tutorial...

 Rate this Ajax Tutorials
 Rating: 7.9 out of 21 votes cast

AJAX NEWS
04/01/2007 wxJavaScript : porting wxWidgets to JavaScript.
03/31/2007 DED|Chain - The web developers JavaScript Kit
03/30/2007 Clipperz Crypto Library - a JavaScript library of crypto primitives
03/28/2007 ETech - AJAX Unplugged Slides
03/27/2007 Stripe Generator: ajax powered web 2.0 tool!
03/26/2007 Finally Microsoft joins the OpenAjax Alliance


INDUSTRY NEWS
05/19/2006 Ajax grabs center stage at JavaOne, By Tony Baer
05/15/2006 Oracle to boost AJAX, Java , By Paul Krill
05/13/2006 Open AJAX Group Drafts Development Plans, By Stacy Cowley
05/13/2006 AJAX Powers Interactive Marketing ASP, By AjaxWorld News Desk
05/12/2006 AJAX Experts Tackle Security, Other Issues , By Darryl K. Taft
05/11/2006 Adobe Releases Spry Framework for AJAX, By AjaxWorld News Desk
More 
       

      © 2008 ajaximpact.com. All rights reserved.