All entries of my technical and business blog.

Extend Zend_Mail to use Views

I love working in the Zend Framework view system. One thing that bothers me, however, is that I must create a complex set of models when trying to send email. I decided that I’d like to move all of this output for the mail class into my own view system as well. (more…)

Site Profile: amazondiscount.me

The goal was to use links that Amazon provided themselves to showcase categories and percentage discounts with my affiliate tag. The thought was a clean interface would easily encourage people to click a discount of say 90% but send affiliate contributions my way. (more…)

Read Something Else

Many years ago, a business mentor of mine told me that I should “read something else.” I didn’t know what he meant so I asked for more. He said I should go find some biographies, some history books, etc, and read those before I go to bed. He said it would not only expand my mind and show me that my problems weren’t that bad. He also told me it would increase my vocabulary. Well... (more…)

Don't Always Lead: Sometimes Just Be Great

What is the measurement of a good career? Promotion? Raises? Running a project / leading a team? Usually all of this. However, the most traditional measurement of success in a career is moving upward. Time to run a department, time to lead a team, etc. However, I submit a very radical idea: Sometimes just be great, don’t lead. (more…)

Zend Framework Use Filter with Paginator

By default, when using the Zend Paginator, the result set will come back as an array. If you are using a paginator associated with a database result set, and that db has a class defined for its row, it will come back as that class. However, if this is not the case, or you are not using information from a database, you may still want a different result than just a plain array. (more…)

When writing unit tests, test against absolutes

So, while chatting with one of the developers on my team, we started talking about testing an XML document creation process he had been working on. He wrote a unit test and said “see, here is my class which generates the XML, and then here I use DomDocument to add the nodes I know it will have and test against that.” (more…)

⬅ Newer | Older ➡
Page 22 of 50
or use RSS