vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   why does vb use javascript? (https://vborg.vbsupport.ru/showthread.php?t=75210)

Dionysis 01-27-2005 04:41 AM

why does vb use javascript?
 
why does Vbulletin use Javascript? does it do stuff that PHP could not do?

Andreas 01-27-2005 05:20 AM

PHP = Server Side
JavaScript = Client Side

With PHP, you can't do things on your computer like displaying a Popup or Dialog, while on the other side with JavaScript you can't do things on the server like querying the database.

Colin F 01-27-2005 05:20 AM

Quote:

Originally Posted by Dionysis
why does Vbulletin use Javascript? does it do stuff that PHP could not do?

Yes, as Javascript is not server side, it allows for some execution even after the page is done loading, which php does not allow. Examples for these are the options to check all checkboxes.

T3MEDIA 02-09-2005 03:47 PM

Cant Java be serverside as well?

Zachery 02-09-2005 04:28 PM

Quote:

Originally Posted by T3MEDIA
Cant Java be serverside as well?

There is a MASSIVE difference between Java and Javascript.

Its like the difference between C++ and html


All times are GMT. The time now is 02:43 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.01741 seconds
  • Memory Usage 1,710KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete