![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
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 |
|
|
|
|
|
#2 |
|
Programmer
|
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 |
|
|
|
|
|
#3 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
@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.
|
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|