Site Moved

This site has been moved to a new location - Bin-Blog. All new post will appear at the new location.

Bin-Blog

Bests Posts in 2006

Happy new year, all! This year I will continue the tradition of highlighting the best posts of the year at the end of the year(or at the beginning of the next - as in this case). The best posts in 2006 in this blog are...

Articles

A Gentle Introduction to Ajax
Ajax or Asynchronous JavaScript and XML enables the programmer to execute a server-side script without refreshing the page. This is a three part series that teaches the basics of Ajax.
CSS Shorthand
CSS Shorthand is a method to compress multiple declarations into one declaration. Two or more related declarations can be compressed to form one easily readable declaration.
Ajax Response Data Formats
Some time ago, Peter Paul Kosh wrote an article about the different types of Ajax data formats - The AJAX response: XML, HTML, or JSON? This is my take on the subject
Web Development in Linux
Linux is a better platform for Web Development than Windows can ever hope to be. Most of the thing you would need in a development server like a Web Server, Database Server, PHP, Perl, Python, Ruby etc. are already present on any decent distribution. Linux has browsers(Firefox,Konqueror,Lynx,etc.), design tools(Gimp), editors(Quanta Plus,Emacs), programming tools(CVS,Cervisia) - in short, everything you need for web development. This is the longest series in my blog - in is not over yet.
Using Gimp to make Web 2.0 Buttons and Graphics
There are many tutorials about creating buttons and graphics in the new 'Web 2.0' style. Unfortunately, all these tutorials are for Photoshop users. The Gimp users are completely ignored. So, I have decided to correct this error - this is a tutorial on how to create a Web 2.0 style button in Linux using Gimp(will work in windows as well). A four part series.

Scripts

Inline Perl code in HTML
One of the main advantage of using PHP is that you can embed PHP code inside HTML files - just give it the extension '.php' and the server will parse it and serve the resulting page. In Perl, you will have to embed HTML code in perl's print statements - this is a much tougher approach. So I created a perl function that will let you insert Perl code within HTML files using <?perl ... ?> tags.
Live Validator - JavaScript Field Validation Script
Live Validator is a JavaScript program that will validate any form field as the user types the data using the regular expressions that you have specified. To see a working example, visit the registration page of OpenJS.
Query() Function for PHP
query() function is a PHP function will accept a query as its argument and return the data in different formats based on the result of the query.
XML Parser function for JavaScript - xml2array()
I have created a small function called 'xml2array()' that will take an XML document as the argument, parse it and return an associative array as the result. This array will contain the data of the XML file - which can be easily accessed. This function is available in PHP too - xml2array() - XML Parser for PHP
Updated version of jx Ajax Library
x is a small toolkit for providing AJAX support in JavaScript. To get the latest version of this script, go to jx - JavaScript Ajax Library

0 Comments: