On Jun 23, 2006, at 8:52 AM, Mikkel Høgh wrote:

> As it is now, changing the quick start page means changing welcome.kid
> and possibly master.kid, which will probably break some of our
> tutorials, since to make the page really spiffy, we're probably going
> to have to use CSS and perhaps other advanced layout techniques. So
> what to do? Rails have a static HTML file with their start page, but
> isn't it rather complicated to have TG return flat HTML files instead
> of template-generated goodness?

welcome.kid is effectively a static file. It has one dynamic element  
and extends master.kid. if you think there are problems putting some  
things in master.kid, just put them in welcome.kid

I think all of the files should be included in the quickstarted  
project so that the user can really start tweaking from whatever is  
on the page.

I do fully intend for TG apps to be skinnable down the line, which  
will give us some other nice options. If you look at the page you get  
with Rails, it's just a  bit prettier and more useful a starting  
point. (Take a look at that new WebFaction screencast and you'll see  
what I mean)

> We could also leave it out of the project files and instead have it as
> a part of the TG files (those in site-packages) and then have the
> default controllers.py expose those files instead
> (@expose(template="turbogears.quickstart")), but that also needs
> explanation. The benefit of this, however, is that we can make the  
> file
> as spiffy as we want to, without confusing the user with lots and lots
> of CSS and strange layout tricks.
>
> At any rate, that's my idea, although I'm a bit uncertain if this it's
> a good one :)

A quickstart user is always free to delete the CSS and remove  
references to it. Once we have skins for apps, it'll be a lot clearer  
how to package the overall look up in a reusable/customizable way.

Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Docs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-docs
-~----------~----~----~----~------~----~------~--~---

Reply via email to