Author: Andrew

Upgrading to Zend Framework 2: One Week (or so) Review

After a little more than a week since I started the upgrade to ZF, I have to say I am enjoying working with it, although it certainly gave me headaches. Admittedly, most of those headaches were a result of my own questionable coding decisions from the existing ZF1 application. Still, it was a bit frustrating […]

Read More →
Share

Upgrading to Zend Framework 2.0

While working on a project* recently, I made the decision to move it from its current Zend Framework 1.12 base into Zend Framework 2.0. Although there certainly are similarities in much of the code between the two versions, there certainly are differences, primarily in how the overall structure of the framework operates. After having futzed […]

Read More →
Share

DatePeriod Class in PHP: Where were you ten years ago?

In my earlier days of web programming, one of the most frustrating issues that kept coming up was dealing with recurring dates. Trying to get it all put together would take a lot of time and effort. Part of this was because I was a pretty crappy programmer, but also because dealing with dates in […]

Read More →
Share

Doh! I knew I missed something…

So I was sitting here trying to figure out why in the heck a simple Doctrine Repository::findOneBy call was not working. The code should work as is, and similar things were working in other places. I toyed around with it, changing things here and there. Still no result. I had the right value to find […]

Read More →
Share

Counting values in an array

While interviewing for a job a couple weeks ago, I was asked to write code in my language of choice (PHP for me, of course) code that would count the number of values in an array, and then display the counts in a list. The first way I did it was a bit over complicated, […]

Read More →
Share

Getting SSL to work with cURL

If you’ve ever had issues with working with SSL and cURL in PHP, perhaps this will help you out. It certainly helped me out, as I had no clue it wasn’t going to work as is. The more you know, I suppose.

Read More →
Share

Microsoft posts first quarterly loss…ever.

So, I guess July 19, 2012 was a historic, if ignominious, day for Microsoft. It’s kind of amazing that they went 26 years without a loss in even one quarter. I guess it’s not surprising, considering the domination of Windows and Office. It looks like the rest of their business is still pretty healthy, it […]

Read More →
Share

Remembering my One ZendCon Trip

In my decade plus as a programmer, I’ve only ever been to one conference, ZendCon 2009. It wasn’t because I didn’t have a desire to go to any, it was a matter of availability and finances. Every company I’ve had the pleasure to work with has found it unnecessary to send its employees to conferences, […]

Read More →
Share

PHP 5.4 is out

A quick check at php.net revealed that PHP 5.4 is out now. Nothing all that earthshattering. I’m pretty certain I’ve wanted something like traits a few times in the past, and the built in webserver could be useful for development. I’m not sure how much I’ll use that simplified array format. It would make simple […]

Read More →
Share

Billmation Mobile: HELP(ers)!

(Written on Friday, February 03, and published today) Woo-hoo, tonight I successfully implemented an action helper. From now on, we can get posted parameters from both the JSON encoded content types and the old fashioned content types (i.e. what you normally find in a $_POST superglobal). I remember at one point being absolutely mystified as […]

Read More →
Share