Libwebform is the new intended way of creating dynamic web applications with low resource usage. This lib is made to be portable across architectures and to be very resource friendly.
One of it's great features is XHTML validation, and it's API is far simpler than those of GNU's Cgicc.
This is the OpenSource project created from the code E3C Tecnologia.