11-10-2002, 09:09 AM
Hi all! (fyi, newbie here)
Any suggestions? I would really appreciate it.:confused:
11-10-2002, 09:47 AM
It IS possible to do some of this stuff in JS, but tbh you will be better off using JS for client-side validation and not much more. See, this is how it all fits together:
...sends information and browser redirection to:
PHP or ASP scripts (or Perl, CGI etc.) (server-side)
these interface with SQL (MySQL or SQL Server etc.) to query the database, and then process the results, and generate a page
The page is sent back to the browser... yup, DHTML again
That is very simply how it fits together, so you see where you should be looking :)
If you re-evaluate what you need to do, then I or whoever else can come up with some appropriate links :)
::] krycek [::
11-10-2002, 10:08 AM
So, yes, I see now that it should have been posted on the other section.....sorry!
11-10-2002, 10:39 AM
I can understand that :)
Back in January I was asked to do some teaching at a local college, as one of their lecturers was away sick. I did two terms, and that was more than enough - the place was completely disorganised, and half the time I wasn't given any information - let alone the students!
Let's just say that after commercial training, teaching at a college was a bit of a shock, even though I was a student a very short time ago. Somehow I always thought it would be different, being the teacher...
I am never, ever going to do college teaching again. Period.
I hope you succeed in your project... there are lots of good tutorials out there, and plenty of people on these forums who will help you :)
::] krycek [::
11-10-2002, 07:39 PM
If you have the requirements, I'm sure plenty of people in the ASP forum can help.
11-11-2002, 01:25 AM
Thanks! Here's what I need to do....
In general..."build a web based classified ad system. Users must be able to view items for sale, place an item for sale, browse the listings of what's for sale, register their name with the system, and log into the system if they have previously registered".
On the home page...Present the user with a welcome message etc...and also have links or buttons that will allow them to browse the listings (they are allowed to BROWSE without registering)...place ads (only registered users can do this), register as a new user, log in if returning.
On the new user reg. page...Present a form to the user to collect the users personal details, including a password (they must enter it twice for verification), then submit the data to the database. After they complete this page, they are to see a page that welcomes them by name.
On the Login page...Previously registered users will enter their user name and password. Compare this username/password combination with those stored in the database and if the combo is valid, they will go onto the next page which welcomes them by name.
The users (once registered) should be able to add items for sale.
A user can browse items, then there should be a button beside each item that will allow them to select any item for purchase. WHen the item is selected, forward the user to the order form, which will include the items description and unit cost. THe order form must dynamically calculate the default date, the subtotal, tax and todal cost. When the user submits the form, all invoice info must be appended to the database.
All pages must share a common, consistent navigation system that uses ASP include file to present a set of site navigation options. The nav. system must be visible at all times and visitors must be able to access all other areas of the website using the nav. system. (I don't think I have a problem with this aspect...knock on wood)
So that's the general idea. Don't you think even THIS sounds a bit much for a beginner?!?!?! But there's nothing I can do about it..it is what it is, right.
Good grief...where do I start?
Thanks, if anyone can help. Like I said, I was hoping with the internet being as big as it is, that surely there might be something that can get me going!
11-11-2002, 01:31 AM
I know exactly what you need to start with - it's basically the same thing, but you'll need to add the login feature:
To start with, check out the "Rugged ASP" tutorial.
This is a great relational database tutorial which should get you going on the right track (as long as you can use Access).
Don't worry about that though as pretty much the only basic difference between using Access vs. SQL Server (aside from performance) is your connection string.
I can guarantee you if you read through that tutorial (and mess around with it yourself) you'll be at least halfway there... then all you have to do is make your own categories and items, and come up with the login and navigation system...
Hope this helps though! :)
If you run into any specific problems, don't worry about posting them in the ASP Forum, that's what it's there for.