473,387 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ticketmaster type of site

I need to create a site for registration of classes. The client wants the
system to 'hold' the class while the person is checking out so no one else
accessing the system can have access to the same class. I am in the
preliminary architechture stages of the system and am just trying to get the
best practices down. Does anyone have any experienc, url's, threads that
they can point me to?

Thanks.
Aug 3 '06 #1
4 1035
Basically you just need to have a bit field "OnHold" for the class table's
particular row so when somebody starts a checkout operation you can update
this row and set the column to "true" (1). Then you can release it when they
cancel, or after a period of time with no final "Checkout" by that user.

The rest of your stored procedures, if designed around this, should make
whatever you need to do relatively easy. Regarding sample code, urls, etc.
can't help there.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Andy G" wrote:
I need to create a site for registration of classes. The client wants the
system to 'hold' the class while the person is checking out so no one else
accessing the system can have access to the same class. I am in the
preliminary architechture stages of the system and am just trying to get the
best practices down. Does anyone have any experienc, url's, threads that
they can point me to?

Thanks.
Aug 3 '06 #2
So if I understand you right, when someone begins to register for one seat
in that class the entire class is on hold and no one else can register for
that class? If that's true, the on hold bit field will not work. There are
many seats in each class and we can't lock the class down until all those
seats are taken.

I'm thinking about creating another table that will hold one record for each
seat in the class and will have bit fields like 'Taken' and 'On Hold'. That
way the specific seat would be on hold, not the entire class.

Andy

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:C2**********************************@microsof t.com...
Basically you just need to have a bit field "OnHold" for the class table's
particular row so when somebody starts a checkout operation you can update
this row and set the column to "true" (1). Then you can release it when
they
cancel, or after a period of time with no final "Checkout" by that user.

The rest of your stored procedures, if designed around this, should make
whatever you need to do relatively easy. Regarding sample code, urls, etc.
can't help there.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Andy G" wrote:
>I need to create a site for registration of classes. The client wants
the
system to 'hold' the class while the person is checking out so no one
else
accessing the system can have access to the same class. I am in the
preliminary architechture stages of the system and am just trying to get
the
best practices down. Does anyone have any experienc, url's, threads that
they can point me to?

Thanks.

Aug 4 '06 #3
No, I meant put a hold on the seat that they are expected to take.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Andy G" wrote:
So if I understand you right, when someone begins to register for one seat
in that class the entire class is on hold and no one else can register for
that class? If that's true, the on hold bit field will not work. There are
many seats in each class and we can't lock the class down until all those
seats are taken.

I'm thinking about creating another table that will hold one record for each
seat in the class and will have bit fields like 'Taken' and 'On Hold'. That
way the specific seat would be on hold, not the entire class.

Andy

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:C2**********************************@microsof t.com...
Basically you just need to have a bit field "OnHold" for the class table's
particular row so when somebody starts a checkout operation you can update
this row and set the column to "true" (1). Then you can release it when
they
cancel, or after a period of time with no final "Checkout" by that user.

The rest of your stored procedures, if designed around this, should make
whatever you need to do relatively easy. Regarding sample code, urls, etc.
can't help there.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Andy G" wrote:
I need to create a site for registration of classes. The client wants
the
system to 'hold' the class while the person is checking out so no one
else
accessing the system can have access to the same class. I am in the
preliminary architechture stages of the system and am just trying to get
the
best practices down. Does anyone have any experienc, url's, threads that
they can point me to?

Thanks.


Aug 4 '06 #4
Awesome, wasn't clear before. We're on the same page now.
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:B8**********************************@microsof t.com...
No, I meant put a hold on the seat that they are expected to take.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Andy G" wrote:
>So if I understand you right, when someone begins to register for one
seat
in that class the entire class is on hold and no one else can register
for
that class? If that's true, the on hold bit field will not work. There
are
many seats in each class and we can't lock the class down until all those
seats are taken.

I'm thinking about creating another table that will hold one record for
each
seat in the class and will have bit fields like 'Taken' and 'On Hold'.
That
way the specific seat would be on hold, not the entire class.

Andy

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in
message
news:C2**********************************@microso ft.com...
Basically you just need to have a bit field "OnHold" for the class
table's
particular row so when somebody starts a checkout operation you can
update
this row and set the column to "true" (1). Then you can release it when
they
cancel, or after a period of time with no final "Checkout" by that
user.

The rest of your stored procedures, if designed around this, should
make
whatever you need to do relatively easy. Regarding sample code, urls,
etc.
can't help there.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Andy G" wrote:

I need to create a site for registration of classes. The client wants
the
system to 'hold' the class while the person is checking out so no one
else
accessing the system can have access to the same class. I am in the
preliminary architechture stages of the system and am just trying to
get
the
best practices down. Does anyone have any experienc, url's, threads
that
they can point me to?

Thanks.



Aug 4 '06 #5

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

Similar topics

21
by: Batista, Facundo | last post by:
Here I send it. Suggestions and all kinds of recomendations are more than welcomed. If it all goes ok, it'll be a PEP when I finish writing/modifying the code. Thank you. .. Facundo
1
by: Les Juby | last post by:
Some time back we assembled an Explore-type menu system (tree of folders) for a client site which has grown to be a pivotal function of the site in that deep navigation into the South African...
22
by: Trevor Orton | last post by:
Hello, I'm having a slight problem using the W3C html validator and I've reviewed the FAQ's with no luck so hopefully someone here would be kind enough to point me in the right direction. I...
10
by: S | last post by:
Hello I have a (fairly) simple layout, part of which you folks so kindly helped me with already (thank you all). This layout contains: - A header area (100% width across top) - A nav area...
7
by: Phil | last post by:
I've started getting this message after doing a publish of an Asp.Net 2.0 (c#) web site. The site uses a custom profile provider - I'm sure there is a relation here, but I can't find it. ...
3
by: metaperl | last post by:
On p.282 of "Python Cookbook" and in the Python docs on calling super: http://www.python.org/download/releases/2.2.3/descrintro/#cooperation it is clear that the first argument to super is a...
5
by: garfy | last post by:
Hi i get this error in validation Line 22 column 6: document type does not allow element "title" here. <title>Seo Web Design Los Angeles - Web Design And Search Engine Optimization L ...
0
by: Nathan Harmston | last post by:
HI, I posted this to sqlalchemy but didnt get a response, so I was wondering if anyone on python-list could help me. I m currently trying to build an api for a database and I really like the...
3
by: =?Utf-8?B?SGVyYg==?= | last post by:
I've developed an ASP.NET website that runs fine on my local WinXP IIS and on my server's IIS, both are IIS6.0 The site uses a master page that has the following declaration: <%@ Master...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.