Cheat sheet is a reference tool that provides simple, brief instructions for accomplishing a specific task. We have collated a set of best cheat sheets for web developers. It includes some of the popular programming language, e.g. jQuery, Mootools, Prototype, PHP, MySQL and etc… Please feel free to suggest some of the cheat sheets we did not mention.
1. jQuery Cheat Sheet
2. Mootools Cheat Sheet
3. Ruby on Rails Cheat Sheet
4. Django Cheat Sheet
5. YUI Cheat Sheet
6. Prototype Cheat Sheet
7. Scriptaculous Cheat Sheet
8. extJs Cheat Sheet
9. Javascript Cheat Sheet
10. HTML Cheat Sheet
11. CSS Cheat Sheet
12. Mod_Rewrite Cheat Sheet
13. Regular Expressions Cheat Sheet
14. PHP Cheat Sheet
15. MySQL Cheat Sheet
16. SEO Cheat Sheet
Shocking, shocking. Is it the end of complex CSS layout techniques, and will be the final nail in the coffin of using HTML tables for layout. Finally, producing table-like grid layouts using CSS will be quick and easy?
When released, Internet Explorer 8 will support many new values for the CSS display property, including the table-related values: table, table-row, and table-cell—and it’s the last major browser to come on board with this support.
Perhaps you’re feeling slightly uncomfortable—after all, haven’t web standards advocates been insisting for years that you shouldn’t be using tables for layout?
Applying table-related display property values to web page elements causes the elements to mimic the display characteristics of their HTML table equivalents. Digital Web Magazine published “Everything You Know About CSS Is Wrong” which demonstrates how this will have a huge impact on the way we use CSS for web page layouts.
02 Oct
Posted by Ray Cheung as Information, License Free
The main pattern used in nearly every site (grid and non grid) was the “title, thumbnail, short summary, more link” pattern. This pattern is generally used for indexing blog post summaries in sidebars, listing services, or creating small calls-to-action.
However, only those small bits of sporadic content were clickable. Sure it’s not that hard for the user to hover over one of the three links, but the user experience could be improved.
Leevi Graham felt that a user should be able to click anywhere in the content and navigate through to the target page — basically making the whole content block one big link. He came up with a jQuery Plugin called BigTarget.js with the following concept.
onclick and hover events to the click zone.href is retrieved.rel attribute and it’s set to ‘external’, open the link target in a new window; otherwise open the link in the current browser window.Requirements: jQuery Javascript Framework
Demo: http://newism.com.au/blog/post/58/bigtarget-js-increasing…
License: License Free
Developing web applications is getting more complex – it’s easy to accidentally break functionality as changes are made. In this article, Ben describes the setup his team uses test their apps as changes are committed; automatically notifying the developers of any problems.
Being able to support Ajax-heavy applications through multiple browsers across multiple operating systems is now a primary requirement, as is being able to scale to thousands (or, if you’re lucky, millions) of users. This article looks at one way of cracking the problem of regression testing (retesting previously working parts of an application following a new build) a modern web application, using two superb open source projects: Hudson and Selenium. Article “Easy Automated Web Application Testing with Hudson and Selenium” taught us the following.
Source: Easy Automated Web Application Testing with Hudson and Selenium
Are you a freelancer? Would you like to find some freelance works related to Web Development or Web Design? There are loads of job boards out there, but how many of them are actually built for web developers and designers? And How many of them are acutally popular? Here is a list of the top job boards for web developers and designers. Please feel free to suggest the ones you like.
02 Sep
Posted by Ray Cheung as Information, License Free
jParallax turns a selected element into a ‘window’, or viewport, and all its children into absolutely positioned layers that can be seen through the viewport. These layers move in response to the mouse, and, depending on their dimensions, they move by different amounts, in a parallaxy kind of way. If the layers are made of <div>s or <li>s or any other container then content can be positioned inside those layers, and Parallax provides methods for navigating to that content in response to user events.
The default behaviour of jParallax is to show the whole width of a layer in response to the mouse travelling the whole width of a jParallaxed element. The simplest way to use jParallax is to make the layers different sizes using CSS. Bigger layers move faster and thus appear closer, and unless a layer is smaller than the viewport, its edges are never seen.
Requirements: -
Demo: http://webdev.stephband.info/parallax.html
License: License Free
I believe most of us are using Google Analytics in order to track our visitors daily. Most of us love Google Analytics, because it is reliable and powerful. However, how many of us have actually used its full potential?
Search Engine Journal has compilied a list of advanced Google Analytics tips that open up plenty of possibilities to track and evaluate. The followings are some of the useful tricks they shared with us.
iPhone Web Apps combine the power of the Internet with the simplicity of Multi-Touch technology, all on a 3.5-inch screen. When you find a web app you like, you can put it on your Home screen for easy, one-tap access.
There are over 600 Web Apps available, I found many of them are useless to be honest. So,what are the best ones? iPhone Toolbox has carefully selected top 25 iPhone Web Apps for us. Feel free to share your favorite ones on the post as well.
The common stereotype for programmers is this: nerdy, pocket-protector wielding, and very, very boring. One doesn’t typically link a programmer as a creative individual. However, this couldn’t be farther from the truth. Working with code is one of the most creative jobs one can have. Programmers have to balance two very different worlds: a world of structure and a world of imagination. They create abstract concepts using very structured programming languages (like PHP or Java). It’s not an easy task. Programming is actually a great exercise in creativity. Here are a couple reasons why:
Programmers are a great example of thinking outside the box because programmers can actually create the box. Here are 14 ways to Learn From Creative Programmers.
1. Learn a new language
2. Start from the ground up
3. Question everything
4. Do it for fun
5. Never stop testing ideas
6. Find a passion
7. Master your tools
8. Start making abstract associations
9. Think of structure as a tool, not a limitation
10. Don’t rule anything out until you try it.
11. Always look for a simpler and more elegant solution.
12. Don’t be afraid to build off the code of others.
13. Don’t be afraid to collaborate.
14. From the very basic, create the beautiful.
Perhaps you use rsync, Time Machine or similar backup software mirroring your files to external drives for your PCs on a regular basis. What about your remote web server? Webmoney has written an article – Back Up a Web Server, which taught us the ways you can backup the HTML files, stylesheets, application files and databases on your remote web host. The only thing you’ll need is a remote web hosting service allowing SSH connections to the remote shell. The followings are the main topics.
The Backup Tools
The first thing we’ll do is use tar and bzip2; two command lines tools for making compressed file copies, to back up HTML, CSS, Javascript or any other text files.
Automation
Now we have a couple of bash scripts we can invoke from our terminal prompt and backup our files. Great, but who wants to do it manually? Instead, let’s set them up to run automatically once a day.
Locking
Long-running scripts like backups started through cron have a common problem. A new one may get fired off before the previous one is complete. This problem can be solved using a simple lock file.
Logging
Automated scripts should keep a log of what they do in case things go awry. This is an example of writing to a log file, with a start and end time.
Fancier Automatic Backups
Want to get really fancy and have your home machine automatically log in to your server and download those backup files for safe, off-site keeping?
Finishing Touches
Now you should have a shell script set up and a way to log in to your remote server sans password (whether by the insecure method above or the ssh-agent method). The last step in our automation process is to create a cron job on our local machine.
Source: Back Up a Web Server




