ideacode accurately identified all our needs and helped us to successfully track the information in the format that was required. During the development and testing phase, ideacode quickly and effectively addressed our issues. The net result was a successful product that met our needs.

919-341-5170

help@ideacode.com

 

Blazing a trail to better facilities management.

Blog

Super-charged view helpers

The more I use Zend Framework, the more I love it.  Most everything has a well-defined job, the jobs don't really overlap, and the functional units are small and nicely objectified.  Except view helpers.

These beasts can get unweidly fast.  Just today, I wrote this chatty line:

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.

Massing Studies at NC State University

Colorizing maps is big on our plate right now.  Easier said, than done, in a generic way.  But we're laying the foundation for it and looking to the future with 3D.  Michelle Wang produced a bang-up massing map for the University of North Carolina at Chapel Hill using SketchUp, colored by building type.  Cool stuff.

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:

Doh! I needed that file!

Every once and a while, I remove a file (or directory of files) from my local repository that I want back.  No big deal, it's in the repository.  Well, yeah, but finding it and using the right command is not so straightforward.  And since I recently deleted a whole bunch of files and I'm waiting to get them back, I'll show you how.

To recover deleted files from svn, first find the revision in which the file(s) existed:

cd /path/to/local/repository/
svn log --verbose .

I had a lot of files to recover, so I piped the output to a temporary file and cut out the junk I didn't need.

Second step, recover those files:

Syndicate content