Writing apps that scale well?
| From: | Benjamin Smith | Date: | Fri, 01 Sep 2006 07:22:19 +0000 |
| Subject: | Writing apps that scale well? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-7192@lists.php.net to get a copy of this message | ||
I've been using PHP-GTK1 for years now in a commercial environment, with good
success. I have hundreds of people using my PHP-GTK application.
Looking to PHP5/GTK2, I'd like to essentially re-write or heavily refactor our
core application. There are lots of changes between 1 and 2, (it's not a
minor upgrade) so if we were to simply change the libraries, it would simply
bomb.
Can anybody recommend some literature I could study up on how to write
top-quality client-side apps that scale well? I've done well with PHP/Apache,
but the client side is very different. As an understanding of scope, the
PHP-GTK application consists of about 35,000 lines of code written over the
past few years. An average dataset consists of about 2,500 files totalling
around 200 MB of data.
So, our software application is currently handling well in excess of 10x the
amount of data originally intended, and growing fast. In order to keep
things working, we've had to do some very painful switchovers, the last being
to an indexed filesystem to improve performance and reduce errors.
It's a huge pile of functions, organized by naming conventions, with some OOP,
and while it works well, I think we could improve its structure in the next
iteration to minimize development time.
I'm familiar with application frameworks (such as Horde) written in PHP for
Apache, but is there something similar for how to layout / write a php-gtk
application?
-Ben
PS: I'm not using Glade because of it's lack of fine-grained control.
--
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 197