JavaScript for Business Website ?

A

AP

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) ? 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) ? Thanks, AP.
 
D

David Mark

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) ?

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. ;)
 
A

AP

Depends on what you mean.  What do you plan to do with JS?

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).
 
D

David Mark

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. ;)
 
T

Thomas 'PointedEars' Lahn

AP said:
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
 
E

Evertjan.

Thomas 'PointedEars' Lahn wrote on 01 jan 2010 in comp.lang.javascript:
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.

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.
 
A

AP

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.

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 ?
 
D

David Mark

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.

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...
 
A

AP

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.
 
D

David Mark

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

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. ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,082
Messages
2,570,589
Members
47,211
Latest member
Shamestone

Latest Threads

Top