Re: bye bye php-gtk :(
| From: | Webmaster Phelios.org | Date: | Sat, 26 May 2007 11:01:46 +0000 |
| Subject: | Re: bye bye php-gtk :( | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-7873@lists.php.net to get a copy of this message | ||
Hello Lukasz
Quote:
"I will repeat. PHP-GTK is good choice in certain situations.
Maybe Im trying to use it in wrong projects.
In my world - PHP-GTK was perfect in my dreams. I could see any type of
app written in PHP-GTK.
After some time i realize that now for me PHP-GTK is useless :( . Main
drawbacks (comparing to WWW-UI app):
- application deploying phase is really pain,
- security of code,
- lack of third party libs/components/frameworks,
- lack of stable version."
"
Let me suggest some guidelines, by keeping in mind that i'm not in any way making any critics about your way of developing, and I am pretty sure that you already know this as much as anyone who loves to develop, like me:
-"Maybe Im trying to use it in wrong projects. "
Take time to make some project analyis. One of my greatest failures is to miss evaluate a project and types of technology I want to implement. Like choosing the right CMS for my clients. I don't know if they like it or not, so I develop all my CMS in a customizable way for their website.
- "In my world - PHP-GTK was perfect in my dreams. I could see any type of
app written in PHP-GTK. "
- PHP in general is a very flexible programming languange. I have seen web servers created in php, http clients in php, ftp servers in php. This is mainly due to team work or pure genius. I myself can conceive any type of app written in PHP-GTK, but it all depends on your needs. If you want a deployable app for your customer's desktop to download some data or do some extensive work on the computer.
Comparing drawbacks with WWW-ui versus PHP-GTK from my point of view:
- application deploying phase is really pain,
You should know that there are scriptable tools for deployment, like Inno Setup or NSIS from Nullsoft, so I don't think there's much to it.
For WWW apps ( packages like wiki systems, forums, etc ) you have to install, configure, test the installation and go it all over again if you missed some point or some bad information you have placed.
- security of code
That is also true but works for both parties. There are the obsfuscation tecnhiques outhere and pretty good enconders adding that are also byte-code compilers for you to use on PHP-GTK. The problem i see, is that protecting a PHP-GTK app one should take special attention to scripts and classes outside the main script. I really don't understand very much about how we can compile a full PHP-GTL app onto one exe, but at this time i can't afford to spend time on that subject. :p
On the other hand WWW app's are not allowed to do some task's like reading files, making use of your system applications, making it unsuitable for desktop development.
This is now being changed by Adobe's Apollo framework.
- lack of third party libs/components/frameworks,
What do you mean?
By third party libs/components I understand there is lack of classes to do the job. You should go to phpclasses.org and do some browsing in there. The classes presented there should work with PHP-GTK, but not without some tweaking in order to adapt them to PHP-GTK. I don't know very much about frameworks for PHP-GTK, but i'm sure google has the answers :p
- lack of stable version
Bear in mind that web technologies are older than PHP itself. And PHP-GTK is a very recent technology compared to browser technology. The community devoted to PHP-GTK2 is making a amazing job by sending out test cases, scripts and even apps so that we could have a tool which is capable of competing with a full fledged development tool like Delphi and Visual Basic, without leaving the philosophy of the GTK engine.
From my point of view and being mainly a web developer which's uses PHP extensively, I already accomplished in making a modular app with PHP-GTK and I was very pleased with the result.
Don't forget that even Micro$oft commits sins regarding stable versions. The portuguese version of Windows Me sucked so much I had to pray the day will come that all operating systems from Microsoft were as stable as a solid rock moutain. That's why I consider, no software is ever perfect, because developer's that are perfeccionist's and passionable about their work never say that their software are complete. I think why we setup goals in order to control ourselves from perfection, but keeping that little voice inside us which tells us, "You should do this and that". :p
I know PHP-GTK development does not produce the same speed results has a web app does. I know. I have already tried it, but I keep it installed here because I know it's there when some client want's a uber allmighty app he or she want's to spend good money and time with it. Like you said, PHP-GTK is perfect for some situations.
Regards
Pedro