php

TwitterFacebook
Get flash to fully experience Pearltrees
Tag

dynamique

Leon Chevalier of Aciddrop.com has just released a free script that can considerably speed-up your website or blog's load time. PHPSpeedy works by making fewer HTTP requests, adding a far-future expires header, Gziping page components and minifying Javascript, CSS and HTML. The end results are pretty stunning, in Chevalier's test (available at his site), a 271 KB page with 14 requests took 4.44 seconds to load. The same page after the modifications weighed in at 49 KB and just 4 requests, for 1.1s load time.

Speed up your site with PHPSpeedy - Download Squad

http://downloadsquad.switched.com/2008/02/01/speed-up-your-site-with-phpspeedy/

Afficher un calendrier, en PHP et CSS

mEga ( mEga-Box ), m’a inspiré pour ce petit billet dans lequel je vous propose un petit script pour générer un calendrier en PHP et le mettre en page en CSS . Présentation Dans mon exemple j’ai séparé le code en un fichier index principal et trois fichiers à inclure (string.inc.php, calendrier.inc, calendrier.css). http://www.sutekidane.net/blog/afficher-un-calendrier-en-php-et-en-css.html
http://www.terrill.ca/design/vertical_bar_graphs/

Vertical Bar Graphs using CSS and PHP

Who wants to use Excel to make a new graph each week? Using CSS and PHP you can create attractive bar graphs (yes, even the stacked kind) that are always up to date. You won't always have an appropriate height value to display, in which case you will need to scale the data relative to your desired graph height. This code walks through the process. 1.1 Printing the HTML list using PHP function printGraph() { $days = array(); $xOffset = 0; $xIncrement = 40; // width of bars $graphHeight = 500; // target height of graph $maxResult = 1; $scale = 1; // Database Connection Information // Connect to and select the database // Get the data and find max values $result = mysql_query($query); if (!
I would like to share my new experiments concerning CSS, and how it can be used with a server-side scripting language like PHP. What frustrates me the most when I write stylesheets is the amount of repetitive work that has to be done by manually. Because there is no support for variable or constants in CSS, you are often forced to copy/paste values across your stylesheet, and make lots of calculations "by hand". A simple example: If you want to change the width of a column, you often have to change the width of others elements in various places of your stylesheet, which can be tedious and prone to errors. http://oldblog.pixarea.com/index.php/2007/01/07/62-dynamic-css-magic-with-php

PHP-generated CSS magic - Pixarea Blog

Rico 2.0 provides responsive animation for smooth effects and transitions that that can communicate change in richer ways than traditional web applications have explored before. Unlike most effects, Rico 2.0 animation can be interrupted, paused, resumed, or have other effects applied to it to enable responsive interaction that the user does not have to wait on.

Rico

http://openrico.org/
http://gael-donat.developpez.com/web/intro-ajax/ On parle beaucoup d' AJAX en ce moment dans le buzzword Web 2.0. En effet la technologie Web entière est basée sur le modèle de l'aller retour : pour une requête serveur, vous avez un retour qui se traduit par un rafraîchissement des données (la page Web affichée). Ce modèle de fonctionnement est fiable car existant depuis très longtemps mais il pose aussi des problèmes d'interaction homme machine et de performances. D'un point de vue utilisateur, le rafraîchissement de toute la page au moindre clic est synonyme de temps d'attente et de scintillement qui n'est pas toujours du meilleur effet dans une application professionnelle. Du point de vue des performances, à la moindre modification, vous rechargez une page entière avec toutes ses balises HTML, ce qui génère un trafic important. La technologie AJAX n'est pas nouvelle en soi.

Introduction à AJAX et interaction avec PHP - Club d'entraide des développeurs francophones

http://www.alistapart.com/articles/magazinelayout

A List Apart: Articles: Automatic Magazine Layout

Auto-resized images are a common feature on the web now. Automating the process of resizing images saves a lot of time—it’s certainly quicker than manually resizing images in Photoshop—and is a good way to manage images on a site. But when a good designer crops your images manually, they always looks better. The problem with automatic uploads is particularly evident when several images of completely different dimensions are displayed together on a page, such as four product images that have been uploaded through a content management system (CMS). Finding an attractive way of displaying any two, three, or four images together (regardless of shape and size) has always been difficult without manual resizing or cropping.