473,799 Members | 3,061 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Passing and storing website data

Hi

I am currently developing a website for selling t-shirts. I have the design
and structure of the site pretty much finished, I just need to work out the
business logic for the site.

An early version on the site can be found at
http://www.blackwaterbadgers.co.uk/fsm/default.asp
The design has changed since this version but it gives a general idea of how
it will work.

The user will have to go through a process of choosing the category,
choosing an image from within a category, choosing the shirt style, size and
colour
and then finally be shown a preview of the shirt at which stage they can add
it to their basket.

I plan to link the site to PayPal initially and utilise the online shopping
cart. I have experience with VB.NET and SQL Server so I should imagine a
SQL Server back end would be my best option.

http://www.junkfunk.com/ illustrates how I would like the site to work
initially with PayPal and the PayPay cart.

To start with I think I would have two tables to describe the categories and
the images in each category.

Category
------------
CategoryID
CategoryImageUr l

Image
-----
ImageID
CategoryID
ImageUrl

I then need a way to remember which design was chosen and then keep track of
the style, size and colour chosen. When the user is presented with a
preview
of the shirt, I want them to be able to return to any section and change any
of their options, such as colour.
If they are happy with the design, I want them to be able to add the shirt
to their basket and either continue shopping or proceed to checkout. PayPay
should be able to cope with the last bit, but I need some way of remembering
all the t-shirt options.

As I do not plan to use PayPal forever, would it be best to implement a back
end that tracks customer orders so the site could be expanded to have its
own cart or would it be better to just let PayPal cope with remembering all
the order details?

I should imagine the latter would be easier to implement but does restrict
future expansion. However, if I plan to make part of the system database
driven, why not make the rest the same.

At which stage would I update the database with customer orders? Even if I
do have a table for customers and orders I would still have to get the site
to maintain the order details until the user went to the checkout and
entered their details. Would session variables be the best method for
maintaining order details?

Any help on this would be greatly appreciated as there are obviously many
different approaches but its finding the right one that is the problem.

Regards, Carl Gilbert
Nov 19 '05 #1
1 1154
snt
If you are thinking of expansion in the future, it makes sense to plan
it now. For a single server website, maitaining order details in
session variables is the simple and sensible option. Normally, you
would decide to update the database and reset your session information,
once you get a response from the paypal gateway. Hope this helps.

snt
http://www.onlinemall.com
http://www.flexoweb.com

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3065
by: Mark | last post by:
I have a website with an increasing amount of articles and news reports and so I am thinking of moving away from storing each article as a seperate page to having a single page and storing articles in a databasewhich are retrieved using a GET parameter. I see the advantage to me in using this approach as being making use of MySQL's fulltext search capability and less work needed when updating the design of the page. I'm not sure of a few...
10
2854
by: Steve | last post by:
Hi all i am just starting to get back into VB and i need a little help. I am writing a program that asks a user to type in a set of numbers/letters (in this case shipping containers). Once the data is entered i have my 4 letters and i want to be able to call up data relating to the 4 letters. Basically i want it to show who the container belongs to and any other data i wish to put in there relating to the container.
10
2908
by: Noozer | last post by:
Below is some ASP, HTML and javascript. It is part of a page used to maintain a small database. This code did work at one time, but has since stopped. For some reason the data on my form is not being passed to the page specified in the Action property of the form. This is on a Windows 2000 Pro PC. I copied the code to another server (Windows XP Pro machine) and it DOES work as expected there. The first block is the data located near...
5
2147
by: Don Vaillancourt | last post by:
I'm building a system when one can upload a document to the website. I will be storing the document on the hard-drive for quick/easy access, but I was also thinking of storing it in an existing database since most of the sites information is all stored there. As well there would be only one place to worry about backing up. And if the file on the hard-drive was ever missing or became corrupted, I could restore it form tha database. Is...
6
3259
by: Scott Zabolotzky | last post by:
I'm trying to pass a custom object back and forth between forms. This custom object is pulled into the app using an external reference to an assembly DLL that was given to me by a co-worker. A query-string flag is used to indicate to the page whether it should instantiate a new instance of the object or access an existing instance from the calling page. On the both pages I have a property of the page which is an instance of this custom...
12
5342
by: Noel | last post by:
Hello, I'm currently developing a web service that retrieves data from an employee table. I would like to send and retrieve a custom employee class to/from the webservice. I have currently coded the custom employee class and have built it as a separate library (employee.dll). This employee.dll is being referenced by both the web service and the windows application. I face the following problem when I send this class to the webservice.
4
4646
by: IkBenHet | last post by:
Hello, I am working on an ASP.NET based website project. Without going into much detail; One of the function on this website will be the possibility to upload images via a ASP.NET form to the webserver. These images can then be shown on to webpages throughout the site. What would be the best way of storing these images? Just by saving them in a folder on de webserver or in a database?
1
1912
by: anewell | last post by:
I need to build website on my webserver which has information securely passed to it from a web site running on a client's webserver. My client has a website that has a secure login process running under SSL. When a user has succesfully logged into that website they will be able to follow a link to my website. As part of this link I need an id of the user to be passed to my website so I know who the user is, I do
7
1884
by: Smokey Grindle | last post by:
For a website that has users logged into it using sessions, its it best to pass data between pages in session variables or through query strings?
0
9686
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10475
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10222
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10026
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9068
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4139
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.