Posted on 27 May 2007 by Demian Turner
Rendering views just got a whole lot easier with the Zend framework 😉 If don’t yet have a front controller instance:
$viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer($view);
or if you do:
$viewRenderer = Zend_Controller_Action_HelperBroker::getExistingHelper('viewRenderer');
Okay, maybe it’s not that easy. Let’s look at how the $viewRenderer object is instantiated, using the Zend_Controller_Action_Helper_ViewRenderer class. Using the PEAR naming convention has proven its worth beyond the point of contest, but how many related concepts are inferred by this class name?
Posted on 25 May 2007 by Demian Turner
… it sure is one fat bastard of a web browser! I’ve just been in the habit of using it but Thomas convinced me the other day to drop the browser like a bad habit and switch to, of course, Safari. In fact, the trick is to avoid launching Firefox at all, which after a few days practice I’ve been able to achieve.
The bottom line is Firefox is very un-Mac-like. It’s dead slow, takes ages to launch, is memory ravenous and even with no extensions installed, crashes all the time. For the record I’m using 18.104.22.168 on a Mac Book Pro with 2GB RAM and 2.16Ghz cpu. To be fair I use a few browser-heavy apps, like Google Reader, Geni and Google Calendar. Well all these work perfectly in Safari, and if you use WebKit and the WebKitDeveloperExtras you don’t even miss Firebug and the Web Developer extension.
Is switching worth it? I think so. Since the changeover it’s like having a new, comfy pair of shoes, or losing 10kgs – great feeling! The speedup is immense, I’d estimate Safari is between 2 and 5 times faster then Firefox in terms of launching, opening new tabs, switching tabs, viewing src, etc.
Ironically I had to use Firefox to write this entry, HtmlArea used by Serendipity does not work in Safari 🙁 And apologies to PC users who of course can’t use Safari, but they can switch to a Mac 😉
Posted on 23 May 2007 by Demian Turner
Actuate are holding a technical web seminar tomorrow which will outline how to quickly deploy BIRT Reports and deliver flexible end user reporting on the Actuate iPortal and iServer.
By the way for those who don’t know, BIRT is a flexible 100% pure Java Open Source reporting tool for generating and publishing paginated report output from a wide variety of data sources and there is a recorded seminar available on the technical benefits of Open source BIRT for ISVs and developers. For more info or to watch either seminar check out http://www.actuate.com/uk/info/online207birtwebsemforums.asp