473,836 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

product rating website

pradeepjain
563 Contributor
Hii guys i need to start a project(website ) product rating website!
I need to do a mysql design

I never have done big project mysql design

i need few tips on this !

Like what all tables might be required and stuff!

Project -> there will be various products like mobile,camera and etc..

Say user might rate each of the products features like say example
mobile nokia N75-> camera,battery, gsm etc..

How do define the properties for the mobile bcos 1 mobile might have feature which other does not have and when new feature is to be added , it must be made easy!

I will do the mysql design ! i dont want complete structure ! i want some tips and backbone of the mysql design !
Sep 15 '09 #1
1 1861
pradeepjain
563 Contributor
I started with it and make few tables

1. category -> stores different types of products i.e mobile,camera
2.sub_category -> like in mobile -> nokia,samsung
3.product_subc -> in nokia -> 3310,1100 etc
4.mobile_produc t_features -> here i am having problem

How to store the features of the mobile ..
a.make columns for each features available and store boolean values for each mobile(yes/no) for corresponding feature?

b. make a array of all the features of a mobile and serialize and store into Db?

later requirement : i must take in mind that later searching based on different features will also be done!

so which is the better option a/b or is there any other option also?
Sep 15 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1907
by: James Morrow | last post by:
i need a script for reviewing products (much like epinions.com) written in either perl or php (can't use asp). i am very strapped for time and need a functional script asap, which is why i dont have time to write it myself. i would prefer if it used a mysql db. basically, i just need for people to be able to have members write out how much they paid, pros/cons, overall opinion, whether or not they would buy again, and some sort of rating...
0
1408
by: SteveS | last post by:
Hello, this problem is driving me nuts! I am using the Content Ratings (RSACi) for my website. The settings strictly "G" rated - No violence, sex, nudity or offensive language. I have a user who also has his "Content Advisor" turned on. For some reason, the session is lost for the user ONLY after he runs a javascript function on the page, then clicks submit. Make sense? If he clicks submit without first running any javascript ,...
2
2926
by: alex | last post by:
I need a more advanced formula than just an average for calculating items rating. I have: raitng value is on scale 1 to 10. s - sum of all ratings for an item n - number of rates (votes)
8
2004
by: kp87 | last post by:
I am a little bit stuck .... I want to play a bunch of soundfiles randomly, but i want to give each soundfile a rating (say 0-100) and have the likelihood that the file be chosen be tied to its rating so that the higher the rating the more likely a file is to be chosen. Then i need some additional flags for repetition, and some other business. I am guessing a dictionary would be a great way to do this, with the key being the soundfile...
0
1165
by: satees | last post by:
Hi friends, I need to implement the "video rating" option in my website. Its some thing like ***** should be used to rate the video. Any idea how to implement this feature ? Thanks, Satees
4
1640
by: bp90210 | last post by:
If you have a few minutes, I would like to see if anyone can help me out. I'm trying to modify a rating script. Currently, It allows you to vote over and over. What I want to do is after you vote it will write your IP to a text file called ip.txt in the same folder the script currently writes the rating.txt ('content/'.$y.'/'.$m.'/'.$entry.'/). I want it to check that ip.txt file to see if your ip is there, if it is then it doesn't write...
1
2845
by: lamarant | last post by:
Hi...I'm trying to use the Rating Control in the Ajax Toolkit in a datalist. I have the control showing up in the list, with the logged in users current rating for each item in the list showing... <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" RepeatLayout="Flow"> <ItemTemplate> <div class="Rating"> <ajaxToolkit:rating ID="SongRating" runat="server" ...
4
3539
by: MissElegant | last post by:
Hi every body I wanna find someone in here who'd create me a 5-star rating system for my website using Javascript. The script should accept the rating a user made and place a cookie on the computer to remember what rating the user made. More than 10 of them should work on one page as well! Please help me. PS: Only use javascript and html of course.
0
9656
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10819
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
10567
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
10237
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...
1
7771
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5641
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4437
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
2
4000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3100
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.