Depends on what you mean. What do you plan to do with JS?
> Are there any examples of business websites which
> are purely HTML/Javascript of do people normally use PHP or ASP.NET
> instead (as the code is hidden) ?
You definitely shouldn't process payments on the front-end. ;)
Although I am not intending to do the same thing, InstantChess.com has
many web aspects I'm interested in - many users/subscribers/payments/
players/login and storage of user data ...
But I think it uses more than just HTML/JavaScript - I can see Flash
in it as well (although I think it is there for animation purposes).
I'm sure it uses back-end scripting as well. And you can certainly do
animation without Flash. ;)
> Is it advisable to build a business website (with users entering and
> retrieving private info and monetary Paypal-type transactions and the
> like) using JavaScript (in view of the fact that the code is totally
> visible to users) ?
The source code is only "totally visible to users" if the programming
language is used client-side. Anyhow, you do want to validate financial
transactions server-side, regardless of the programming language.
> Are there any examples of business websites which
> are purely HTML/Javascript of do people normally use PHP or ASP.NET
> instead (as the code is hidden) ?
Yes.
> Thanks, AP.
With as little clue as this, you should not be building any business
website. <http://jibbering.com/faq/#posting>
You are welcome.
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
And what is more,
there is no reason not to use Javascript serverside.
If you enjoy Javascript, serverside Javascript
[I do it on the ASP platform] is a good choice.
Do not use Javascript or any other script clientside
for security critical applications.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Thanks very much for your suggestions. I have basic knowledge of
JavaScript (client-side) - would be grateful if you could suggest
where I could learn server-side JavaScript meant for beginners (can't
find any for some reason). Does server-side JavaScript require a
special software to be installed on the server and if so, do most web
servers have it ?
I use "classic" ASP with JScript for some projects. Start with MSDN...
Is this the only way server-side JavaScript can be implemented ? I've
heard classic ASP is slowly phasing out, but I've also heard that
server-side JavaScript is slowly making an appearance, hence my
question as to whether if there's another way of doing server-side
JavaScript. Please bear with my general ignorance in this area as I've
little experience in web programming. Thanks.
Well, it's been slowly phasing out for almost a decade. I'm sure
you'll be able to find a host for years to come.
> server-side JavaScript is slowly making an appearance, hence my
> question as to whether if there's another way of doing server-side
> JavaScript.
I'm sure you can do it with .NET, but that is definitely on the way
out as it's been a nearly unqualified disaster. In short, MS tried to
abstract something they never really understood (the Web). Sounds
familiar. :)
> Please bear with my general ignorance in this area as I've
> little experience in web programming. Thanks.
Ignorance is hardly a crime. Beat the hell out of foolhardiness. ;)