Click to See Complete Forum and Search --> : Registation Javascript


bsipler
07-22-2004, 05:48 PM
I am brand new at java script. I am tring to put a member's registration for name and email address. Can someone help me with such a script? HELP!

Blaine

AdamGundry
07-23-2004, 02:42 AM
I'm not quite sure what you are trying to do, but JavaScript cannot store data on the server or anything similar, so it cannot be used for registrations. Use a server-side language such as PHP or Perl instead.

Adam

bsipler
07-23-2004, 08:43 AM
As I said, I am somewhat new with java. I have build a website using Cutesite Builder. I am a bit familiar with HTML and I have inserted HTML into the website. I may have spoken incorrectly when I said I wanted a Java script to provide a veiwer a place to register NAME and EMAIL ADDRESS. At this point I really don't know what I need. If you have any suggestions, I would really appreciate it.

Blaine

Viki
07-23-2004, 09:52 AM
Hi,
I don't get what exactly you wanna do. But here is what I understand from your orignal post.
For making user's registration system, divide the while system [logically] into three layers. 1) Presentation Layer 2) Business Logic Layer 3) Persistence Layer.

1) Presentation Layer:
Is the browser to which user will interact with your system. In otherwsords, it will be a layer made up of HTML,Javascript,CSS,JSP,ASP,PHP etc. whose soul purpose is to collect[recieve]userName and password from user.

2) Business Layer
Business laleyr will use any computer language like Java/C++/C# etc to manipulate data.

2.1) It will take UserName n Password info from Presentation Layer.
2.2) Extract the user name n password from Persistence Layer
2.3) Match the dinformation in 2.1 and 2.2
2.4) If both are same, will send SUCCESS to presenattion Layer, else Login Failed.

3) Persistence Layer:

This is Databse layer, like Oracle, MS ACCESS, Simple Flat File, etc. Where all user information will be saved permennatly.


Hope it gives you an idea.


Bye,
Viki.

AdamGundry
07-24-2004, 03:06 AM
I would normally consider JSP, ASP and PHP to be part of layer 2, not layer 1, but otherwise I agree.

Adam