The blog of COil : PHP, symfony & Web 2.0

Strangebuzz...?

Réduire au titre / collapse all

28/01/2007

» Productivity Killers Awards

[En] I found a very interesting article about productivity in the n°363 nexen php newsltetter (by Laurent Ploix), it notes the top twelve reasons that can make a developer loose productivity, the 3 main points for me were :

  • Fact 5: Bugs increase as the number of developers increases.
  • Fact 10: Defining the architecture is as important as coding
  • Fact 12: Coding conventions are efficient; they must be imposed.



[Fr] J'ai relevé un article trés intéressant dans la newsletter Nexen n°363 (par Laurent Ploix), il mentionne les 12 points principaux qui font baisser de manière significative la productivité dans le développement. J'ai plus particulièrement noté les 3 points suivants :

  • Fait 5: Les bugs augmentent avec le nombre de développeurs.
  • Fait 10: Mettre en place une bonne architecture est aussi imporatant que le dévelopement lui même.
  • Fait 12: Les conventions de programmation sont efficaces, elles doivent être imposées.


16/01/2007

» Symfony beta4 is out !

[En] The beta4 version of Symfony has been announced and released today. It should be the last beta version until the first "RC" (release candidate). The final 1.0.0 is very near now...

[Fr] Oyé, Oyé, la version beta4 de Symfony est sortie aujourd'hui même. A priori ça devrait être la dernière beta avant la 1ère version "RC" (release candidate). L'arrivée de la version 1.0.0 finale est donc proche...

Fabien Potencier wrote :

We just released symfony 1.0.0 beta4. I hope this is the last beta
release before RC1.

This new version includes the following internal changes:

     * Better date/time handling in admin generator
     * SSL and HTTP authentification support for sfBrowser
     * Rich text editors and sfLogger refactoring
     * Updated phpdoc for most core classes

Please install this version and report any bug remaining in the trac.
The upgrade task is not necessary if you already upgraded your projects
to the 1.0 beta 2. As always, don't forget to execute symfony cc to
clear your project cache after upgrading.

If everything works fine, we will release 1.0.0-RC1 at the end of this week.
 
Fabien

15/01/2007

» Coloration Synthaxique avec Geshi

[En] About the synthax coloration, it's achieved with the help of the Geshi class, a new Symfony plugin has been done to be able to easly integrate and use it in Symfony. Hartym made it, all details here, Geshi allows to "colorize" mutiple synthaxes php, java... a little example : (1)

[Fr] A propos de la coloration synthaxique, elle est effectuée grâce à la classe Geshi, un plugin pour Symfony est sorti afin de l'utiliser simplement. C'est Hartym qui a créé ce plugin, ca se passe here, Geshi permet de "coloriser" de multiples synthaxes, php, java... un petit exemple :

(1)

<?php
$highlighter = new sfGeshi("<?php\necho 'Hello World';\n?>","php");
echo $highlighter->parse_code();
?> 

14/01/2007

» Multi-sort dans l'admin generator de Symfony

[En] Here is snippet that i had put on Sf website some time ago, it allows to add a "multi sort" fonctionnality in the admin generator. Indeed, by default, one can sort on only one table column, witch can be quiet annoying with complex datas.

[Fr] Voici un snippet pour Symony que j'avais déposé dans leur application "Snippets", il permet d'ajouter la fonctionnalité "multi-sort" dans l'admin generator. En effet, par défaut on ne peut trier que sur une seule colonne ce qui dans certains cas peut être limitant avec des données complexes.

<?php
    /**
     * Add a sort criteria
     */
    protected function processSort ()
    {
        $sort = $this->getRequestParameter('sort');
        $type = $this->getRequestParameter('type');            
 
        // Register sort                 
        if ($sort) {
            $this->getUser()->setAttribute($sort, $type, 'sf_admin/produits/sort');
        }
    }
?>


La suite du snippet | Full snippet here

13/01/2007

» myBlog.class.php

[En] Welcome on my new blog that will mainly talk about PHP, the Symfony framework and web2.0.

[Es] Bienvenido en mi nuevo blog, principalmente hablando sobre PHP, Symfony framework y web2.0.

[Fr] Voilà je me suis décidé à ouvrir mon Blog, non pour raconter ma vie... quoi que ;) ... Mais pour parler essentiellement de programmation, notemment PHP et le framework Symfony dont je suis trés friand ces derniers temps. ;) J'ai choisi DotClear pour sa réputation, sa facilité d'utilisation, les thèmes disponibles et les plugins. Je ne suis vraiment pas déçu pour l'instant. C'est propre et clair. J'ai du installer un plugin intégrant Geshi pour la coloration synthaxique PHP.


Présentation

Une petite présentation (vite-fait hein...) je suis COil (devinez-mon prénom ?), j'ai 28 ans... Et je me suis re-mis (**sérieusement**) au PHP et aux technos web depuis 6 mois apres une longue mission à Paris, ça fait du bien. La conception technique de sites web, le php et le webmastering étant vraiment les disciplines que je préfére.


J'espère que vous pourrez trouver ici quelques informations intéressantes à l'occasion. (pas toujours quand même, faut pas pousser...) :o

» Autres billets / Other post