My company wants to do something using ASP and figures that I can do things in ASP on the client side.
That much is true before some of the changes made to Internet Explorer. There are now some new enhancements available in the newer IEs call HTML Applications which essentially allows you to write desktop applications using VBScript. They are like WSH Scripts, but prettier (I'll take HTML pages over MsgBox anyday). And in mapping with ASP, you'll be able to use client-side ADO libraries, client-side components, and the only way to talk to the server is GETs POSTs of FORM submits or XML-RPC/SOAP.
Will HTML Applications and VBScript work on different OSs? ie Mac, Mozilla under Linux, etc.?
HTML Applications (HTA) and Sash are platform specific. Sash is windows. HTA is which ever platform you can find that has a version of IE 5.0+ with HTA implemented.
Then again, maybe not. You were not looking for a widget set were you? :D
I think it's time somebody asked why your company wants to do something with ASP. You make it sound like it's for the sake of using ASP, which is hopefully not true.
It seems that we're using ASP because someone at the top threw it out as a buzzword.
If you can save yourself some time and skip to ASP.NET instead. It's well worth it in terms of ease of use and power over regular ASP. Also it's easier (and cheaper) to program in if you do not have Visual Studio. If you have an IIS server you can install the .NET redistributable on it and have simple tutorial apps running on it in no time. You can compile code with the free .NET SDK and design pages using WebMatrix or use the SharpDevelop IDE (both also free).
Alai: dear Lord, I certainly hope that's not the case. It's like a garage shop where the mechanics are standing around an open engine and arguing amongst themselves: "Let's use a wrench! I've never seen one but I heard they are really useful", "No, what we need is a screwdriver, I used a screwdriver when I was fixing my VCR and it should be the same", "You guys are all nuts ... if you want power, you need to use a hammer ... everybody knows that ..."
Alai -- I don't see anything wrong with using ASP to build a platform independent web application (even though ASP.NET would probably be preferable). You'll be able to run the app in anything with a browser as long as you don't create browser-specific html. ASP is very similar to PHP, which it sounds like you have had some experience with.
> Client-side stuff will just give you a better UI, and is not usually necessary.
It sounds like I'm a zealot, but I'd really worry about using client-side validation to reduce load on the servers - in my opinion (ymmv), I'd trust the client as far as I can throw it. If I validate on the server, then I know whether what I'm getting from the client is valid or not. If I validated on the client, I'd have to trust it. Why should I trust the client?
We should all be zealots when it comes to developing secure public web sites!
Fog Creek Home