I'd like to get started using Django without installing Apache. I'd
even know how close I can come to a production-ready environment
without using Apache ( preferrably only python + mysql ).
Thanks and keep up the great work. Django looks awsome!
Tw
I'd like to get started using Django without installing Apache. I'deven know how close I can come to a production-ready environmentwithout using Apache ( preferrably only python + mysql ).
I'd like to develop web-based applications that's easy to
install/deploy, ie. create self-contained packages using cx_freeze or
py2exe. That's hard when you depend on apache and mysql/postgresql.
I've created such packages earlier using sqlite, sqlobject, cherrypy
and cheetahtemplates, creating packages using cx_freeze. No
installation, no dependencies, just download, unzip/untar and run.
You might argue that django is aimed at larger projects where
installing apache, postgresql, mod_python and all the other stuff ok,
but the I think easy deployment/installation is vital for quick
adoption/acceptance by users and would like to know how this can be
accomplished using Django.
Thanks in advance,
Thomas
I'm convienced that easy access to applications are essential to
adoption and as soon as I say "first you install apache, then mysql .."
people loose interest and download a similar project available in the
"download-unpack-run"-fashion. That's why I've used sqlite for my
earlier projects because there are no installation, just freeze your
app using cx_freeze or py2exe with the pysqlite-module, copy the
sqlite-dll or sqlite-so into the same folder, zip it up and you're good
to go. I soon discovered that pysqlite had some serious problems in a
threaded environment though so it looks as if I have to start depending
on mysql or postgresql until the threading issues can be resolved in
pysqlite/sqlite. Still, installing a database is one thing, and
installing mysql is quite easy, but apache and mod_python, editing a
bunch of conf-files etc are a totally different thing.
The only serious short-cumming of python is a good GUI editor like
Borland Delphi I ( which I use daily in my dayjob ) or Visual Studio,
capable of making GUI-based apps in a RAD way. I'm aware of
Boa-Constructor, wxPython, wxGlade etc, but they are nowhere near as
easy to use as the other mentioned commercial programs ( allthough Boa
is close, or at least closest ). Therefore I think a lot of people use
Web-server instead for gui-programming. And apps like that, rather
simple often one-user, database-centric apps, must be easy to
install/deploy. The extra bonus of using web as gui is the fact that
you can run it on a internet server and access it remotly as well.
I'm very impressed with what I've seen of Django so far ( it has
everything I need in the standard package, my earlier Cherrypy-based
templates used SQLObject, CheetahTemplate and several other modules to
achieve the same thing ) and will follow the development of Django
closely. My biggest problem is the Apache/mod_python-dependency.
Anyway, if you're stilling reading thanks for your patience.
Regards,
Thomas
Anyway, I am happy to contribute to making this toolset for
simple-to-deploy apps work well. I hope my notes will be a useful
recipe one of these days.