Setting up PhpStorm 2 with XDebug and MAMP

Getting XDebug setup and working with PhpStorm 2 is relatively painless but I thought I would add some hints I found when setting this up. These instructions assume you are debugging a web based application using MAMP as your server environment. Turn on Xdebug For MAMP Luckily, the version of MAMP that I have, (and presumably yours too) comes with xdebug so no need to download anything. You can confirm you have everything by making sure you have the xdebug....

February 23, 2011 · Benjamin Sternthal

IDEs For Front End Development & PHP

I make my living as a front-end developer and spend the majority of my time in an IDE. So the IDE for me, is an incredibly important piece of software. I’ve played with and purchased a bunch of em’ and what follows are my personal thoughts on each. I hope this might save you some time/money when deciding which IDE to invest in. Some of these IDEs I used for years, others for only a short time....

October 19, 2010 · Benjamin Sternthal

Deploying Zend Framework With Apache ANT

I recently wrote a quick ANT script to deploy a personal Zend Framework project and thought I would share the code. If you are just getting started with Agile development, ANT builds/deployments are a great first step with immediate benefits. The following example is bare-bones, it does not run tests or do anything complicated but it should give you something that works and can be built upon. Methodology For my project I need ANT to do the following:...

March 3, 2010 · Benjamin Sternthal

Debugging Front End Code, New Tools

Front End debugging tools have come a long way. Below are some of the tools I am using on a daily basis to debug and fine-tune my front end code. Firebug - Firefox Plugin Firebug is my workhorse for general debugging. It has the standard set of CSS inspectors and a robust net monitor. The net monitor is essential for debugging XHR requests. I could not develop Ajax applications without it....

March 1, 2010 · Benjamin Sternthal

Load Routes From Routes.ini Config File In Zend Application Bootstrap

I spent waaaay to many hours trying to load routes via a config file in Zend Framework 1.10 and I think this might be a problem with the documentation I was following on the Zend Framework site. More on that later, let’s get to my solution first. Here is the use case I am addressing: I want to store routes in a .ini file and have this file loaded via the Application Bootstrap....

February 10, 2010 · Benjamin Sternthal