Replacement for HTMLGen?

  • Thread starter Joshua J. Kugler
  • Start date
J

Joshua J. Kugler

I realize that in today's MVC-everything world, the mere mention of
generating HTML in the script is near heresy, but for now, it's what I ened
to do. :)

That said, can someone recommend a good replacement for HTMLGen? I've found
good words about it (http://www.linuxjournal.com/article/2986), but every
reference to it I find points to a non-existant page
(http://starship.python.net/lib.html is 404,
http://www.python2.net/lib.html is not responding,
http://starship.python.net/crew/friedrich/HTMLgen/html/main.html is 404)
Found http://www.python.org/ftp/python/contrib-09-Dec-1999/Network/, but
that seems a bit old.

I found http://dustman.net/andy/python/HyperText, but it's not listed in
Cheeseshop, and its latest release is over seven years ago. Granted, I
know HTML doesn't change (much) but it's at least nice to know something
you're going to be using is maintained.

Any suggestions or pointers?

j
 
G

Gabriel Genellina

En Thu, 03 May 2007 21:23:42 -0300, Joshua J. Kugler
I found http://dustman.net/andy/python/HyperText, but it's not listed in
Cheeseshop, and its latest release is over seven years ago. Granted, I
know HTML doesn't change (much) but it's at least nice to know something
you're going to be using is maintained.

I use HyperText, and if it's not maintained so much, it's because it does
not have to change.
BTW, it's amazing how much can you get from so many classes with just a
"pass" statement.
 
T

Tim Roberts

Joshua J. Kugler said:
I realize that in today's MVC-everything world, the mere mention of
generating HTML in the script is near heresy, but for now, it's what I ened
to do. :)

That said, can someone recommend a good replacement for HTMLGen?

I used to be a huge fan of HTMLgen. I built a couple of web sites on them,
still in use 7 years later. However, in the time since then, I have come
to believe that templating is a better answer.

Now, the simple truth is that you need to use the scheme that makes sense
to you. For me, templating (Cheetah is my favorite,
www.cheetahtemplate.org) makes more sense than building the page bit by bit
in Python code, and the separation of function and presentation makes
things easier to maintain.

In my opinion, of course. ;)
 
G

Gerrit Muller

> That said, can someone recommend a good replacement for
> HTMLGen?
> Granted, I know HTML doesn't change (much) but it's at least
> nice to know something you're going to be using is maintained.
<...snip...>

Joshua,

I am happily using HTMLgen. I do think that maintenance has not been
required, since HTML didn't change. It is pure Python, so it doesn't
require any recompilation for Python updates.

If you need HTMLgen send me an e-mail and I will send you a zipfile.

kind regards, Gerrit Muller
 
G

Guest

Joshua said:
I realize that in today's MVC-everything world, the mere mention of
generating HTML in the script is near heresy, but for now, it's what I ened
to do. :)

That said, can someone recommend a good replacement for HTMLGen? I've found
good words about it (http://www.linuxjournal.com/article/2986), but every
reference to it I find points to a non-existant page
(http://starship.python.net/lib.html is 404,
http://www.python2.net/lib.html is not responding,
http://starship.python.net/crew/friedrich/HTMLgen/html/main.html is 404)
Found http://www.python.org/ftp/python/contrib-09-Dec-1999/Network/, but
that seems a bit old.

I found http://dustman.net/andy/python/HyperText, but it's not listed in
Cheeseshop, and its latest release is over seven years ago. Granted, I
know HTML doesn't change (much) but it's at least nice to know something
you're going to be using is maintained.

Any suggestions or pointers?

You might try XIST:
http://www.livinglogic.de/Python/xist/

Hope that helps!

Servus,
Walter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top