Results 1 to 3 of 3

Thread: [JS] Non-OOP, Function Based AJAX Library

  1. #1
    Join Date
    Dec 2007
    Location
    Ankara, Turkey
    Posts
    160
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Default [JS] Non-OOP, Function Based AJAX Library

    1) CODE TITLE: AJAX Library

    2) AUTHOR NAME/NOTES: BYK

    3) DESCRIPTION: This library includes some useful functions to make AJAX calls and background AJAX and XML operations easier. For ease of use, we did not used an object model, instead we used a function model which generally manages the internal XmlHTTPRequest object and is based on callBack functions.

    4) URL TO CODE: http://amplio-vita.net/JSLib

    Demos are on the given URL but a direct link to the demo very brief demo site is here(only loadDynamicContent function is used): http://goeker.amplio-vita.net/heart

    Also Quick Edit Library and Dynamic Language Changer internally uses this library. You may examine their codes and comments for further demonstrations.

    Note: This library is a part of the amplio-vita JSLib project. All explanations are made on the uncompressed library as comments. Please give feedback to improve our library.
    Last edited by BYK; 12-07-2007 at 06:52 PM.

  2. #2
    Join Date
    Dec 2007
    Location
    Ankara, Turkey
    Posts
    160
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Default

    Now, the library has support to warn the user when he/she tries to leave the page if there are ongoing AJAX requests like in the GMail.

  3. #3
    Join Date
    Dec 2007
    Location
    Ankara, Turkey
    Posts
    160
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Default UPDATED Commentary

    The commentary system is changed to ScriptDoc standard which made the whole libarary much more easy to understand.

    You may find the complete specification for ScriptDoc @ http://www.scriptdoc.org/specification.htm

    A direct link to the commented libarary: http://amplio-vita.net/JSLib_files/ajax_main.js
    And a direct link to its compressed version: http://amplio-vita.net/JSLib_files/ajax_main_comp.js

    Comments are appreciated.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •