Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Web framework - Skylark - first taste
Re: Web framework - Skylark - first taste [message #34998 is a reply to message #34996] Sun, 25 December 2011 10:56 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1428
Registered: September 2007
Ultimate Contributor
Well the witz files are a form of "html based template system". Let's say you define a XML namespace u:"www.ultimatepp.org". Then, you can do the include statement like:

<u:include page="style.witz">


This way it is compatible with XHTML. It also has the advantage that there are a lot of WYSIWYG web page editors out there that are capable of editing partial HTML pages, the one that are commonly used in web page design. The u:include tag would be ignored by these editors letting you continue edit the page. But finding some other syntax might confuse it. The best case scenario is that it interprets the statement as text. The worst case scenario is that it fails to parse the xhtml and refuses it as ill formated.

This is only one of the more standard ways. There are a lot of solutions. Some of the are quite overkill, combining custom tags, functional customs tags and CDATA sections.
 
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Chromium embedded in U++
Next Topic: Console decoration for DOS (windows)
Goto Forum:
  


Current Time: Thu Aug 14 01:42:08 CEST 2025

Total time taken to generate the page: 0.22919 seconds