| | | 
Progenic Family

Group: Forum Members Last Login: 2 days ago @ 3:03 PM Posts: 531, Visits: 1,365 |
| i'll trade ya proge
|
| | | | 
Progenic Family

Group: Old Skool Last Login: 2 days ago @ 12:06 PM Posts: 261, Visits: 2,283 |
| _Infernal_ (3/3/2008)
i'll trade ya proge

why does this not surprise me?
---------------------------------------------------------------
move real easy. stay real loose.
--------------------------------------------------------------- |
| | | | 
Progenic Crew

Group: Administrators Last Login: Yesterday @ 3:49 PM Posts: 2,386, Visits: 37,335 |
| lol  beezer that site you sent me has all car data when you view source, you could rip it from there if you want i'll try do it for ya.
|
| | | | 
Progenic Family

Group: Forum Members Last Login: 2 days ago @ 3:03 PM Posts: 531, Visits: 1,365 |
| | | | | 
Progenic Family

Group: Old Skool Last Login: Today @ 4:57 AM Posts: 1,073, Visits: 2,301 |
| proge (3/4/2008)
lol
beezer that site you sent me has all car data when you view source, you could rip it from there if you want i'll try do it for ya.
I'll try and see if I can do it. Organizing this thing is gonna be a huge bitch...
------------- Is Beezer gonna have to choke Google Adsense? |
| | | | 
Progenic Crew

Group: Administrators Last Login: Yesterday @ 3:49 PM Posts: 2,386, Visits: 37,335 |
| | you ever used a relational database? ideally you want two tables one something like manid and manufacturer and another table with modelid,manid,model So for example in your manufacturer table you'd have a record for each manufacturer manid - 7 manufacturer - Ford
and in your model table a record for each model
modelid - 14 manid - 7 model - Mustang modelid - 15 manid - 7 model - GT90
this is the best way to organise the data with the future in mind.
|
| | | | 
Progenic Family

Group: Old Skool Last Login: Today @ 4:57 AM Posts: 1,073, Visits: 2,301 |
| | Never used a relational database. But sounds like the way to go... I was thinking of going with more than 2 tables though. I'd have a table for all the manufacturers. And then each manufacturer would have its own table.
Table (Manufacturer) manid - 1 name - Ford
manid - 2 name - BMW Then I'd have 2 extra tables.
Table (Ford) manid - 1 modelid - 1 model - Munstangmanid - 1 modelid - 2 model - F150 Table (BMW) manid - 2 modelid - 1 model - 316 manid - 2 modelid - 2 model - 320 What do you think? I think it would bring search results faster, less cpu, and backing up will be several smaller files. Not one big clump. I'm also gonna have to look up how to make a database of images. Should be easy, usually I import the image right into the database so the client backup is easier. But this will have way too many images to put them in with the database, so a generic folder might possibly be the best way, renaming the file on upload to modelidmanid.jpg or whatever. What do you think?
------------- Is Beezer gonna have to choke Google Adsense? |
| | | | 
Progenic Crew

Group: Administrators Last Login: Yesterday @ 3:49 PM Posts: 2,386, Visits: 37,335 |
| You'd find it extremely counter productive doing it like that for most sql queries especially searching.
|
| | | | 
Progenic Family

Group: Old Skool Last Login: Today @ 4:57 AM Posts: 1,073, Visits: 2,301 |
| Hrmm...I think it would be more organized though.
And I'd have the pull down system for manufacturer which then loads the pull down for model.
So the SQL query would search manid (manufacturer) and corresponding modelid table.
------------- Is Beezer gonna have to choke Google Adsense? |
| | | | 
Progenic Crew

Group: Administrators Last Login: Today @ 2:42 AM Posts: 901, Visits: 5,294 |
| | Don't even think about making tables for specific models, makes or any of the kind. Infact, run by whatever (relational) database model you come up with in here, it sounds like (I mean no offense) you have a few crossroads you could go wrong at. As for the images, a good `best of both worlds` solution could be: 1. Store the images in the database (blob) 2. Image gets requested, you fetch it from the database and write it to disk 3. Future requests for that image get served from disk |
| |
|
|