Database Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesDatabase Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 2nd, 2005, 03:51 AM
b_shaikha4321 b_shaikha4321 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 9 b_shaikha4321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 15 sec
Reputation Power: 0
Unhappy Hairdressers Appointment Booking Database AND WILL THIS IDEA WORK OR NOT

Hi
Can some help me me entities for my hairdressers appointment booking
database. Because i have no idea what tables i will need and what they will contain.

AND

In my hairdressers appointment booking database how will i make appointments, do i need like tables with dates and times or something. because each hair styler does a certain thing, so if a customer comes and says they want feathers, i will assign them to a partcular hair styles. How will i do this.

Please help

Thank you

Reply With Quote
  #2  
Old March 2nd, 2005, 06:33 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Have you attended your CS database class?!
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #3  
Old March 8th, 2005, 03:30 AM
b_shaikha4321 b_shaikha4321 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 9 b_shaikha4321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 15 sec
Reputation Power: 0
Quote:
Originally Posted by stumpy
Have you attended your CS database class?!



I dont go to CS datavase class because i dont have one. This datbase is for my A Levels course and i need help on it.

Reply With Quote
  #4  
Old March 8th, 2005, 07:45 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
What work have you done for it so far?
It feels as though you're asking us to do all your work.

What are some table schemas you've developed thus far?

Reply With Quote
  #5  
Old March 8th, 2005, 01:27 PM
b_shaikha4321 b_shaikha4321 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 9 b_shaikha4321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 15 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
What work have you done for it so far?
It feels as though you're asking us to do all your work.

What are some table schemas you've developed thus far?



Well so far i have a the customers table: customer ID, Name, address, contact info, age, gender.
A stylist table: Stylist ID all as above but with treatment ID
A treatment table: Treatment ID, Treatment name, description, price , discount
Booking: booking ID, customer ID, Treatment Id, Stylist ID, Date, Time.
Maybe Payment: Payment Id, Booking Id, Amount Due, Paid?

I am not sure if that is right, should i put the payment table, and if so, are the contents right. Also the booking table, is the field names fine or will i need to add something. And how would i normalise my data.

The only work we have done is, finding the table we will need and starting designing them.

Thanx

Reply With Quote
  #6  
Old March 8th, 2005, 02:13 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
What's a treatment?
Is that like a skill?
Can a stylist have more than one treatment?
Can a customer have multiple treatment's done in one booking?

Reply With Quote
  #7  
Old March 9th, 2005, 01:06 PM
b_shaikha4321 b_shaikha4321 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 9 b_shaikha4321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 15 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
What's a treatment?
Is that like a skill?
Can a stylist have more than one treatment?
Can a customer have multiple treatment's done in one booking?

Yeah the treatment is like a skill, eg tinting and so on
And the stylist can have more than one treatment and the customer can have multiple treatments done, but not in one booking, they will have it on different days and time.

Reply With Quote
  #8  
Old March 10th, 2005, 08:22 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
If a stylist can have more than one treatment, I suggest taking 'treatment_id' out of the stylist table.

Stylist and Treatment is like a many to many relationship.
In this case, we build a bridging table to link the two together.
This table could be named something like Stylist_Treatment, and simply contain the Stylist ID and the Treatment ID.

this way, if you want to find all the Treatments that a stylist can do, grab all from Stylist_Treatment where stylist id is [whatever]. If you want to find which stylists can perform a single Treatment, grab all from Stylist_Treatment where treatment id is [whatever]

other than that, your tables look okay.

Reply With Quote
  #9  
Old March 10th, 2005, 01:08 PM
b_shaikha4321 b_shaikha4321 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 9 b_shaikha4321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 15 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
If a stylist can have more than one treatment, I suggest taking 'treatment_id' out of the stylist table.

Stylist and Treatment is like a many to many relationship.
In this case, we build a bridging table to link the two together.
This table could be named something like Stylist_Treatment, and simply contain the Stylist ID and the Treatment ID.

this way, if you want to find all the Treatments that a stylist can do, grab all from Stylist_Treatment where stylist id is [whatever]. If you want to find which stylists can perform a single Treatment, grab all from Stylist_Treatment where treatment id is [whatever]

other than that, your tables look okay.


Thanx alot for that, so do u think i should have a payment table. Because my teacher told me i need max of 4 to 5 tables. And by making the stylist_treatment table i will have 6 tables. And i think stylist_treatment table is actually a good idea.

And do you know i would of normalisaed my data to get these tables.

Reply With Quote
  #10  
Old March 11th, 2005, 08:06 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
if there's only ever one payment per booking, then i suppose you could put the payment information in the booking table.
Your best bet is to discuss this stuff with your teacher; everybody designs databases different ways.

Reply With Quote
  #11  
Old March 12th, 2005, 11:16 AM
b_shaikha4321 b_shaikha4321 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 9 b_shaikha4321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 15 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
if there's only ever one payment per booking, then i suppose you could put the payment information in the booking table.
Your best bet is to discuss this stuff with your teacher; everybody designs databases different ways.


Thanx for all your help. But i have one question. You know when i make my form for booking. How will i do it because i want to link each booking to a hairstylist. And they can not have a booking on the same time and day. So how will i get around booking treatments and linking the booking to the stylist.

For eg. Customer 1- wants highlights on 15/3/2005 and time 9.00am
Customer 2- wants blow dry on 15/3/2005 and time 10.00am
And stylist X does both treatments. So how will i order the time for the stylist so no customer has the same booking on the same day and same time. but a booking can be on the same day but different time of course.

Reply With Quote
  #12  
Old March 14th, 2005, 08:34 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Is it necessary to choose the hairstylist?

Why not simply choose the treatment, date and time. Then have the system decide which stylist to assign. If none are available, then return that to the person filling out the form.

I find dealing with Date and Time (and the idea of conflict) one of the more difficult things to program in this type of system.
I'm not sure the best answer =)

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesDatabase Development > Hairdressers Appointment Booking Database AND WILL THIS IDEA WORK OR NOT


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway