I really dont know where to start. If someone could help me, Id be very glad.
Before you do anything, I would spend a little time thinking about your scope and just how big this application needs to be. What I mean by that is... do you want a simple product catalog and be able to add items to a cart? Or do you also want users to register accounts, be able to log in, view past purchases, etc.? Will items ever go on sale? Is inventory going to be maintained?
Working out the logistics of your application is important before you get too deep. As well, it will help you figure out what you need to look for in terms of tutorials and other resources as you go along.
Originally posted by Jason Kwok:
do you want a simple product catalog and be able to add items to a cart? Or do you also want users to register accounts, be able to log in, view past purchases, etc.? Will items ever go on sale? Is inventory going to be maintained?
Thanks mate! I think that helps! but could you please let me know what modules I can separate my application into. What tables do I make in the database? I have trouble getting the project kicked off. I would want to start the project with minimal modules and try and expand the scope later.
For instance you'll need a primary key (I'd recommend using a surrogate), a product id, title, price, weight, height, width, depth, quantity in stock, description, etc.
If I were you, I would begin with the product. Get a database started and think about just making a catalog of your items. After that, you can move to the next step regarding a shopping cart.
I actually found the following link on the MSDN website
Do you think I should start working with these database tables?
Anyways, Cheers mate, I think I can start working on something.
However, make sure you get a clear picture of what you want out of this application. If you're not intending on allowing customers to log in or create accounts, place orders, or make a payment... then several of those tables are unneccesary.
A very painless setup is a combination of JBoss 4.0.5GA (The most stable and modern release out there) + Tomcat 5.5.9.
When you're using the 'model' in an MVC pattern, this could be nothing more than an interface to an Enterprise Object, which is what I think you're looking for.