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. 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 be dynamically generated and the "script" to be downloaded from any server. When the downloaded script is made up of data formatted in JSON, the script tag is effectively being used to download new data across domains outside of the same-origin policy. But if you're going to employ JSON tech... (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)

Real-World AJAX Book Preview: Designing the Server API

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... (more)

AJAX Logging Functions

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. Logging Functions Because we want our JavaScript to be able to write to the log window in our HTML, we'll first add the logging code to our JavaScript. As we described earlier... (more)