Monthly Archives: February 2007

ical4wp is back in beta 2!

Hi all,

never desesperate! (this should be the name of this new release…)
I had some time to play a little bit with my plugin for wordpress and here is the result: a brand new beta 2 version. Not only there is some code cleaning but I had 2 new featues:

  • widget: now ical4wp is also working with the sidebar widget system and therefore you can avoid any edition of wordpress php code. You want to know more about widget system? Let’s go to the widgets creators website,
  • hCalendar microformat: now when you show a post containing event metadata, it will show some basic information on the post view as microformat data (meaning readable and computer readable). Want to know more about microformats? Ok, here is the website of microformats.

get it now while it’s hot!

I have also setup a forum to better exchange request/bug/questions.

SCOOP: MPEG 5 is available!

Nobody told you? Here is THE big news: the MPEG 5 codec is already available and integrated on some innovative product!

You think I am kidding? Here is a photo I took in my last trip in Timor in January 07:

MP5 Player!

Enjoy the fun!

Some companies are not afraid of anything to promote their iPod-killer…

AMP for development on Mac OS X: MAMP

As a web developer I always need a very convenient development environment on my computer. I used XAMPP on Windows but since I switched to full Mac, I was looking for a similar solution.

MAMP WidgetI can hear you: “Hey! Are you stupid? Mac OS X comes already with almost a full AMP platform: by default we do have Apache and PHP and it is pretty easy to download MySQL and install it”. You are right of course (as usual!), but the version in Mac OS X are pretty outdated and I found a very convenient application for Mac to do this in a very mac-ish way: MAMP from living-e. It is a nice package including everything Apache2, MySQL5, PHP5 and PHP4 and even more (SQLite, eAccelerator, PHPMyAdmin and SQLiteManager), it provides a simple Mac application (and a widget) to control the all thing and change some parameters such as ports (by default Apache runs on 8888 to avoid conflict with your native Apache in MacOS) and switch from one PHP version to the other. It simply installs in your Applications folder from where you have access to everything. So far the best tool for web dev on MacOS (not mentioning the mandatory text editor: TextMate).
Fine, starting there you can really work and develop the nextgen web6.0 app that will terrified Google itself! But there is “one more thing“(tm): how about command-line access for php and of course PEAR? Here you have to do a couple of actions to make it works transparently for you, but no fears!, it is pretty easy and I am going to show you right now.

1. We will add one line in your PATH to shorten command-line to access php binary (in our case we want php5). Add in your home folder a .profile file if it does not exist yet and type in:

export PATH=$PATH:/Applications/MAMP/bin/php/php5/bin

2. We will now rename both original php and pear of MacOS so we make sure we do not use them (and obviously we do not delete them in case…):

sudo mv /usr/bin/php/usr/bin/php4
sudo mv /usr/bin/pear /usr/bin/pear4

(You could also simply change the order in the PATH and avoid step 2 but I prefer this way…personal taste!)

Starting now you should be able to access php and pear from your MAMP installation in the command line (you can try to type php -v and pear config-show). You can also easily add virtual hosts in your apache config to get your own local domain name such as http://mywebapp/ (you will have to modify as well your host file, see Apple doc for this).