template index generation

17 views
Skip to first unread message

Dave Warnock

unread,
Oct 6, 2005, 6:21:09 AM10/6/05
to turbo...@googlegroups.com
Hi,

I am finding it useful to create an index.html file with links to all
the kid templates for a particular TurboGears project. It saves using
Ctrl-O and hunting around directories in Firefox.

Do people think this would be a good thing for turbogears-admin to
create automatically?

Dave

bon...@gmail.com

unread,
Oct 6, 2005, 6:42:35 AM10/6/05
to TurboGears
I would say no. Sounds to be very application specific(well, may be
certain type of application). If it is being put into Turbogears, there
are many types of thing that would need to go into too. Otherwise, it
will slowly turn Turbogears towards certain kind of application.

I am not looking for another Zope or even RoR. The thing I like about
Turbogears(thus Cherrypy) is that it can be used in a very straight
forward way to develop any kind of application.

But what you mentioned is definitely useful, may be a "recipe"
directory which we can put seperate skeletons their ? Just like the
wiki20, which to me is for wiki.

Kevin Dangoor

unread,
Oct 6, 2005, 9:16:36 AM10/6/05
to turbo...@googlegroups.com
Hey, that's cool! You're actually viewing the templates in the
browser. I was wondering if I was the only person that does that :)

What you're describing seems like an easy thing to do, and since it's
just in tg-admin, its use is purely optional for folks who don't want
it. Sounds good to me...

Let me make sure I've got what you're thinking of:

tg-admin kidview
...scans the project directories for .kid and .html files
...puts them all into a new index.html that lives in the toplevel directory?
...could open a browser, too, if that's handy

Sounds pretty easy and handy. Feel free to submit a ticket:
http://trac.turbogears.org/turbogears/newticket

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: k...@blazingthings.com
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Dave Warnock

unread,
Oct 6, 2005, 9:35:17 AM10/6/05
to turbo...@googlegroups.com
Kevin,

> Hey, that's cool! You're actually viewing the templates in the
> browser. I was wondering if I was the only person that does that :)

Seems a good idea to me. Otherwise the placeholder text is just an
irritation ;-)

> What you're describing seems like an easy thing to do, and since it's
> just in tg-admin, its use is purely optional for folks who don't want
> it. Sounds good to me...
>
> Let me make sure I've got what you're thinking of:
>
> tg-admin kidview
> ...scans the project directories for .kid and .html files
> ...puts them all into a new index.html that lives in the toplevel directory?
> ...could open a browser, too, if that's handy

Excatly correct. Opening the browser should be optional.

Any deployment process should not deploy index.html maybe it should be
called developers-index.html to make that clearer.

> Sounds pretty easy and handy. Feel free to submit a ticket:
> http://trac.turbogears.org/turbogears/newticket

Will do.

Dave

Dave Warnock

unread,
Oct 6, 2005, 11:08:38 AM10/6/05
to turbo...@googlegroups.com
Kevin,

> Sounds pretty easy and handy. Feel free to submit a ticket:
> http://trac.turbogears.org/turbogears/newticket

http://trac.turbogears.org/turbogears/ticket/15

Dave

Kevin Dangoor

unread,
Oct 6, 2005, 11:12:09 AM10/6/05
to turbo...@googlegroups.com
On 10/6/05, Dave Warnock <dw-it...@warnock.me.uk> wrote:
Thanks, Dave!
Reply all
Reply to author
Forward
0 new messages