Aaron Saray

open source programmer,
web developer

entrepreneur, author
and musician

My Blog

contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!

Author Archives: Aaron

Keep your Admin Interface CSS Separate

There are a number of performance arguments about combining assets to reduce HTTP requests and speed up your site. I agree! However, I do have to say that there is such a thing as overkill – to the detriment of … Continue reading

Posted in CSS, performance, security | Tagged , , | 1 Comment

PHPUnit Mock Objects: Only Mock What You Need

I was looking at mock objects in PHPUnit the other day and started to get confused. When I asked for a Mock object, the entire object was a mock. In all actuality, it wasn’t so much a Mock of the … Continue reading

Posted in PHP, phpunit, Test Driven Development, testing | Tagged , , , | Leave a comment

Translate Your Error Messages in Your Zend Framework Controllers

I’ve been making a push to have more of my projects multi-lingual. However, one thing I kept forgetting about was those super-rare error messages that have to come from the Controller. For the most part, all of your errors should … Continue reading

Posted in Misc Web Design, zend framework | Tagged , | Leave a comment

Site profile: thebetterbachelor.com

Goal: to create a bachelor cookbook and sell it to other bachelors online. The price of the cookbook was to be very cheap so that it wasn’t too much of a risk. The book itself was supposed to be picture … Continue reading

Posted in business, Misc Web Design, site profile | Tagged | Leave a comment

Filtering and Validating Discussion

I came up with a great topic to write this blog entry about: filters and validators. Then, I got to thinking – maybe I can get more feedback from other programmers I know. I decided to send a note out … Continue reading

Posted in business, programming, security | Tagged , , | Leave a comment

Service profile: mketweeps

Goal: I came up with an idea that I wanted to find local people in our area and mention them using a twitter bot. Pretty simple. Two requirements were they either had to use the word milwaukee in their profile … Continue reading

Posted in business, Misc Web Design, site profile | Tagged | Leave a comment

Site profile: jemdiary.com

JEMDiary Goal: In 2001, having an online diary was only being piloted by a few people. Blogging was big, but considering it a ‘diary’ was not that popular. Only a few competitors existed: myopendiary and teendiary. I started my own … Continue reading

Posted in business, Misc Web Design, site profile | Tagged | Leave a comment

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 … Continue reading

Posted in testing, zend framework | Tagged , | Leave a comment

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 … Continue reading

Posted in business, Misc Web Design, site profile | Tagged | Leave a comment

Site Profile: name-tag.me

Note: I have shut down name-tag.me. These notes were taken before I pulled the plug. The goal was to make a “hello my name is” style name tag without the use of images but with a handwritten font. Trouble I … Continue reading

Posted in business, Misc Web Design, site profile | Tagged | Leave a comment