You are currently browsing the archives for February, 2011.

Autoload Doctrine and Doctrine Classes

If you read my post regarding how to integrate Doctrine using the Zend Framework, you might also be interested in this post written by Matthew Weier O’Phinney on how to autoload Doctrine and Doctrine entities using the Zend Framework.

Add a comment - 1 pingback / trackback

Smart Google Translate Wrapper for PHP

Sameer Borate published his version of a Google Translate Wrapper for PHP on his blog and on Google code. Actually, Sameer’s class pretty much does what I expected it to do, i.e. translating text. The only thing I didn’t like was the fact that – as Google’s API only accepts text up to 5000 characters – it simply creates chunks of text by chopping the text using a dumb str_split($text, 5000). So here is a smarter version of Sameer’s Google Translate Wrapper. Continue Reading…

3 comments - 1 pingback / trackback

Site tools