469,645 Members | 1,595 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

Re: Any tips on Python web development on Mac OS

Tim Greening-Jackson a écrit :
(snip)
I'd like to create a couple of websites on my Mac at home. I have a very
basic understanding of HTML, but am lazy and would prefer to do the work
either in Python itself or have some package I can use in conjunction
with Python.
You're not going to get anywhere without learning (x)html and css IMHO.
Even using a "graphical" html editor like Dreamweaver requires having a
good enough (IOW : being able to do it all by hand) knowledge of these
languages.

(snip)
I've had a very quick look at the Django and Turbogears websites. Is it
worth learning one of these for a small, simple site?
Depends on what your "site" is doing.
Will they actually
help me set up the structure of the site,
Nope, or not much.
or are they more geared to its
content.
Content, definitively.
>
I'm also trying to find/download HTMLgen. If I try to install the
version from macports it tries to downgrade my installation of Python to
one of the previous versions. Is it worth using and where can I find a
copy that I should be able to build/install cleanly on a Mac.
There are quite a couple other (and more recent) "html generator"
packages. You may want to have a look at brevé:
http://breve.twisty-industries.com/

Aug 5 '08 #1
1 921
Bruno Desthuilliers wrote:
Tim Greening-Jackson a écrit :
(snip)
You're not going to get anywhere without learning (x)html and css IMHO.
Even using a "graphical" html editor like Dreamweaver requires having a
good enough (IOW : being able to do it all by hand) knowledge of these
languages.
Well, to be honest I do know rudimentary HTML and have been playing with
CSS by hand --- the only HTML editor I have is a public domain one
called Taco. I can put together the basic template for the website, and
use CSS to keep tuning the look and feel until it was right.

I have Apache/MySQL already running on my Mac, a fairly fast broadband
connection with a static IP address and a vanity domain to point at the
server. So I could serve it all from home.
Depends on what your "site" is doing.
There are all *sorts* of things I would like it to do, but am not
dogmatic about any of them. For example, having various people being
able to login to it securely to shuttle files between ourselves would be
useful. As would webmail access. And various "robot" functionality...

The exercise is more to see what Python can do to help me develop
websites and get used to some sort of proper development framework,
rather than Apple iWeb which is superficially attractive but
fundamentally crippled and produces unreadable HTML.
There are quite a couple other (and more recent) "html generator"
packages. You may want to have a look at brevé:
http://breve.twisty-industries.com/
Thanks. I'll take a look.
Aug 5 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.