[wp-hackers] Zen-Coding for WordPress?
awgandrews at gmail.com
Wed Mar 30 22:14:54 UTC 2011
Ha! I just transferred a load of code from a Zend Framework made site
engine to Wordpress and now I know how they did their ultra
complicated and neat code without tears!
I'd be interested to see this implemented.
On 30 March 2011 22:55, Paul <paul at codehooligans.com> wrote:
> On Mar 30, 2011, at 5:31 PM, Philip Walton wrote:
>> Is anyone aware of a plugin or theme framework that implements some version of zen-coding not within a text editor but actually as a set of php methods or functions?
>> If not I'd be willing to start working on something, and I wanted to float the idea out there to gauge the general interest level and/or see if anyone wants to get involved.
>> Basically, I'm wanting to be able to do something like this within WordPress themes and/or functions instead of writing a million hard-to-read echo statements.
>> $zc = new Zen_Coder;
>> $zc->expand( "#sidebar>.wrapper>ul.widget>li.item$*3>a", array( $link1_data, $link2_data, $link3_data) );
> Sort of confused. At first I thought this was a typo and you were referring to using the Zend Framework. But found Zen Coding http://code.google.com/p/zen-coding/
> From what I can tell this is more a module for your coding environment like Coda, Textmate, Eclipse, Visual Studio. Not something that runs on a server and therefore directly integrated with WordPress to parse the PHP at the time the page is requested. Unless I'm missing something.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers