Yahoo’s Exceptional Performance team has compiled a list of 34 best practices to have faster web pages. In this post I’ll show you 8 tips which helped me to get a B grade in YSlow! for web pages that I develop. Currently YSlow’s web page analysis is based on 13 identified basic rules that affect web page performance. In decreasing […]
html
Show/hide containers by only adding CSS classes without writing javascript code (YUI-based)
This post will show you how to add the collapse/expand functionality in your HTML pages, perfect for FAQs by only adding two class names to your existing page and including the scripts below. Of course it’s all YUI-based and also a demo of the fantastic YUI selector utility. What does the script do ? OK, suppose […]
SEO friendly URL in PHP
When I started implementing mod_rewrite in websites I had a problem in PHP as how to make a SEO friendly URL. All tutorials were geared towards how to implement mod_rewrite, about modifying .htaccess files, but none treated how to make the urls friendly with dynamic content. For example I have a news section which are pulled from the database, […]
HTML entities within XSL
You want to have in your XSL stylesheet but you’re getting an error, just put these few lines of code at the top, before the tag : <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp “ ”> <!ENTITY AElig “Æ”> <!ENTITY AMP “&#38;”> <!ENTITY Aacute “Á”> <!ENTITY Acirc “”> <!ENTITY Agrave “À”> <!ENTITY Alpha “Α”> <!ENTITY Aring “Å”> <!ENTITY […]
10 starting signs of a good web developer (php version)
Nowadays many people call themselves PHP programmers / web developers as soon as they know a bit of Frontpage or using Dreamweaver to generate the code for them. But are they really good web developers? Here’s my top 10 characteristics of good web developers, feel free to comment. 1. Ability to hand code Instead of […]