Welcome!

Not the best place to find out what's happening with

Jay Fienberg

Subscribe to Jay Fienberg: eMailAlertsEmail Alerts
Get Jay Fienberg via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Latest Articles from Jay Fienberg
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 ...
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 of this chapter will be detailing the specifics of this code, we wanted to start off with a brief overview of the process of de...
We've also included a couple pure usability features in our ChatWindow class. The focus() and blur() methods simply change the background color of the chat window's text input to help the user know which window is active and where they are typing.
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. 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 DVD...
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 use Prototype's bindAsEventListener to ensure that, when the AJAX request is complete, it calls the display() function on the i...
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:
First, we create a simple structure in HTML that represents the major elements of our user interface: Our goal at this point is to just represent the structural pieces of the user interface. In HTML (XHTML 1.0 Transitional, specifically), it looks like this:
As with any new technology or methodology, AJAX development has security risks. Many of these are easily avoided through good Web coding standards. Even so entire books could still be written on the elements of AJAX security. This chapter provides an overview of security issues to give...