SimpleXML vs XMLWriter vs DOM
I have done a little Performance test for the 3 different methods available in PHP for XML generation. For this test I wrote a little script which generates the same XML File using the different methods.
I have done a little Performance test for the 3 different methods available in PHP for XML generation. For this test I wrote a little script which generates the same XML File using the different methods.
At work we started using Zendstudio, as the installation on our Linux Boxes is global, we can’t edit the ZendStudio.ini, and the only way to specify our custom username for Code Templates is using the commandline arguments. The easiest way is to create a shell script to start ZendStudio:
I recently have began to use Netbeans because I’m sad that Eclipse is every time slower and it frozes every time when you are doing something to fast.
Netbeans is not perfect, and there are some features that need to be polished (Ex.: SVN Support, Time Tracking like Mylyn), but the PHP/HTML/CSS/JS Support is excellent, in my opinion better than the Eclipse PDF support.
These is my netbeans_default_options for Netbeans for MacOSX (under Windows you can leave out the –laf switch, it’s for changing the look and feel):
After trying very different IDE and many Eclipse IDE flawors, this is the best configuration I have found, and all the components are free.
First of all we need to download Eclipse Classic from the Eclipse website.
One of the first things we need to do is to change eclipse.ini, we will make it start faster and increase the memory limit
1 2 3 4 5 6 7 | --launcher.XXMaxPermSize 256m -vm /usr/bin/java -vmargs -Xms40m -Xmx1024m |
The path to Java VM depends on your installation and system, in windows you must search for “javaw.exe”. Setting the path to Java VM makes that Eclipse stops searching for the Java VM every start, which makes the start faster.
Now we can start installing the required Plugins. In “Help->Install New Software…” we will add the following Update Sites.
El soporte de LDAP en MAMP 1.7.1 esta roto asi que tube que recompilar el PHP, lo cual me obligo a recompilar todas sus dependencias, pero como no encontre ninguna guia de como realizarlo correctamente, aqui esta como lo hice yo.
Lo primero es descargarse el codigo fuente proporcionado por la gente de MAMP, y su version compilada.
Codigo fuente: MAMP 1.7.1 (src)
Version Intel: MAMP 1.7.1 (intel)
Version PPC: MAMP 1.7.1 (ppc)
Una vez que tengamos esto, hay que instalar MAMP la version compilada en /Applications y asi ya tenemos toda la estructura correcta lista para solo recompilar lo necesario.
Ahora descomprimimos el codigo fuente y vamos compilando las diferentes librerias:
CURL
tar zxvf curl-7.16.2.tar.gz cd curl-7.16.2 ./configure --prefix=/Applications/MAMP/Library make make install
Freetype