So, it's creating a list of tuples composed of a list of lists of
dictionaries and a list of integers.  God, I'm getting to love python.
There are just so many things that you just can't say 3 times fast. :-)

Anyway, with that problem taken care of I am nearing completion of a
project that I have been working on.

It's a small time accounting program that we use in our office to
account for the time that we spend on various projects for various
customers, and whether the hours are billable, not billable, covered by
a contract, etc.

I've written this app 4 times now over the past couple of years.  The
first time in PHP/MySql, with a switch to PostgreSQL following shortly.
 Then I rewrote in python/mod_python/PostgreSQL.  Then again in
TurboGrears 0.8/SQLite.  And now a complete rewrite in Turbogears
0.9a1/SQLite.

Here are the statistics:

PHP/MyQL/PostgreSQL: 2500 LOC
Python/mod_python/PostgreSQL: 1700 LOC
TurboGears 0.8/SQLite: 1500
TurboGears 0.9a1/SQLite: 800-900 LOC

I should say that each successive rewrite has had more functionality
than the previous one.

I've looked back over the code for each of the versions, and I must
say, the 0.9a1 version is by far the most maintainable.  (To be honest,
the PHP version, the one currently running live, scares me. ;-)  )


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to