Jotsite Water Cooler Area




Post a New Topic

Show Recent Topics 

VBScript usage


This is a stupid question.... but since Sonny has been currently mucking with ASP, I will just ask: is VBScript still widely used?

My limitted experience with VBScripts has given me the impression that it is good for code that is about 1 page long. Any larger than that and the code becomes unmanageable. You WILL shoot yourself in the foot if you write anything longer than that. Forget about Object Orientation or any sort of higher level abstractions. It is just not made for that.

Wasn't that what VB.NET was all about? The idea was to get rid of VB...

Hoang
October 14, 2005 (14:54)


I've mostly been playing with JavaScript in a browser so my knowledge of VBScript under ASP is minimal, though I do have some memory of past projects.

It's pretty nasty except for the simplest of web sites. HTML and VBScript are interspersed in the "content" pages, with special tags surrounding VBScript code so that the web server knows to give them to the VBScript interpretor to handle.

From reading through an old file I believe that there is no continuity between the client and server side "components", in contrast to ASP.NET where visual elements mimic traditional client application components. Instead I pulled web form inputs to server-side variables via Request.Form(idString), maybe there's another way since really I only dabbled in ASP.

Sonny
October 18, 2005 (01:24)


so you have been using ASP.NET for a while? Do you know if a large following has errupted in using Microsoft's server? Since 2 years ago, I have moved to learning more about Apache than IIS. Given the maturity of the code and its stability, more folks are using and developing with Apache than IIS. Being free doesn't hurt either.

Hoang
October 19, 2005 (12:35)


I think being free is everything for most people. Technically Apache is just the server where every bit of functionality touted today is derived from mods, but all those mods are free. Contrast this to Microsoft's .NET which will only run on NT, XP or the server equivalents, and to get the full effect of Microsoft technologies you need to buy the associated servers. Great if you are serving up a corporation's entire web presence and managing their intranet too, not so good for mom-and-pop websites.

You pretty much get what you pay for though. I've also tried to get into Coldfusion (not quite free, but free of the interconnection to other Microsoft software) and JSP where at one point those web servers were sitting on my computer and I'd built a basic form using either. For most projects they'll get the job done, much like ASP/VBScript is adequate for forms-based web sites -- didn't get so deep into investigating them that I'd consider much more.

Both use the idea of adding special server-side tags for components seen in .NET, but .NET allows programmatic building up of pages so that using C# or VB.NET in a separate source file I can populate say some JavaScript fields from the mostly-HTML file. I used this idea extensively in my slide show, where instead of lots of initial image tags getting loaded and their display managed, the SRC is modified to point to other images. The feel is more like clicking through a web site rather than downloading say a large video.

Rather than text stored on separate pages the code will also populate the infotext arrays at the same time. Since this is all supposed to be very general the entire solution is driven off of a database, so there is a single URL for the slideshow using the web query mechanism to figure out which set of pictures and text to display. With such a basic understanding of Cold Fusion and JSP I wouldn't know how to translate such a simple system into them, though for ASP and VBScript this would be one serious mess.

Sonny
October 27, 2005 (11:27)


http://ashlynoutloud.com/get-auto-insurance-quotes-online-ontario.html http://kyalla.com/progressive-insurance-bedford-nh.html http://ashlynoutloud.com/nj-auto-insurance-id-codes.html http://lettsgetmarried.com/auto-insurance-companies-in-new-jersey.html http://convenos.com/progressive-auto-insurance-online-login.html http://firstconguccsm.org/car-insurance-rates-with-2-duis.html http://firstconguccsm.org/bmw-3-series-insurance-group.html

Lynn
August 07, 2016 (18:32)


efficient coverage car insurance speeds would love car insurance rates either front idea auto insurance its time might wish auto insurance decided

Kairii
August 19, 2016 (21:54)


http://homeinsuranceonline.men/ http://autoinsuranceabc.men/ http://topinsurerslist.men/ http://carinsurancetop.top/

Zarya
August 23, 2016 (02:11)




Write a Reply