Re: PHP-GTK2 or Delphi ??
| From: | Benjamin Smith | Date: | Wed, 03 Aug 2005 08:42:24 +0000 |
| Subject: | Re: PHP-GTK2 or Delphi ?? | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6130@lists.php.net to get a copy of this message | ||
On Wednesday 03 August 2005 00:14, Łukasz Wojciechowski wrote:
> > PS: Note to self: If/when I do a rewrite of our flagship product, I'll use
> > SQLite instead of multi-dimensional memory arrays!
> Sqlite - hummm
> I developed lately a program in PHP-GTK which parses and bookes
> customers payments and I used Sqlite as a DB. Main table is "operation"
> which now has over 5000 records - day by day about 100 records are added
> to this table and my program is slowing down constantly :(.
>
> Maybe Sqlite3 is faster but I cant make it work with php-gtk - this is
> caused because php4-sqlite extension supports only Sqlite version 2 - so
> i believe Sqlite3 cant run with php-gtk. If Im wrong - please tell me :)
If you are running a *LARGE* database in sqllite, (remember, the "LITE" part)
you are headed for trouble. SQLLite is a good improvement over a memory
array, but don't suppose it'll replace a "real" DB: EG: Postgres, Oracle,
DB2, (perhaps Mysql), etc.
If you want big-time scalability, use Postgres (free) or Oracle ($$$).
Otherwise, enjoy the fact that you paid nothing for SQLLite, and ignored its
name!
-Ben
PS: Sounds like a rewrite is in order. Be sure that by using PHP-GTK, you
aren't excluding significant parts of your dev staff. Otherwise, go for it! I
did, and I sure don't regret it!
But don't think that PHP-GTK2 is ready for anything but experiments.
--
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978