Home » Developing U++ » U++ Developers corner » Web framework - Skylark - first taste
Re: Web framework - Skylark - first taste [message #34999 is a reply to message #34998] |
Sun, 25 December 2011 17:16 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
cbpporter wrote on Sun, 25 December 2011 04:56 | 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">
|
I guess it should be:
<u:include page="style.witz"/>
right?
Quote: |
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.
|
I now understand what you mean, however, '#' is OK in XML and there is nothing worse than that in preprocessor, so it would be interpreted as text in any case.
In fact, I would have little problem providing 'tag' alternative for preprocessor, but I think that much worse issue is that expressions of witz (phase 5) mimick javascript and thus allow < > and & characters. I guess it is solved by using CDATA for JavaScript, so the same solution should work for us too, but perhaps it would not hurt to add "and lt gt lte gte" alternative keywords to the language...
Mirek
[Updated on: Sun, 25 December 2011 17:17] Report message to a moderator
|
|
|
|
|
Web framework - Skylark - first taste
By: mirek on Sun, 18 December 2011 20:26
|
|
|
Re: Web framework - Skylark - first taste
By: forlano on Sun, 18 December 2011 20:39
|
|
|
Re: Web framework - Skylark - first taste
By: zsolt on Sun, 18 December 2011 20:47
|
|
|
Re: Web framework - Skylark - first taste
By: mr_ped on Tue, 20 December 2011 14:19
|
|
|
Re: Web framework - Skylark - first taste
By: mirek on Tue, 20 December 2011 15:14
|
|
|
Re: Web framework - Skylark - first taste
|
|
|
Re: Web framework - Skylark - first taste
By: mirek on Tue, 20 December 2011 15:19
|
|
|
Re: Web framework - Skylark - first taste
|
|
|
Re: Web framework - Skylark - first taste
By: mirek on Sat, 24 December 2011 09:52
|
|
|
Re: Web framework - Skylark - first taste
|
|
|
Re: Web framework - Skylark - first taste
By: mirek on Sat, 24 December 2011 12:05
|
|
|
Re: Web framework - Skylark - first taste
By: mirek on Sat, 24 December 2011 12:33
|
|
|
Re: Web framework - Skylark - first taste
|
|
|
Re: Web framework - Skylark - first taste
By: mirek on Sun, 25 December 2011 17:16
|
|
|
Re: Web framework - Skylark - first taste
By: lectus on Fri, 22 June 2012 18:17
|
Goto Forum:
Current Time: Tue May 14 14:08:59 CEST 2024
Total time taken to generate the page: 0.02980 seconds
|