Google Doctype is an open encyclopedia and reference library. Written by web developers, for web developers. It includes articles on web security, JavaScript DOM manipulation, CSS tips and tricks, and more. The reference section includes a growing library of test cases for checking cross-browser and cross-platform compatibility.
This site’s currently got some good HOWTOs on Web security, DOM manipulation, CSS and styles and more. A worthwhile place to check if you’re looking at some quick reference and help.
Google’s just released a preview version of Google Friend Connect, which allows you to add social features on your site with minimal coding. This is still a preview release so you’ll have sign up to get into the queue.
Google Friend Connect lets you grow traffic by easily adding social features to your website. With just a few snippets of code, you get more people engaging more deeply with your site.
Here’s a video introduction of Google Friend Connect:
How would you like to get an email with the javascript error and debug info about that error as soon as a visitor on your site encounters it? DamnIT provides you just that service:
DamnIT is a free service that emails you when a user encounters a JavaScript error in your webpages.
To get DamnIT installed for your site, just signup for an account and call a JS script - this works fine for IE and Firefox. If you want to install DamnIT on other browsers, you’ll need to place try…catch blocks. Learn more about DamnIT over at: http://damnit.jupiterit.com/home/learn
Usability and the utility, not visual design, determine success or failure of a web-site. Since visitor page is only person who clicks mouse therefore decides everything, user-centric design has become standard approach for successful profit-oriented
Usually handing forms involves coding the form in HTML and performing client and server side validation, which usually makes the code for complex forms quite unwieldy. Zend_Form which is available in Zend Framework version 1.5 aims at simplifying this process.
You can now create and add methods for validating form fields completely in Zend_Form. Here’s an example from an article at Zend Developer Zone:
Here’s a PHP script from Leon Chevalier which improves your page load time drastically. His compressor class improves your site’s performance by combining and minifying the css, Javascript and HTML files on the page, allowing for fewer HTTP requests and smaller sizes of these files. All you need to do is to download the class file and add the following php lines at the top of your page
require_once('class.compressor.php');
$compressor = new compressor('css,javascript,page');
and the following line of PHP code at the end of your page
Google has released a beta version of Google Gears which is an open source browser extension which enables web applications to provide offline functionality using following JavaScript APIs.
Here’s what you can do with the API’s:
Store and serve application resources locally
Store data locally in a fully-searchable relational database
Run asynchronous Javascript to improve application responsiveness
Want to create cool Web2.0 UI’s? You can use Apatana to create these using the Yahoo UI Library. Aptana provides you the IDE to create UI components with YUI and provides you with code complete facilities to do this too ! Check the link below to get started. Aptana also provides the same functionality for the following (”web 2.0“) libraries:
AFLAX
DOJO
JQuery
MochKit
Prototype
Rico
Scriptaculous
This walkthrough will instruct you how to create a new Yahoo UI library project and get started with your coding using the documented Yahoo UI library supplied by Aptana.
An interesing article which explains what can go wrong when you’re handing UTF-8 character sets in PHP. The current versions of PHP do mangle up UTF-8 characters when you use the built in string functions in PHP.
“When I discovered that the popular web development tool PHP has almost complete ignorance of character encoding issues, blithely using 8 bits for characters, making it darn near impossible to develop good international web applications, I thought, enough is enough.”
“Darn near impossible” is perhaps too extreme but, certainly in PHP, if you simply “accept the defaults” you probably will end up with all kinds of strange characters and question marks the moment anyone outside the US or Western Europe submits some content to your site