9 tips to validate your XHTML code

What is validation ? According to the W3c, Validation is a process of checking your documents against a formal Standard, such as those published by the World Wide Web Consortium (W3C) for HTML and XML-derived Web document types, or by the WapForum for WML, etc. It serves a similar purpose to spell checking and proofreading for grammar and … Continue reading 9 tips to validate your XHTML code

8 practical tips to make your web pages faster

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 … Continue reading 8 practical tips to make your web pages faster

10 code snippets for PHP developers

I’ve compiled a small list of some useful code snippets which might help you when writing your PHP scripts… Email address check Checks for a valid email address using the php-email-address-validationclass. Source and docs: http://code.google.com/p/php-email-address-validation/ include(‘EmailAddressValidator.php’); $validator = new EmailAddressValidator; if ($validator->check_email_address(‘[email protected]’)) { // Email address is technically valid } else { // Email not valid } … Continue reading 10 code snippets for PHP developers

Pixidou – an Open Source AJAX Image Editor (PHP and YUI based)

Pixidou is a new open source AJAX image editor which will allow you to : adjust brightness adjust contrast cropping flipping negative resizing rotating tint images. What you need to get running PHP5.2+ installed on your webserver GD2 a web browser Demo Installation Unzip/untar the software in your web directory and that’s all 😉 Also ensure … Continue reading Pixidou – an Open Source AJAX Image Editor (PHP and YUI based)

AJAX image cropper with YUI and PHP

This post will show you how to build an AJAX crop image tool using the image cropper control from YUI library and PHP. The ImageCropper Control from the YUI library gives you an interactive interface for getting the dimensions to crop an image and using these dimensions in PHP, we can do some cropping. The script we are going to … Continue reading AJAX image cropper with YUI and PHP

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 … Continue reading Show/hide containers by only adding CSS classes without writing javascript code (YUI-based)

nouzil.com – a new Mauritian portal on the web (YUI-based)

I came to know the existing of a new Mauritian portal via Avinash called nouzil (which means our island in creole) and I must say at first look it reminds me of Netvibes a lot. I think the nouzil.com team picked up some bits and pieces from Netvibes.com. Anyway, looking behind the scenes I notice that the new portal uses YUIa lot, in fact it’s all YUI-based. … Continue reading nouzil.com – a new Mauritian portal on the web (YUI-based)

YUI-based alert box – replace your ugly javascript alert box

This tutorial will explain how you can override the default alert box of your browser, without modifying your existing code and by adding 2 lines of javascript code. Those 2 famous lines After downloading the package and extracting it to your folder, add the following lines at the end of your page. <script type=”text/javascript” src=”http://yui.yahooapis.com/combo?2.5.2/build/yuiloader/yuiloader-beta-min.js”></script> … Continue reading YUI-based alert box – replace your ugly javascript alert box

f-lv.com – download YouTube videos in FLV/MP4/3GP format

After playing with the YouTube API and Python over the past week, I’am pleased to announce the launch of f-lv.com You will be able to : download your favorite YouTube videos in FLV/MP4 format email the video download link to your friend have a look at a nice carousel (thanks Bill for that) with the latest downloaded videos Site is … Continue reading f-lv.com – download YouTube videos in FLV/MP4/3GP format

Add RSS feeds to your website

Adding a RSS feed to your website has never been this easy with PHP, especially with MagpieRSS. About MagpieRSS MagpieRSS is an RSS and Atom parser for PHP which supports RSS 0.9, RSS 1.0, the various Userland RSS versions (0.9x and 2.0). Additionally it supports Atom 0.3, and many custom RSS namespaces. Features of MagpieRSS Easy to Use Parses … Continue reading Add RSS feeds to your website