lorz’s blog

blog • programming • web design • tutorials • seo

Archive for September, 2008

eCommerce script coming… But first school :(

Damn!

Tomorrow I’ll be going to school, and I haven’t even finished 10% of the ecommerce script I’m working at right now.

But hey! Can anybody give me an idea about how should I do to add parameters to a product? Let’s take, for example: type, size, color. How should I make the structure of my database? I was thinking like this:

I have a “products” and a “parameters” table. When I add a parameter in the administration, I execute 2 queries: one alter query to “products”, to add a column with the name of the parameter i want to add and one insert query to “parameters”, to add a row with the name, length, type and so on.

If you have a better idea, please don’t hesitate to share it with me! :)

Oh, I almost forgot to tell you: Some changes to this blog may be seen in the following weeks. :)

Browser from Google? But I don’t want! :((

Google ChromeNo! I don’t want Google Chrome! I’m already sick of checking my design in IE6, IE7, FF2 and FF3, I don’t want to check it in Chrome!

Plus, this step is another evil step made by Google in order to maintain monopoly on the internet. By using this browser, the user is encouraged to utilize their services, like Docs, Gmail or Reader.

I’m starting to get sick of Google and their $ 0.01 AdSense clicks (guys, check programs like AdBrite, i’m telling you: they pay a lot better) and I HOPE that Microsoft will eventually purchase Yahoo! so as to give Google a big kick in the ass.