Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You're conflating two things, dynamically creating HTML is great and lets you avoid JS in a lot of cases. It's whether you should treat your HTML document as the tree of nodes that it is in your programming language or treat it like a string.

https://github.com/Knio/dominate is a Python lib that implements this principal.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: