Posts Tagged ‘Ajax’

Classic ASP is losing its popularity, or already lost it. On the other hand, there are many developers who use it.

And, it is hard to find new & exciting projects about classic ASP but here is one: ajaxed, an ASP library with built-in Ajax support.

ASP And Ajax

With the release of ajaxed 2, the library is very mature, well documented & supported with examples.

It includes a debugging tool (Logger), has an e-mail wrapper, datagrid, a validator control & much more.

ajaxed is also fully UTF-8 compatible and has support for MySQL, MSSQL, sqlite, MS Access & Oracle.

It is a great library to speed up the development process for classic ASP developers.

Seadragon is a technology, by Microsoft, for deeply zooming images of any size. It provides almost perfect transitions independent from the sizes of the images.

Seadragon Ajax is an interface for using/embedding this technology to any website.

Seadragon Ajax

Seadragon can be used in 2 ways:

Developers can customize viewers & controls with the Seadragon Ajax Library. It is also available at the Silverlight platform.

Google Analytics has a fresh & nice feature that Ajax & Flash developers will like. Yes, it is now possible to track pageviews in Ajax & Flash applications. And, it is simple.

It is enough to call a function named _trackPageview when an Ajax request or Flash event is called.

Google Analytics Ajax - Flash Tracking

An example provided by Google is:

...
http_request.onreadystatechange = sendAlert;
http_request.open('GET', url, true);
http_request.send(null);
}

function sendAlert() {
   if (http_request.readyState == 4) {
   if (http_request.status == 200) {
      alert(http_request.responseText);
      pageTracker._trackPageview("/pagefilename1" ); } 
   else {
      alert('Error.');
   }
}
}
...

To summarize, after an Ajax request is made, the function is called with the page name that is viewed. And, Analytics tracks this page name.

An important usage tip about this feature is that, Google Analytics codes are normally installed just before the </body> tag. When calling _trackPageview function, you’ll need to use it after the Analytics codes are included. Which means installing the Analytics codes just after the <body> tag is a guaranteed solution.

Google is presenting detailed info & examples for both Ajax & Flash.

P.S. The feature is only available with the new Analytics code: the gaJsHos one.

Ingrid is an unobtrusive jQuery component for creating very nice looking & effective datagrids.

It simply adds datagrid behaviors (column resizing, paging, sorting, row and column styling, and more) to your tables.

jQuery Datagrid

With every display event, Ingrid sends a query to a dynamic file (ASP, Asp.Net, PHP..), which must be created by you (a PHP example exists).

The query then simply returns the results in a table format "how Ingrid expects them to be". And, that’s all.

For a demo, click here.

Galleriffic is a jQuery plugin for creating fast-performing photo galleries.

Images can be viewed as a slideshow or by manually clicking the thumbnails.

The gallery has support for paging which makes it possible to display large amount of images.

jQuery Gallery Plugin

Images in the gallery are mentioned as a JavaScript array and every image is loaded once they are called.

Galleriffic is also SEO friendly, you can directly view any image with the specific gallery URL of it.