Just a Log

Applications, especially ones that run over and over again with zero persistancy (of the application itself) like a web app needs logging. It’s important to be able to log different types of messages to different places and fortunately Zend_Log is so extensible that it can log to almost anything you can think of. My typically […]

Queueing With Zend Queue and MemcacheQ

I was bored last night so I thought I’d enhance one of my applications with a little bit of Queueing. (And for the record both Queueing and Queuing are valid spellings depending on your locale) The concept is fairly straight forward. Normally when a web application runs, it runs in a linear pattern. It starts, […]

Tell Your Redirector How to Do It’s Job

There’s a big difference between a redirect that uses a 301 and a 302 code on a website. If you don’t know the difference, you should find out. 301 says “This stuff has moved permanently and you shouldn’t come here anymore.” 302 says “You just need to go here, but this place will still answer […]

The Quickest Way To Tweet via Zend Framework’s Twitter Service

This is a quick and dirty method.  It assumes a couple of things. You’ve already created your ‘app’ on twitter. You’ve already gotten your personal OAuth tokens from twitter. First you need to setup your tokens; $token = new Zend_Oauth_Token_Access(); $token->setToken(“YOUR_PERSONAL_TOKEN”)       ->setTokenSecret(“YOUR_PERSONAL_SECRET”); Second, you need to setup the Zend_Service_Twitter using your access token as […]