Thinking about programming in new ways
Very useful cache decorator for TG1.
Not sure how I missed this one, but it’s definitely worth a look for anybody trying to scale a TG1 application.
Just one thing :
THANK YOU ! :)
The last two examples on that page suggest that perhaps expose() does too much. It makes me think that perhaps there are separate concerns being wrapped up into a single function (render and publish).
Clearly changing @expose would would be an incompatible change, but it could easily be implemented as three decorators: @expose, @render, and @publish where @expose is the same as it is now and @render/@publish provide the same functionality as separate concerns.
This entry is filed under Programming. You can follow any responses to this entry through RSS 2.0. Both comments and pings are currently closed.
Compound Thinking is powered by WordPress 3.2.1 and Unnamed 1.217 by Xu Yiyang
Entries (RSS) and Comments (RSS)