JPz'log Coin Coin and Plop da Plop

29Jan/063

Podcast

Le podcast est décidemment de plus en plus utilisé, David Guetta mets en Podcast son émission hebdomadaire (Dancing) sur RadioFG. Miam miam, mais que pense cette lumière ô combien éclairante du phare d'Alexandrie qu'est Pascal Nègre sur toute cette musique disponible gratuitement sur le Grand Ternet ?

Filed under: Uncategorized 3 Comments
16Jan/062

Python + mod_python: why use PHP again?

As time goes by, I hate PHP more and more. The language is deeply flawed and ugly. It promotes nasty habits, so that 9 PHP developers out of 10 write code that does not separate the view and the business logic. In fact, it is a common coding standard among PHP developers to put a slight amount of logic in the same document as the one that contains the tags. And the my code is in .php files that are requested in URLs[1] is real drama when you want to teach Java EE on people that have been formatted by the PHP way-of-code-wasting.

Of course there are examples of PHP software written by good developers. For instance Dotclear is a wonderful piece of work, but one should not forget that talented developers will always produce good code even with a doomed language. I only see one reason for me to use PHP: it is the only language that you will find on affordable web hosting.

Now, when I have the control of the web server, I don't see why I would not use Python + mod_python. Python is really neat, and mod_python really makes things simple to create small to medium sized web applications. If you delegate the requests handling to the publisher handler and process views with the Python Server Pages (similar to primitive JSPs), you get nice URLs for free and an amazing productivity. And you also get the huge Python Library + 3rd-party modules. Oh and if you do things this way, you won't mix view and business logic.

I strongly urge you to try mod_python if you haven't yet, the tutorial will put you on rails[2] in 5 minutes (granted!).

Notes

[1] To be fair, you can do the same mistakes with JSPs.

[2] Ah ah ah...

Filed under: Uncategorized 2 Comments
16Jan/060

GPL v3, first draft

I have just received the first draft of the GPL v3. I will read it and see if I could have some useful feedback. It has been said that the update is aiming at avoiding incompatibilities with the other F/OSS licenses (Apache, CDDL, EPL, ...). I hope that this could be true, so that we don't run again and again on the same problems the GPL v2 has. Stay tuned.

Filed under: Uncategorized No Comments
12Jan/060

Pied dans les taules sur le Grand Ternet

Revenir en RTC 56k, ça doit faire mal ...

Filed under: Uncategorized No Comments

JPz'log is Digg proof thanks to caching by WP Super Cache