Mot-clé - php
PHP bench: count + for vs foreach vs
jeudi, février 4 2010, 14:14 :: Coding
I tested different loops. Here is my test script : ┌─(yoda@ev5)(14:32:05) └─(~/var/www/test)-> cat for_foreach_while.php #!/usr/bin/php lire la suite
Symfony: change the default type of your
mercredi, janvier 20 2010, 19:24 :: Coding
Hey, yes it's possible to change the default type of your primary keys with a simple configuration Open your config/databases.yml. It should looks like this : [yml] # You can find more information about this file on the... lire la suite
[PHP] Pensez à STDClass
mardi, août 4 2009, 14:24 :: Coding
Il arrive souvent qu'on ai besoin de retourner plusieurs informations distinctes dans une fonction ou une méthode. La plupart du temps, il suffit de retourner un tableau indexé de manière intelligente. class CSS { public... lire la suite
My first plugin for symfony
samedi, juillet 11 2009, 14:13 :: Coding
Hey, I just uploaded my first plugin for symfony ! This plugin is a simple wrapper for a jQuery Carousel found at http://sorgalla.com/projects/jcarousel/... lire la suite
Recomposer un HTML valide après l'avoir
samedi, décembre 6 2008, 18:21 :: Coding
Récemment, je me suis occupé de la création d'un site web tout joli tout beau, dans lequel les webmasters peuvent composer certaines parties de leur site web via un éditeur online wysiwyg. Mais à certains endroits,... lire la suite
Déboires avec gPHPEdit, coloration
jeudi, novembre 8 2007, 10:13 :: Coding
Depuis que j'ai commencé le site web pour J**, j'avais pris gPHPEdit pour coder tout ça. Il était assez sympa, agréable à l'utilisation, on peut regrouper le corps des fonctions/méthodes, et a une coloration syntaxique... lire la suite