Menu
Forum
General Car Audio
Subwoofers
Speakers
Amplifiers
Head Units
Car Audio Build Logs
Wiring, Electrical and Installation
Enclosure Design & Construction
Car Audio Classifieds
Home Audio
Off-topic Discussion
The Lounge
What's new
Search forums
Gallery
New media
New comments
Search media
Members
Registered members
Current visitors
Classifieds Member Feedback
SHOP
Shop Head Units
Shop Amplifiers
Shop Speakers
Shop Subwoofers
Shop eBay Car Audio
Log in / Register
Forum
Search
Search titles and first posts only
Search titles only
Search titles and first posts only
Search titles only
Log in / Join
What’s new
Search
Search titles and first posts only
Search titles only
Search titles and first posts only
Search titles only
General Car Audio
Subwoofers
Speakers
Amplifiers
Head Units
Car Audio Build Logs
Wiring, Electrical and Installation
Enclosure Design & Construction
Car Audio Classifieds
Home Audio
Off-topic Discussion
The Lounge
What's new
Search forums
Menu
Reply to thread
Forum
Car Audio Discussion
General Car Audio
Anyone wanna help (Database)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Raven" data-source="post: 1410437" data-attributes="member: 558368"><p>OK, now the part of every database that scares the hell out of me - the archtecture. How do we plan on doing this?</p><p></p><p>[CODE]Product</p><p>- id</p><p>- name</p><p>- info</p><p>- price</p><p></p><p>Reviews</p><p>- id</p><p>- product id (Points to product ID so we know what it's a review of)</p><p>- review</p><p>- reviewer</p><p></p><p>Pics</p><p>- id</p><p>- product id[/CODE]</p><p>Or something more complex?</p><p></p><p>[CODE]</p><p>Product</p><p>- id</p><p>- manufacturer [link: Manufacturer.id]</p><p>- model</p><p>- street price</p><p>- power input/output</p><p>- T/S spec (where applicable)</p><p>- Efficiency (where applicable)</p><p>- author id [link: author.id]</p><p>- type id [link: type.id]</p><p></p><p>Type</p><p>- id</p><p>- kind {subwoofer, amp, comp set, coax, mid, tweeter, enclosure, etc}</p><p></p><p></p><p>Reviews</p><p>- id</p><p>- item reviewed (product, manufacturer, other review, author, or picture)</p><p>- item type (review brand X subs in general, or brand Y comps in general! if applicable)</p><p>- item id [link: item reviewed.item id] (if applicable)</p><p>- date posted</p><p>- review</p><p>- author id [link: author.id]</p><p></p><p>pictures</p><p>- id</p><p>- item reviewed (product, manufacturer, other review, author, or picture)</p><p>- item id [link: item reviewed.item id]</p><p>- picture</p><p>- author id [link: author.id] </p><p></p><p>Authors</p><p>- id</p><p>- username</p><p>- join date</p><p>- posts</p><p>[/CODE]</p><p>(It is said a good programmer looks both ways before crossing a one way street.)</p><p></p><p>Either way can be done, but we <em>need</em> this figured out before we can get to the all important part of putting data into and getting data out of it.</p></blockquote><p></p>
[QUOTE="Raven, post: 1410437, member: 558368"] OK, now the part of every database that scares the hell out of me - the archtecture. How do we plan on doing this? [CODE]Product - id - name - info - price Reviews - id - product id (Points to product ID so we know what it's a review of) - review - reviewer Pics - id - product id[/CODE] Or something more complex? [CODE] Product - id - manufacturer [link: Manufacturer.id] - model - street price - power input/output - T/S spec (where applicable) - Efficiency (where applicable) - author id [link: author.id] - type id [link: type.id] Type - id - kind {subwoofer, amp, comp set, coax, mid, tweeter, enclosure, etc} Reviews - id - item reviewed (product, manufacturer, other review, author, or picture) - item type (review brand X subs in general, or brand Y comps in general! if applicable) - item id [link: item reviewed.item id] (if applicable) - date posted - review - author id [link: author.id] pictures - id - item reviewed (product, manufacturer, other review, author, or picture) - item id [link: item reviewed.item id] - picture - author id [link: author.id] Authors - id - username - join date - posts [/CODE] (It is said a good programmer looks both ways before crossing a one way street.) Either way can be done, but we [I]need[/I] this figured out before we can get to the all important part of putting data into and getting data out of it. [/QUOTE]
Insert quotes…
Verification
Post reply
Forum
Car Audio Discussion
General Car Audio
Anyone wanna help (Database)
Top
Menu
What's new
Forum list