Click here to open up your own Ebay Store

 For all that is bling!
   

Think Bling is a provider of free SEO (Search Engine Optimization) & Google Page Rank tools. Think Bling also provides free web applications and scripts written mostly in PHP and is a forum for discussing these and other topics.

Tuesday, February 03, 2004

XSLT (Style Sheets) versus Scripts (PHP and Perl)

Style Sheets, thought about in simplest terms, are a way to show data. There are data feeds available such as Amazon.com’s Product Feed. Style Sheets allow a website to display and search this product information and even instantiate an item sale from web links that return data (in XML format).

Scripts can be considered a set of processes used to show AND manipulate data. Using the same Amazon.com Product Feed example, scripts can be used to search and parse this (XML) web data, and create shopping carts or direct item purchases.

XSLT (Style Sheets) Pros
• Little effort needed to install.
• Web Server load is minimized.
XSLT Cons
• Relatively stateless. (No good shopping cart functionality)
• Search Engines don’t index all the products.

Scripts (PHP, Perl, etc…) Pros
• Dynamic content is easier to provide.
• Session variables allow the maintenance of state (Shopping Carts can be Created).
• Search engines will index products.
Scripts Cons
• Slightly more difficult to install.
• More server resources needed.

If you are a beginner and don’t expect multiple sell more than one item to the same customer at the same time, or expect for your website to grow to hundreds of dollars worth of transactions a month then XSLT might be the better choice.

If you are an advanced user and want to tweak every bit of functionality towards customers and bandwidth/processing is not a strict concern (it isn’t on most servers) then scripts is what you want.

For those interested in looking for more you should try...
http://www.associate-advocate.websbywes.com
It has many links to both server-side scripts and stylesheets

 
Free Advertising
Join the free co-op advertising network and increase your traffic.