search the articles directory
Powered by Google™
old AJAX articles
Ajax - ...5, interest in this methodology soared. Could it really be that simply giving this
approach a snappy name like Ajax was responsible for the sudde...
Understanding the Definition and Philosophy of Ajax - ...pment. The problem with these kinds of questions is that once you begin to think
about them, you keep going in a circle and end up where you star...
Understanding the Definition and Philosophy of Web Services and SOA - ... common usage the term refers to those services that use SOAPformatted
XML envelopes and have their interfaces described by WSDL. For ex...
Understanding the Definition and Philosophy of REST - ...ices.
REST is in contradiction with technologies such as SOAP, WSDL, and WS-* specifications.
The following offers a quick definition of REST:...
The Easiest Way to Get Started with Ajax and REST - ...’t need to change the tools you’re using today. Whether you’re using ASP.NET,
JavaServer Pages (JSP), PHP, Ruby, or Python, you...
Testing a Dynamic Contract with Ajax - ...e case, implement the use case as a contract, write a test case(s)
to implement the contract, implement the contract in the Mock URL, and finally...
Testing the Client Side Logic - ...box is checked and the button is clicked again, a different table is filled with content. The fact
that clicking the same button results in two ...
Understanding JavaScript and Types - ...vaScript has no types or no type safety.
Let’s start out with the simple declaration of a function, as illustrated by the following
ex...
Coding Using Conventions and Not Configurations - ...not Ruby on Rails, but one aspect of Ruby
on Rails namely, convention over configuration (see http://en.wikipedia.org/wiki/
Ruby_on_Rails for m...
Advantage of parameterless functions in JavaScript - ...tions that have no parameters, even
though the caller of the function has passed parameters to the function.
For example, let’s look at...
JavaScripot Functions - ...ry interesting
from the perspective of writing JavaScript code, because the code can treat the function like
another other object. This mean...
Implementing an Error and Exception Handling Strategy - ...og box to show an error and the other does not is a browser
issue, not an error issue.
A concise way of classifying the two errors is to
...
Understanding the Behavior of Variables When Implementing Recursion - ...ollowing code works perfectly:
if( counter == 1) {
buffer = "counter is 1";
}
document.getEle...
Using Functions to Initialize and Make Decisions JavaScript - ...ht is off, and you turn off the light if the light is
on. The behavior of the program is determined by the conditions.
One example behavior t...
Understanding the Ramifications of Duck Typed Code - ...s a value or a pure reference.
But should you even care about the difference? Is it something that you need to be aware of? It
is when you are...
Implementing JavaScript Generics - ...eneric
class in either Java or C#:
class Container<Type> {
Type _managed;
}
The Container class has a g...
Putting XMLHttpRequest into a Factory - ...l code is not a bad idea, but it does make for more complicated
debugging.
The main problem with behavioral code is that the debugger has no...
Defining and Extending Classes - ...tes to the problem of figuring out the instance of the
function.
Using JavaScript closures you can define a function within a function, as sh...
Implementing Code Blocks - ...nguages
like Ruby, code blocks are part of the programming language and make for simpler code.
You use code blocks whenever you would iterat...
Turning toSource into a Complete Serialization Solution - ...
function DefinedClass() {
this.localvalue = 10;
this.localmethod = function(param) {
info("DefinedClass.localmethod", &quo...
Implementing Mixins in JavaScript - ... the type. To extend the functionality of
an instance, a property is assigned with a function or another object.
Source: /...
Implementing Proxy Methods - ...s article; rather, this article focuses on applying the Proxy pattern for a single method.
In the alternate way of wiring together two methods,...
Parent method implementation calls - ...is that the original method passed to the
proxy method must also use apply. If when calling the original method the proxy function
does not use a...
Implementing Delegates - ... browser calls window.onload, the browser is
giving a script the chance to initialize itself with a complete HTML page. For scripters, this
met...
Implementing Overloaded Methods - ...Object();
cls[ "method"] = function() {
info( "method1", "hello");
}
cls.method();
cls[ "method...
latest articles under "AJAX"
Navigation: Categories » Computers and technology » AJAX
Below is a list of all AJAX articles. If you want to find a tutorial by keywords, all you have to do is a quick search in our directory. Just use the search option available at the top-right side of the page. The website search is powered by web-articles. Or, if you want to read specific AJAX tutorial, just point to it. The newest articles and tutorials are shown first in the list. To access the last ones, browse the pages 2, 3, 4... at the bottom. Also, you may browse articles alphabetically ordered.
Page# 1 2 3 (last added articles shown first)
Enter page# 1 2 3 (last added articles shown first)
Below is a list of all AJAX articles. If you want to find a tutorial by keywords, all you have to do is a quick search in our directory. Just use the search option available at the top-right side of the page. The website search is powered by web-articles. Or, if you want to read specific AJAX tutorial, just point to it. The newest articles and tutorials are shown first in the list. To access the last ones, browse the pages 2, 3, 4... at the bottom. Also, you may browse articles alphabetically ordered.
Page# 1 2 3 (last added articles shown first)
Validating Your Data (06/01/2007)
(...) • The Web client is considered insecure, so the server could receive invalid data if clientside validation is the only validation. Client-side validation saves processing power on the server side by doing the validation and using the resources of the client. The downside is that in an HTML application, the client is considered insecure, and hackers can always bypass the security efforts of aWeb developer. (...)
(...) • The Web client is considered insecure, so the server could receive invalid data if clientside validation is the only validation. Client-side validation saves processing power on the server side by doing the validation and using the resources of the client. The downside is that in an HTML application, the client is considered insecure, and hackers can always bypass the security efforts of aWeb developer. (...)
Creating Dynamic Layouts (06/01/2007)
(...) Now computing devices are extremely powerful, but vary to an extreme in their screen resolution. Personal computing needs can vary from a low of 800×480 to a high of 4500×1200 for a dual screen. It doesn’t make sense to fix the screen resolution. (...)
(...) Now computing devices are extremely powerful, but vary to an extreme in their screen resolution. Personal computing needs can vary from a low of 800×480 to a high of 4500×1200 for a dual screen. It doesn’t make sense to fix the screen resolution. (...)
Manipulating Dynamic Content Blocks (06/01/2007)
(...) First, let’s define a content block. A content block is an HTML element that serves as a placeholder for HTML content. What distinguishes a content block from, say, a table cell, is that you can move a content block from one location in the HTML hierarchy to another. (...)
(...) First, let’s define a content block. A content block is an HTML element that serves as a placeholder for HTML content. What distinguishes a content block from, say, a table cell, is that you can move a content block from one location in the HTML hierarchy to another. (...)
Implementing Dialog Boxes (06/01/2007)
(...) Solution Two things must happen in order to make a div element behave like a dialog box. First, you must place the div element on the HTML page using absolute coordinates. Second, you need to make the div element aware of mouse movement. (...)
(...) Solution Two things must happen in order to make a div element behave like a dialog box. First, you must place the div element on the HTML page using absolute coordinates. Second, you need to make the div element aware of mouse movement. (...)
Serializing HTML (06/01/2007)
(...) html <html> <head> <title>Inconsistent .innerHTML</title> </head> <script language="JavaScript" src="/scripts/jaxson/common.js"></script> <script language="JavaScript" type="text/javascript"> function DOMInserted() { var element = document. (...)
(...) html <html> <head> <title>Inconsistent .innerHTML</title> </head> <script language="JavaScript" src="/scripts/jaxson/common.js"></script> <script language="JavaScript" type="text/javascript"> function DOMInserted() { var element = document. (...)
Dealing with Formatted Data and Forms (06/01/2007)
(...) The advantage of doing a one-to-one mapping is that it simplifies the work for you. It’s easier for you to write a database statement such as “Search for this city” rather than “Search for this thing, which could be a city, address, or country.” Yet, the seemingly vague input is the better approach from the perspective of the user. (...)
(...) The advantage of doing a one-to-one mapping is that it simplifies the work for you. It’s easier for you to write a database statement such as “Search for this city” rather than “Search for this thing, which could be a city, address, or country.” Yet, the seemingly vague input is the better approach from the perspective of the user. (...)
Implementing an SOA Architecture (06/01/2007)
(...) HTML is a user interface technology that is not universally understood across all devices. An Atom end device could probably guesstimate the format structure, but you probably know the sweat and pain associated with writing HTML code that can display on all devices. With aWeb service based on the Atom format, you have a clear understanding of what the data is and represents. (...)
(...) HTML is a user interface technology that is not universally understood across all devices. An Atom end device could probably guesstimate the format structure, but you probably know the sweat and pain associated with writing HTML code that can display on all devices. With aWeb service based on the Atom format, you have a clear understanding of what the data is and represents. (...)
Implementing the Application Logic Layer (06/01/2007)
(...) user, passwd = configuration.Database.password, db = configuration. (...)
(...) user, passwd = configuration.Database.password, db = configuration. (...)
Testing the Web Service (06/01/2007)
(...) Let’s put this into another context. Imagine you own a pizza restaurant, with take-out orders, online orders, and wait staff to take orders from onsite customers. So customers can order a pizza in a few different ways, and each way probably has a completely different ordering system. (...)
(...) Let’s put this into another context. Imagine you own a pizza restaurant, with take-out orders, online orders, and wait staff to take orders from onsite customers. So customers can order a pizza in a few different ways, and each way probably has a completely different ordering system. (...)
XMLHttpRequest Details and Making Asynchronous Requests in Ajax (06/01/2007)
(...) getElementById( 'httpstatus').innerHTML = xmlhttp.statusText; document. (...)
(...) getElementById( 'httpstatus').innerHTML = xmlhttp.statusText; document. (...)
Implementing the Asynchronous Class in Ajax (06/01/2007)
(...) , get) to make an HTTP request. The purpose of the settings data member is to provide the callbacks and extra information associated with a request. In the example, the onComplete method is called once the HTTP request has completed. (...)
(...) , get) to make an HTTP request. The purpose of the settings data member is to provide the callbacks and extra information associated with a request. In the example, the onComplete method is called once the HTTP request has completed. (...)
Implementing the Synchronous Class in Ajax (06/01/2007)
(...) You still provide a settings code block, and you still call the get function. The reason this approach works is due to the way that Asynchronous and Synchronous are wired together, as illustrated by the following code: function Asynchronous(userSettings) { this.xmlhttp = new FactoryXMLHttpRequest(); this. (...)
(...) You still provide a settings code block, and you still call the get function. The reason this approach works is due to the way that Asynchronous and Synchronous are wired together, as illustrated by the following code: function Asynchronous(userSettings) { this.xmlhttp = new FactoryXMLHttpRequest(); this. (...)
Handling Errors in AJAX (06/01/2007)
(...) The error display is where the problems begin, because most browsers display errors as little icons, or in an invisible JavaScript console. For developers, it is easy to figure out the source of the error, but users are often bewildered. The generalized approach is effective because of the way the error is routed. (...)
(...) The error display is where the problems begin, because most browsers display errors as little icons, or in an invisible JavaScript console. For developers, it is easy to figure out the source of the error, but users are often bewildered. The generalized approach is effective because of the way the error is routed. (...)
Ajax Processing the Atom Feed (06/01/2007)
(...) getElementsByTagName('link')[0].getAttribute('href'); dates[i] = items.getElementsByTagName('entry ')[i]. (...)
(...) getElementsByTagName('link')[0].getAttribute('href'); dates[i] = items.getElementsByTagName('entry ')[i]. (...)
Implementing a Universal Web Service Architecture using Ajax (06/01/2007)
(...) Solution Part 1 The implementation of the solution involves taking one of the already existing socket technologies and using that technology to build aWeb service. For illustration purposes, this article uses a single technology Java. You could choose . (...)
(...) Solution Part 1 The implementation of the solution involves taking one of the already existing socket technologies and using that technology to build aWeb service. For illustration purposes, this article uses a single technology Java. You could choose . (...)
Identifying the Resource and Representation using Ajax (06/01/2007)
(...) Separating the resource from the representation means that a single URL will have separate representations. The representation that is sent depends on the value of the HTTP Accept-* header, but doesn’t need to be the only one. Let’s focus on the Accept HTTP header and consider the following HTTP conversation that returns some content. (...)
(...) Separating the resource from the representation means that a single URL will have separate representations. The representation that is sent depends on the value of the HTTP Accept-* header, but doesn’t need to be the only one. Let’s focus on the Accept HTTP header and consider the following HTTP conversation that returns some content. (...)
Ajax Closed Access Web Services (06/01/2007)
(...) That lack of documentation is the decision maker of whether you use REST to store data, or whether you use background processes. The database vendors aren’t going to allow you to add data to their database using C file operations, because you would corrupt the database. Whenever you execute a SQL insert statement, a whole host of things happen (such as indexing and optimization) that wouldn’t occur if you accessed the database directly. (...)
(...) That lack of documentation is the decision maker of whether you use REST to store data, or whether you use background processes. The database vendors aren’t going to allow you to add data to their database using C file operations, because you would corrupt the database. Whenever you execute a SQL insert statement, a whole host of things happen (such as indexing and optimization) that wouldn’t occur if you accessed the database directly. (...)
Implementing Web Services for Large or Slow Data Sets (06/01/2007)
(...) In this article’s solution, state and callbacks are required. Efficiency is one of the requirements of this solution, but remember that efficiency is relative, and the solution will be as efficient as possible for the context. As you know, in any search engine, you enter a term or phrase in a text box, click the Search button, and the relevant HTML pages are returned for the term or phrase you typed in. (...)
(...) In this article’s solution, state and callbacks are required. Efficiency is one of the requirements of this solution, but remember that efficiency is relative, and the solution will be as efficient as possible for the context. As you know, in any search engine, you enter a term or phrase in a text box, click the Search button, and the relevant HTML pages are returned for the term or phrase you typed in. (...)
Implementing the HTML Client (06/01/2007)
(...) initialize("display", "listElements"); } // Removed for clarity </script> <body onload="Initialize()"> <table> <tr id="listElements"> <td onmouseover="DynamicIterator.startIteration( -1)" onmouseout="DynamicIterator.stopIteration()"> <img src="/images/left. (...)
(...) initialize("display", "listElements"); } // Removed for clarity </script> <body onload="Initialize()"> <table> <tr id="listElements"> <td onmouseover="DynamicIterator.startIteration( -1)" onmouseout="DynamicIterator.stopIteration()"> <img src="/images/left. (...)
Multithreading in JavaScript (06/01/2007)
(...) makeCall = function() { if( typeof( this.obj) == "function") { this.obj( this. (...)
(...) makeCall = function() { if( typeof( this.obj) == "function") { this.obj( this. (...)
Enter page# 1 2 3 (last added articles shown first)
