
bonnes pratiques
Get flash to fully experience Pearltrees
Erreur de chargement de la page - Vimperator
This is another one I've wanted to write forever. Man, I've tried a bunch of times. No ruck. Not Rucky.
Programming's Dirtiest Little Secret
Home | The Anti-IF Campaign
Unless you're designing for a CSS3-supported browser, be sure gradients backgrounds have appropriate start and end points to be used as background images. There's obviously more to talk about with color settings, but since most are particular to the situation, proper etiquette calls for being as consistent with your colors as possible.
The Photoshop Etiquette Manifesto for Web Designers
Signs of a poorly written jQuery plugin
How do you know if the plugin is good to use? It's always dependant on the problem they're trying to solve, but in lieu of a better jQuery plugin ranking system, here's a couple of tips that should raise a red flag. Although the code may be perfect once some event has run, most times you don't have time to read through all the code carefully and you need to make a decision so you can move on to the actual problem you're trying to solve. In the code above, there's a number of red flags that have gone up for me, and I tend to look in this area of code first. If these patterns have been used, it tells me the author hasn't quite grasped how jQuery works and hasn't considered making simple tuning changes.A Plugin Development Pattern » Learning jQuery - Tips, Techniques, Tutorials
At the beginning of this book I will be focusing on a discussion about the importance and history of design patterns in any programming language. If you're already sold on or are familiar with this history, feel free to skip to the chapter ' What is a Pattern? ' to continue reading. One of the most important aspects of writing maintainable code is being able to notice the recurring themes in that code and optimize them.
Essential JavaScript Design Patterns For Beginners
The Essentials of Writing High Quality JavaScript | Nettuts+
This chapter is about writing style sheets with style. By showing you case studies and how they are constructed, we hope to give you a sense of how CSS can be used to encode the visual presentation you want to achieve. Also, more importantly, if you follow the guidelines in this chapter your documents will behave well on a wide range of web devices. For example, they will scale gracefully from one screen size to another. Use ems to make scalable style sheets
Chapter 4 The amazing em unit and other best practices
JavaScript Garden
The above function gets hoisted before the execution of the program starts; thus, it is available everywhere in the scope it was defined in, even if called before the actual definition in the source. Due to the fact that var is a declaration that hoists the variable name foo before the actual execution of the code starts, foo is already defined when the script gets executed. bar (); // ReferenceErrorCode should be written in a way that does not disadvantage other implementations of Python (PyPy, Jython, IronPython, Cython, Psyco, and such). For example, do not rely on CPython's efficient implementation of in-place string concatenation for statements in the form a += b or a = a + b . Those statements run more slowly in Jython.

