[Gambas-devel] gambas wiki db scheme
Benoît Minisini
gambas at ...1...
Tue Sep 18 23:51:24 CEST 2012
Le 18/09/2012 23:34, Sebastian Kulesz a écrit :
>
> Actually, the parsing could be done inside a module, input text with
> markup > output html. So, if we start building the website now, this
> module would just plug in really easily, so it's not a hard
> requirement for now.
>
The current markup routine can be used. It is just that the '@' special
commands are not implemented. But this can be done later.
>>
>> I'd like the new wiki to be entirely based on one Gambas CGI script
>> using the gb.web component and ASP-like pages. That way it will be a
>> good demo for how to use that component.
>
> I like the idea, but i think that the ASP rendering engine would need
> a few changes. First, it should be possible to get the result without
> it being printed.
What for? What do you mean?
> Second, i don't know if this currently exists, but
> there should be a syntax declaration to include the content of another
> webpage inside the current one. Maybe <% Include "Webpage2" %>
The syntax exists, but it is not wonderful:
<%:WebPage2%>
But it can take arguments: <%:WebPage2 foo="bar" zip="zap"%>
And these arguments can be used inside WebPage2 with <%!foo%> and <%!zip%>
Not wonderful syntaxes! :-/
Maybe I could change them into something like that:
<<WebPage2> foo="bar" zip="zap">
<%=[foo]%>
More readable? More logical?
--
Benoît Minisini
More information about the Devel
mailing list