[Gambas-devel] gambas wiki db scheme

Benoît Minisini gambas at ...1...
Sat Sep 22 14:28:24 CEST 2012


Le 22/09/2012 03:54, Sebastian Kulesz a écrit :
>
> I already finished moving the header. I will start with the "wiki"
> part as soon as i get the dump, i'm currently doing the admin page and
> implementing the user management functions, along with the comments
> system.
>

The dump is on the way...

> One question though, is there a way to prevent the Render() function
> of a webpage from printing the content-type header?
>   I want to deffer the rendering as much as possible, ideally, until we
> know *exactly* what the user is expecting to view. This way, each
> controller is able to customize the call for each view it needs. I'm
> currently restricted because when executing the header webpage, for
> example, i can't tell the include statement which webpage should be
> included next.

Deferring can be done with the Buffered property. But I don't see why 
Render() should not print the content-type header when it wants. The 
Content-type header won't change, whatever the page contents is.

-- 
Benoît Minisini




More information about the Devel mailing list