Why Coding Standards Matter

Sometimes it can be a bit of a chore to adhere to coding standards. After all, who really cares if braces after method declarations are on the next line, while control structure braces start on the same line? In the larger scheme, perhaps sticking to the agreed upon standards don’t matter. But when you’re working […]

Read More →
Share

ASP.Net and Android File Download Issues

The stock browser on Android 4.3 and lower (e.g. on a Samsung Galaxy SIII) does not send through postback values when you request a file download. Instead, it sends the URL off to the download manager and it creates a new request with the URL. Therefore, you cannot rely on postback variables if you are […]

Read More →
Share

Should I become a web developer?

Back in the early years of the internet, developing a website was something you did from your basement in your spare time. Today, developers are in high demand as our needs are more complex than ever before. Users expect to do their banking, make reservations, buy shoes, auction off their belongings, find their next spouse […]

Read More →
Share

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

User Agent Switcher for FireFox

When adding mobile detection scripts to a website I have found that its much quicker to add all of the different user agent headers we test against to a nice little FireFox plugin called Agent Switcher. I’ve added this to my FireFox toolbar and can quickly test redirection scripts against iPhone, iPad, Andoid and anything […]

Read More →
Share