3 ms·
I like the idea of using html as its own templating language. Have you considered using DOMDocument and DOMXpath instead of regex searches?
by krapp 12y ago
I like the idea of using html as its own templating language.
Have you considered using DOMDocument and DOMXpath instead of regex searches?
- andraganescu 12y agoYes I have. I still hover over this approach, considering I am implementing the same pattern in js now with node, so an even greater opportunity for it. One thing I did want was for this framework to be as friendly as possible to designers and junior frontend-ers and I fear xpath is not easy to grasp ...