Discussion Locked

VBSCRIPT or JAVASCRIPT

0 helpful
15 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I am starting a development project to host an intranet application. We have planned to use ASP (active server pages) but not sure about which one out of VBSCRIPT or JAVASCRIPT to use. On a short term basis we plan to use VBSCRIPT. But for a long term I feel Javascript would be an ideal option given the reason that it is platform-free (at the cost of process-time). Which one out of these will provide a good performance in terms of resource usage?

Again given the choice between ASP and JSP, which one would you suggest on a long term basis?

Regards,
Chandra

15 replies

by johnyboy

Firstly are you intending to run any code on the client machine, If you are not then it doesn't really matter which one you use - it will be probably be dictated by your developers - if you wish to run some code on your clients then javascript is the best one as it will work in netscape etc

by limbo

Chandra,
True, VBScript is not platform-free but are you doing multi-platform development? VBScript is faster to develop, and often easier to maintain. Javascript may seem like the obvious solution, but the resource footprint can render complex apps in-operable.

Have you considered using a visual modelling case tools like Rational Rose or Viso-2000? This modern UML approach to development can solve problems of this nature, due to it's ability to structure just about any programming language from common A&D principles. Check out www.rational.com for more info...

Regards,
George

by compsci

Chandra,
Using VBScript for the server scripts, and JScript/Javascript for the client-side code has worked well for us. Using Javascript on the client allows us to maintain some compatibility with other browsers like Netscape. We also use Active Server Pages and have been happy with their performance.

by noodle

Greetings!
It's likely your usage of
ASP will be vbscript generating the page and some javascript splashed into the output formatting.
JSP (java server pages) would generate the pages and again some javascript
will probley be sent to client for some on-over button effects etc.

If your server load is an issue JSP servers in a BSD (Unix-Flavor)
configuration carrys loads much more gracefully. But if you can do ASP with JSP in NT without VBSCRIPT your half way there.
Hope this helped.

by brandonh

Pretty much like JohnyBoy said, you need to figure out what your developers can and will use. Most of your choices really depend on the backend platform and deadlines may dictate others. I personally would go with VBScript on the server, JavaScript on the clients (if needed, of course), and look at moving any large amounts of processing into Active Server Components developed in VB or VC++. The components will give you a definite performance boost and scalability over totally scripted pages and you can slowly migrate more components in as you go.

Hope this helps.

by dushy_ant

Well ,Here you have not mentioned how much you are dealing with a Database. ASP has been proved to be faster to run on a Client Server Environment with ADO. Hence it is a better option for Sites where much data has to be stored and Retrieved

Whereas JSP calls servlets which are compiled and hence works faster but they are slow in dealing with the Database.

by prasad_p

If u are trying to implement the project in INTRANET then u may go with ASP or VBScript. If u planned to put the project in ur web site or some where else then i prefer to go for JAVAScript with ASP.
Best of Luck, i hope this is ur first live project.

This discussion is closed to new replies.