You were an excellent partner in every way. You delivered your commitments on time, you provided clear guidance on what you needed from me, why you needed it, and when my communication was not sufficient you asked for clarification.

800-813-1316

help@ideacode.com

 

Blazing a trail to better facilities management.

PHP

Painless Zend Form decorators

Headline, 2008: Zend_Form decoration a pain, says lead Zend developer.  Three years later, googling for "Zend_Form decorator help" produces no shortage of questions, complaints, and outright rants against Zend_Form decorators. Seriously, no other part of Zend seems less loved than form decorators.

All the bitchin' and moanin' seems rooted in two problems: the default use of definition lists and the lack of an easy way to override those defaults.

Spatial searches with Zend_Search_Lucene

The situation: I have a database of businesses, each with a name, product, and physical address.  The goal: Using Zend_Search_Lucene, I want to find all businesses selling a certain product within a certain distance from my current location.

In a hurry?  Skip the explanations and go right to the final code.

I need a few things to meet this goal:

Recursive PHP closures

Closures — also called PHP anonymous functions — finally debuted in PHP 5.3.  And there was much rejoicing, at least if you have spent any time in functional programming languages.  Or work for google.

Syndicate content