Oct 1, 2009
Force download a custom view using MediaView
Just some quick hint: Let’s assume you generate a non-html file using a view, layout and custom extension (sql, xml, json, etc..) and you want to offer the displayed result as a download. – Generally you would need to force-download the file, probably using MediaView. Problem is that it isn’t actually a real file for MediaView to work with. Here’s a quick workaround to that, using... read more
Aug 29, 2009
Coda Plugin: PHP Getter/Setter
After being busy busy busy i had some time to write a little plugin for Coda by Panic which i felt missing for those of us writing PHP classes all day long. Getter/Setter is inspired by the function that is included in Zend Studio for Eclipse and creates public getVariable and setVariable methods from the member variables you select. Here’s a example class: class SomeClass extends SomeOtherClass... read more

