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 #34992 is a reply to message #34984] Sat, 24 December 2011 09:52 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
cbpporter wrote on Fri, 23 December 2011 17:47

Very nice!

Any chance of changing the syntax into something that does not remind of the C preprocessor? Smile

The custom syntax could be easily replaced with something more familiar to EL users.


Well, the template processing actually has more phases, and initial ones really remind C preprocessor, so why not use C preprocessor like syntax? Smile

For documentation purposes:

1. #includes are resolved, producing single file
2. #defines are processed; it goes from the beggining of file to end, last defines for particular id is the one valid
3. #ids are expanded to defined values (by #define)
4. (not yet implemented) - language replacement are performed
5. template is compiled (that is about those elements starting with '$')

Phase 5. reminds php, so we are using '$' there...
 
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: Tue May 14 07:04:50 CEST 2024

Total time taken to generate the page: 0.01909 seconds