[current]
first steps towards building a
ZPT TAL work-alike in PHP have been done tonight. There's still a long way to go, many limitations, and currently it'll only do 'content' and 'replace' methods... but still it's a start, and might even be enough to work with... (won't show code yet, those regex are not for the faint-of-heart)
Ok, maybe just a teaser; this is the core regex doing most of the work
"/<((\w+).*)\s+ptal:(\w+)=\"([^\"]+)\">.*<\/\\2>/"
[ by Martin>]
[]
[]
similar entries (vs):
- Zope Page Templates (ZPT) (# 14%)
- Almost... (# 12%)
- Petal (# 10%)
- a little frustrated (# 10%)
similar entries (cg):