Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 3rd, 2005, 10:26 AM   #1
java_roshan
Professional Programmer
 
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4 java_roshan is on a distinguished road
VBScript and ASP

ASP uses moreorless VBscript to process data.

Since, IIS Servers are available, the scripts are executed without problems.
Whereas, the client side may have a browser that does not support VBScript like Mozilla.

Now, for a person who has learnt VB and ASP very well will have to learn a different scripting language....Does it sound good?

I think there must be an alternative to it...Please let me know.

Or are there programs that are written to identify vbscript and convert them to javascript (quite stupid..I agree...but..just a thougt!)???
__________________
Visit: http://www.somaiya.edu
java_roshan is offline   Reply With Quote
Old Oct 3rd, 2005, 12:54 PM   #2
ChiHappens
Programmer
 
ChiHappens's Avatar
 
Join Date: Sep 2005
Location: Brevard, NC
Posts: 35
Rep Power: 0 ChiHappens is an unknown quantity at this point
Send a message via MSN to ChiHappens
What exactly are you speaking about? The VB code that is used by IIS when running an ASP script is server-side only. It matters not one wit what the client browser is. The only thing that matters is the scripting language used within the actual HTML (as it is seen on the client's side)

For instance:
http://www.evolutionsoftwarellc.com/scs/index.asp

navigate to my website using IE, Netscape, and Firefox (or anyother browser for that matter, on any machine) and it looks and works the same. Why? because I only use JavaScript on the client side, but I use ASP (read Visual Basic) on the server side.

So unless you have foolishly added an html tag that says:
<script langauge="VBScript">
</script>

instead of
<script langauge="JavaScript">
</script>

then you have nothing to be concerned about.

Chi
__________________
http://www.starshipcombatsimulator.com
They mostly come at night...mostly.
ChiHappens is offline   Reply With Quote
Old Oct 3rd, 2005, 1:03 PM   #3
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
@ChiHappens: i believe i heard some time ago that asp generates vbscript in the webpages it passes to the client, what makes it incompatible with other browsers then IE. not sure though.
Polyphemus_ is offline   Reply With Quote
Old Oct 3rd, 2005, 1:27 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
You can certainly use server side script to "generate" script on the browser. It would certainly be foolhardy to do so with something the browser can't deal with. The first thing, though, is to get a true grasp of the client/server relationship. Just because you see "mixed code" on a page doesn't mean it's interactive. It's a mixed method of preparing material on the server. Then it's shipped to the browser to render, and the server is done. Out of the picture until a new request arrives. On vacation. Home playing with mama. Not watching the client's mouse clicks, for sure.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:16 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC