Josh Schumacher: A PHP Developer

The biggest and the best in the Northwest

Josh Schumacher: A PHP Developer random header image

Entries Tagged as 'PHP'

Remove .svn directories from Zend Studio 7

October 29th, 2009 · 8 Comments

I recently upgraded from Zend Studio 6 to the Zend Studio 7.1 beta. During the upgrade, all of my .svn folders showed up in the file browser (who would ever want to see their .svn folders in the file browser…). To remove these svn folders from your project, right click on the project > Build […]

[

Tags: PHP · PHP Development

Standardizing a way to represent an object in PHP

April 23rd, 2008 · 2 Comments

During the process of designing our API at Treemo, one of the first major design implementation hurdles we had to overcome was how to standardize a way to define what data in an object was “exportable” and can later be transformed into XML. The solution that I came up with defines a Node and a […]

[

Tags: PHP · XML

PHP – Delete selected items from an array

March 22nd, 2007 · 30 Comments

I was enlightened the day I discovered array_filter. You may find yourself with an array of values and you want to delete some of those values from the array. There is no ‘delete element from array’ function built into php but you can use an even more powerful function, array_filter. Let’s look at a simple […]

[

Tags: PHP

Howto: Exclude developer hits in Analytics

March 16th, 2007 · No Comments

When developing a site, I visit it a lot – OK Josh, that was an obvious. Point is, I was tired of tracking my visits to sites that I maintain. I really care about tracking significant users and how they navigate the site and what pages they find valuable but I don’t care about my […]

[

Tags: Analytics · Javascript · PHP

Playing well together: Prototype JS and PHP

March 2nd, 2007 · 4 Comments

I’ve decided that manipulating dates client side is a mess. I’ve been working on a multi-user php calendar for the past few months. One of the features I’m most proud of is an availability chart similar to a feature outlook has so you can schedule a meeting with multiple people and see when everyone is […]

[

Tags: Ajax · Javascript · PHP · Prototype