|
I'm developing my own site displaying large amounts of car specs, I will eventually provide data for all cars. I'mm looking at a mountain of data and need to scale quickly.
So far I've been writing plain html tables like this, an example of a block of information. I've been manually using this method like I have been would take way to long for me to get anywhere.
<table class="tittlebar"><tr><td><h2>Manufacture Information</h2></td></tr></table>
<table class="cardata">
<tr class="cardataeditions"><td class ="tittle">Brand</td><td class ="specs">Audi</td><td class ="specs">Audi</td></tr>
<tr class="cardataeven"><td class ="tittle">Model</td><td class ="specs">A6 4-Door Saloon</td><td class ="specs">A6 4-Door Saloon</td></tr>
<tr class="cardataodd"><td class ="tittle">Edition</td><td class ="specs">2.0 TFSI LeMans</td><td class ="specs">2.0 TDI 170 LeMans</td></tr>
</table>
I've been looking for a efficient way to display tables, I want my webpages
to load fast and be compatible with droid and iphones. I run my site off wordpress with php execusion based on a thesis template.
I would like to call up and print tables like the method above but using php to print the specs from sql databases.
<table class="tittlebar"><tr><td><h2>Manufacture Information</h2></td></tr></table>
<table class="cardata">
<tr class="cardataeditions"><td class ="tittle">Brand</td><td class ="specs">sqldata</td><td class ="specs">sqldata</td></tr>
<tr class="cardataeven"><td class ="tittle">Model</td><td class ="specs">sqldata</td><td class ="specs">sqldata</td></tr>
<tr class="cardataodd"><td class ="tittle">Edition</td><td class ="specs">sqldata</td><td class ="specs">sqldata</td></tr>
</table>
I would like some thoughts I'm really open to anything new, or anyother suggestions. I looked a json and xml as well, and I'm willing to utilize mootools or jquery.
statisiticar.com for a view of how data is displayed so far. Open for comments about my site design in general as well. This maybe a no brainer for some.... but I'm truly stuck on this barrier.
regards
Last edited by bradpotts; 08-23-2010 at 02:12 AM..
|