Technos

TwitterFacebook
Get flash to fully experience Pearltrees

10 useful .htaccess snippets to have in your toolbox

http://www.catswhocode.com/blog/10-useful-htaccess-snippets-to-have-in-your-toolbox Before editing your .htaccess file, always make a backup so you can restore it if needed. Remove www in url For SEO reasons, you might always remove (or use) the www prefix in your urls. The following snippet will remove the www from your website url and redirect any url with the www to the non-www version. RewriteEngine On RewriteCond %{HTTP_HOST} !
http://bohuco.net/blog/2011/01/php5-websocket-example-a-simple-chat/ The classic example for websockets is a chat. This chat example has only 200 lines of code (excl. the Websocket class), is really easy to understand and customizable. The WebSocket class takes a function (or class method) as callback for every socket action, for this example i use the process method of the WebsocketChat Class: The WebsocketChat Class handles user actions and messages. We have two actions: ‘login’ and ‘chat’. ‘login’ happens when a new user sets his username, ‘chat’ is always when a user sends a new message:

PHP5 WebSocket Example – A Simple Chat | BOHUCO

What To Do When Your Website Goes Down - Smashing Magazine

Have you ever heard a colleague answer the phone like this: “Good afterno… Yes… What? Completely?… When did it go down? http://coding.smashingmagazine.com/2010/12/13/what-to-do-when-your-website-goes-down/

HTML5 Recipes: More on Geolocation - InsideRIA

http://oreilly.com/insideria/index.html About You have arrived at this page because InsideRIA is no longer an active website, as of January 31, 2011. While we're sad to see the change, we think you will find the resources and community here at oreilly.com helpful. An archive of the material previously posted on InsideRIA can be found at DevelopRIA.com . O'Reilly Answers is an excellent resource for getting information about everything technology related.

Quick Feedback Form w/ PHP and jQuery

When releasing a web product, there is nothing more beneficial than receiving early feedback from your users. Unfortunately, many websites make it unnecessarily difficult to send your feedback or lack this functionality altogether Today we are making a simple solution to this problem. http://tutorialzine.com/2010/09/quick-feedback-form-php-jquery/

DD_belatedPNG: Medicine for your IE6/PNG headache!

2011/4/8: This is no longer an actively maintained project. I apologize, I must move on with current events. This is a Javascript library that sandwiches PNG image support into IE6 without much fuss. You can use PNGs as the SRC of an <IMG/> element or as a background-image property in CSS. If you attempt the latter, you will find that, unlike with vanilla usage of AlphaImageLoader, background-position and background-repeat work as intended. As a bonus, "fixed" elements will respond to a commonly used set of Javascript style assignments, as well as the A:hover pseudo-class. http://www.dillerdesign.com/experiment/DD_belatedPNG/
http://labs.phurix.net/posts/50-php-optimisation-tips-revisited ← Geek in the Park 2008 Seen script for mIRC updated → May 20, 2008 admin After reading an article some time ago entitled “ 40 Tips for optimizing your php Code ” (and some others that are suspiciously similar), I decided to redo it, but properly this time with more accurate tips, providing references and citations for each and every one. The result is this list of over 50 PHP optimisation tips… Update: The list is more like 50+ PHP tips and tricks these days. Enjoy! echo is faster than print .

50+ PHP optimisation tips revisited

David Bloom - CSS hack for IE8 Standards Mode

Wednesday, March 11, 2009 9:01:48 PM internet explorer , css , css hacks , ie8 Well, someone had to find one eventually...:-) http://my.opera.com/dbloom/blog/2009/03/11/css-hack-for-ie8-standards-mode
https://developers.google.com/speed/tools?hl=fr

Let's make the web faster - Google Code

There are many variables that affect a site's performance. The tools listed below can help you discover those variables and improve your site. We recommend that you experiment with these tools. Multiple simple changes can improve the experience for your users around the world by several seconds.
pour les auteurs Web et les webmestres Ce document est informatif. Bien que de nature technique, il essaye de rendre les concepts mis en jeu compréhensibles et applicables à des situations concrètes. Pour cette raison, certains aspects de la documentation sont simplifiés ou omis, par souci de clarté. Si votre intérêt sur le sujet vous porte aux détails, veuillez explorer le chapitre « Références et autres informations » à la fin. Qu’est-ce qu’un cache Web ? http://www.mnot.net/cache_docs/index.fr.html

Un tutoriel de la mise en cache pour les auteurs Web et les webmestres