Personal attacks are disappointing to see, regardless of if they are aimed at a "big gun" like Tim O'Reilly or someone small like my friend's blog with 50 odd readers. You'd think in this day and age that people could be civil!
I can't help feeling that CMP/O'Reilly set themselves up for this one by not mentioning that they had TM'd the name that they were "talking up" over the last 3 years. Pointing out their trademark to the world via a laywer's letter to a non-profit in another country is hardly the right way to let the world know that you are enforcing this. Especially when they already know about such issues as shown by the Camel licensing page!
That's the problem: you have to remember to use the eprint() function. If you forget and use echo or print or whatever, it all still works; except that you have a possible security issue.
So far this is the only advantage to smarty that I've found. In Smarty you can set it up so that the default display a variable construct of {$var} will automatically escape and if you need a variabled not escaped you have to use {$var|smarty:nodefaults}. I quite like this idea as the simplest way to output a variable is automatically safe.
Escaping at the input filter side would be a nightmare.
I'd like to see Zend_View escape by default though so that additional effort was required for the times that you don't want the data escaped, rather than the other way around.
It's clear that you are a "writer", if that's what you consider to be "written in haste"! My efforts have taken blood and sweat to do the writing bit - the coding investigation was easy :)
Chris, I agree that depending on Zend.php isn't necessarily a problem, especially as it contains the registry. However it does introduce more coupling as you are then forced to keep the basic directory structure so that loadClass() works.
The manual is helpful. Note thought that the Zend_Controller is not documented yet. I've had a play and it seems easy enough though. My notes are up on http://www.akrabat.com/2006/03/04/zend-framework-front-controller/ but of course, I might have misunderstood it :)
Last 10 Comments
1
2
3
4
5
6
7
8
9
10