vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   [Discuss] Developers use of AJAX Technology (https://vborg.vbsupport.ru/showthread.php?t=81677)

Marco van Herwaarden 05-18-2005 10:17 AM

[Discuss] Developers use of AJAX Technology
 
Please use this thread to discuss the use of AJAX technology and how we can make optimal use of it in integration with vBulletin.

Interesting links to use as resource on this topic are:
- [Tutorial] Developers Introduction To AJAX Technology by Zero Tolerance

For those who want some "sneak previews", the following vB3.0.7 hacks using AJAX have been released:
- AJAX Fast Open/Close Threads (vB 3.5 Replication) by Zero Tolerance
- AJAX: check if username exists on registration in realtime by MrNase
- AJAX: check for banned email on registration and changing mail by MrNase


Interesting links on the web about coding AJAX in General:

Interesting links on the web about AJAX in General:

Corriewf 05-18-2005 03:41 PM

What is the deal with all of these ajax hacks? Is this software integrated into one of the vb versions or can all use this?

Marco van Herwaarden 05-18-2005 06:29 PM

AJAX is not some finished software, it is the combined use of some techniques. It combines the use of JavaSciript with XML and Asynchronous communicition with the server.

Corriewf 05-19-2005 12:45 PM

So when I see AJAX hack(s) its referring to a format of coding vs and addon to software? What is the required version of vbulletin to utilize it?

Marco van Herwaarden 05-19-2005 01:38 PM

There is no requirement of the vB version. It is the capability of your browser that could be limiting it. All major browser support it, but you must have javascript turned on.

AJAX is nothing more then a technique that make some things possible that are very difficult without AJAX. It is up to the coders if and how they will use it.

Corriewf 05-19-2005 02:00 PM

From the end user perspective (me :) ) what is the benefit of using this vs using templates and php code ect ?

Zero Tolerance 05-19-2005 02:12 PM

The benefit from AJAX technology is it allows functions to be "real-time", this is its prime feature, the ability to send and recieve data to a server without any reloading of the page or iframes. Which is one thing internet applications lacked, and where desktop applications had the upper hand.

But now with ajax technology, you can develop applications where sections if not the whole thing doesn't require any reloading at all, think of it as a stream video link instead of having to download it all before viewing it, you'd prefer to view the stream instead of waiting for the download.

- Zero Tolerance

Corriewf 05-19-2005 02:24 PM

Yeah that does sound very nice. Wonder why the hacks coming out utilizing this code are task which are rarely used, instead of repetitive tasks.

What would be GREAT is a hack that would update the current post on the main index page without having to refresh to see new posts.

Marco van Herwaarden 05-19-2005 02:28 PM

Quote:

Originally Posted by corriewf
Yeah that does sound very nice. Wonder why the hacks coming out utilizing this code are task which are rarely used, instead of repetitive tasks.

What would be GREAT is a hack that would update the current post on the main index page without having to refresh to see new posts.

Although that would technically be possible, it would probably kill your server.

Even with AJAX, that data must still be requested, retrieved from the MySQL database, passed back to the client, and then all controls would need to be updated.

Corriewf 05-19-2005 03:17 PM

Yeah but if you could set the refresh rate to accommodate the server load it would be perfect.


All times are GMT. The time now is 03:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00992 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete