Latest Publications

Custom PHP 5.3.1 with APC and XDEBUG on (Dreamhost) Shared Host

I’ve recently been setting up my new dreamhost for symfony projects deployment and the only thing the default PHP is missing is the support for APC (alternate php cache). (more…)

MySql World Database as YAML fixture

For Symfony application I’m developing I needed all the Region separated by continent (7 continents model). I converted the MySql World Database (http://dev.mysql.com/doc/world-setup/en/world-setup.html) to a YAML NestedSet fixture file.
I just had to make 4 minor changes to it:
- rename the 3 continents that had region with the same name name (North America, South America, Antarctica)
- rename the Micronesia/Caribbean region to Micronesia-Caribbean.

thats’ all, enjoy the file Region.yml

Marco

eeepc 1005HA-H on its way

Yesterday I ordered a netbook, the asus eeepc 1005HA-H, today it arrived at my girlfriend’s place and she will bring it to Borneo (hence to me) next week. As soon as I get it i’ll get rid of the installed WinXp and install UNR (Ubuntu Netbook Remix). I’ll post the results here…
ciao

UPDATE: it works like a charm with 9.10

Adapting doctrineexport.grt.lua to symfony standards

Using Mysql workbench to visually design a data model for a symfony application is pretty cool. Thanks to the guys of http://code.google.com/p/mysql-workbench-doctrine-plugin/ you can export the model to a YAML file ready for Doctrine. (more…)

migrating wordpress from gengo to wpml

A client of mine used to have a multilingual blog using the Gengo plugin, which I consider by now unfortunatly dead. Fortunately, the guys at http://www.wpml.org did a great job creating a new plugin that works like a charm. (more…)

wordpress iphone app with wpml

I’ve a client using a wordpress multilingual blog with the wpml plugin (wpml.org/) and that wants to use the wordpress iphone app (iphone.wordpress.org). The app and the plugin work like a charm. the only problem is that in the app you can’t set the post language, hence you are (well by now were :) ) able to post only using the default language.
I wrote a small PHP script (more…)

Activating error 503 from a shell script

During deployment of a new version of a website you might want to have your server returning an error 503 (temporarily unavailable). You can easily do this by pointing your web folder to a php page that contains this: (more…)

Symfony project on (bluehost) shared hosting

So, I finally made it, set up a working Symfony project (with SVN) on my bluehost shared hosting plan, this tutorial should work for other hosters with minor changes. What I wanted was to be able of using my account as a development server for a small group of developers that would automatically show the last revision of the SVN repository. I pushed the solution further and created on the same account two more subdomains for the staging and production server. Please note that this last point is not the best thing to do, but I did it since we don’t know yet where we will put our production server when the application will really go live. As well, small budget apps could be set up this way if you really want 3 environments and you can’t afford a better hosting solution. Finally I installed Redmine so that we’ve a fully integrated development server with issues tracking, road-map, wiki, documentation and repository browsing. (more…)

Installing Redmine on (bluehost) shared hosting

Hi, here a script to install readmine  0.8.4 (www.readmine.org) on a shared host that offers ruby on rails. enjoy (more…)