[PHPTAL] Browser Based TAL Inspection Tool

2011-08-19 Thread Darrell Hamilton
Even with a tool like PHPTAL, the array templates for extremely dynamic sites can become difficult to manage, from a designer's point of view. So, my thought was to use prefilters to modify the rendered markup, dumping information about the original tal markup. Then, adding a javascript based

[PHPTAL] Proposal: Auto-fill slots with #ids

2011-08-19 Thread aaatoja
When creating typical web page we all use #ids, and something like: layout.html metal:define-macro=html metal:define-slot=content index.html metal:use-macro=../layout.html/html metal:fill-slot=content And most probably content will be div id=content. So maybe just to make our work easier

Re: [PHPTAL] Proposal: Auto-fill slots with #ids

2011-08-19 Thread Per Bernhardt
I totally disagree that we all use #ids :) When it comes to styling or semantic markup, ids have no advantage to well-choosen classes. It is rather problematic because there are some bad things about ids: * They mess up CSS specificity because there are way too strong * They have to be

Re: [PHPTAL] Any updates to translation tools?

2011-08-19 Thread Kornel Lesiński
On Sat, 06 Aug 2011 17:07:05 +0100, Anton Andriyevskyy x.meg...@gmail.com wrote: (sorry for late reply, I've originally sent that e-mail from wrong account!) I still want to help and finish translation of phptal documentation to russian language (previously started and done 40% of

Re: [PHPTAL] Any updates to translation tools?

2011-08-19 Thread Darrell Hamilton
On the Convert DocBook to Markdown item, there seems to be at least a handful of tools that can convert from HTML to Markdown. I'll see about putting aside some time to play with a few to figure out if there is a better or best option among them and, seeing if there is something that can go

Re: [PHPTAL] Browser Based TAL Inspection Tool

2011-08-19 Thread Kornel Lesiński
On Fri, 19 Aug 2011 07:08:22 +0100, Darrell Hamilton darre...@4over.com wrote: Even with a tool like PHPTAL, the array templates for extremely dynamic sites can become difficult to manage, from a designer's point of view. So, my thought was to use prefilters to modify the rendered markup,

Re: [PHPTAL] Browser Based TAL Inspection Tool

2011-08-19 Thread Darrell Hamilton
Kornel, Thank you for the input on the macro parsing. I'm not sure what I did wrong the last time I tried, but I was able fix up my prefilter to successfully pull out the metal attributes. Darrell Hamilton, Software Developer, 4over, Inc darre...@4over.com 818-246-1170 ext. 285 2011/8/19