James Benson

Subscribe to James Benson: eMailAlertsEmail Alerts
Get James Benson: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by James Benson

This content is reprinted from Real-World AJAX: Secrets of the Masters published by SYS-CON Books. To order the entire book now along with companion DVDs for the special pre-order price, click here for more information. Aimed at everyone from enterprise developers to self-taught scripters, Real-World AJAX: Secrets of the Masters is the perfect book for anyone who wants to start developing AJAX applications. Designing the Server API At this point, we'll look at the functionality that we need on the server to serve our client. We'll create an API that matches our major service needs, which are: Display the client UI Return a list of users Return messages between the user and each buddy Return a list of buddies with their current online status Send a new message from the user to a buddy Update the user's online status We'll design our API to take advantage of some of t... (more)

JSON - An Attempt to Bring XSS Back

This content is reprinted from Real-World AJAX: Secrets of the Masters published by SYS-CON Books. To order the entire book now along with companion DVDs for the special pre-order price, click here for more information. Aimed at everyone from enterprise developers to self-taught scripters, Real-World AJAX: Secrets of the Masters is the perfect book for anyone who wants to start developing AJAX applications. JSON - An Attempt to Bring XSS Back JSON lets one take advantage of the "On Demand Javascript/Script Tag hack" described earlier. This technique allows new HTML script tags to ... (more)

AJAX IM Client

This content is reprinted from Real-World AJAX: Secrets of the Masters published by SYS-CON Books. To order the entire book now along with companion DVDs for the special pre-order price, click here for more information. Aimed at everyone from enterprise developers to self-taught scripters, Real-World AJAX: Secrets of the Masters is the perfect book for anyone who wants to start developing AJAX applications. AJAX IM Client In this chapter, we'll step through the creation of an Instant Messaging (IM) client application built with AJAX, JavaScript, and dynamic HTML/CSS. While most ... (more)

Real-World AJAX Book Preview: A Safer More Secure AJAX

This content is reprinted from Real-World AJAX: Secrets of the Masters published by SYS-CON Books. To order the entire book now along with companion DVDs for the special pre-order price, click here for more information. Aimed at everyone from enterprise developers to self-taught scripters, Real-World AJAX: Secrets of the Masters is the perfect book for anyone who wants to start developing AJAX applications. A Safer More Secure AJAX As with any new technology or methodology, AJAX development has security risks. Many of these are easily avoided through good Web coding standards. E... (more)

AJAX Load Buddies

This content is reprinted from Real-World AJAX: Secrets of the Masters published by SYS-CON Books. To order the entire book now along with companion DVDs for the special pre-order price, click here for more information. Aimed at everyone from enterprise developers to self-taught scripters, Real-World AJAX: Secrets of the Masters is the perfect book for anyone who wants to start developing AJAX applications. Load Buddies The load buddies function uses the Prototype library's Ajax.Request() to get the user's buddy list, which includes the current status of each buddy. Again, we us... (more)