PHP-GTK

Status
Not open for further replies.

pelican

Wise, Aged Ars Veteran
184
I'm sorry, I meant the UI in terms of the things that a spreadsheet or local database software can do to make life easier on someone trying to do data entry and management. The look/feel is certainly customizable in a web interface, however, things like "carrying" fields and in-line totals and subtotals are more of a pain in the ass.

The problem is really that I have a need to provide a really large amount of event-driven stuff to the user. But so far, ya'll are heading me back towards a web interface... hmm.

Thanks. :)
 
python does indeed work nicely with database. I will also mention that qt now includes a very complete gui builder and modules that auto connect, display, and refresh database content. It's really very very spiffy. On the down side, since this sounds like a professional use i believe a Qt dev license is a couple thousand US dollars... not sure about the exact price though. Of cousre python works with all the other widget sets as well.

futang
 

Don

Ars Tribunus Militum
2,673
He could use QT no problem... here is INFO on TrollTechs... non-commerical Windows license version.. you could develop apps in linux and deploy for linux or windows that way..
http://www.trolltech.com/developer/download/qt-win-noncomm.html

But, personally I might consider doing a java based client if I was going to not go web.. just have to do a really good job at keeping separate the presentation client from the business logic.


Swing provides a pretty good native feel GUI, and there are lots of free addons to java that provide extra gui features...


Also there are some other popular cross platform GUI libraries..most of which are "freeer" than qt.


  • WXWINDOWS... FREE for all uses.. very mature...very robust..
    http://www.wxwindows.org



  • FLTK http://www.fltk.org/



  • FOX http://www.fox-toolkit.org/fox.html



  • GLUI http://www.cs.unc.edu/%7Erademach/glui/



  • GTK+ http://www.gtk.org/



  • Microwindows http://microwindows.censoft.com/



  • vgui http://www.objectcentral.com/vgui/vgui.htm



  • WideStudio http://www.asahi-net.or.jp/%7Euj3s-hrby/EE/index.html
 
Hitman, you bring up the good point that there are many other widgit sets and java is a good choice too, but you're dead wrong about the Qt licensing. To quote from your link.

A non-commercial setting means that you must not use the package in the course of your employment or whilst engaged in activities that will be compensated.

Maybe I misunderstood what you were suggesting, but I was never saying he couldnt develop in windows or be cross platform, just that he'd have to pay for a license.

futang
 

pelican

Wise, Aged Ars Veteran
184
I guess this topic is quickly becoming "What's the *best* way to deliver database services to a client?" - for which, of course, there is no one single answer.

Not really what I had intended, but I'm curious, why *wouldn't* I use Java? It's not a particularly difficult programming language from my recent toying with it, however, it does feel like it takes longer to write equivalent apps than in PHP. Also, I've read and noticed that it can be slow on older hardware (we're a not-for-profit == shitty hardware. I used my own computer on the job for months and months.)

Thoughts on this? I started playing with Python tonight, which definately isn't rocket science, but has the "problem" of being very highly pushed beyond its original purpose, using all sorts of extensions etc. in the same way that Perl has. I'm not knocking these languages, simply pointing out that there highly extendable and modular nature can make them confusing to developers, sysadmins, and users (although less so) alike
 
Sorry if we sort of tangented off on your thread.

Java definitely has a lot of advantages. In my opinion the two major downsides are performance and time of development. If your clients are running a MS operating system then performance shouldnt be bad unless they are REALLY old or the app is quite big. Time of development would also almost certainly be longer than for a similar python app. I think the more you look in to python the more you'll discover that it was designed with the intention or writing real, fairly copmlex systems. It has a library the size of perl but because of its design the libraries feel like natural extensions, much like javas libraries, instead of somthing added as an afterthough.

If you want the speed of development of a scripting language go with python. if you want a type safe compiled language, good free IDEs, etc - then go with java. One other plus for java is its widespread professioinal use. If you or your organization hire another developer the pool of java developers dwarfs that for python.

Oh, and if you decide to go with php and gtk I, and I think a lot of other people in this forum, would be really interestesd in how it goes.

futang
 
just chiming in my humble opinion

PHP is a great scripting language, for RAD on web servers, but that's really where it ends

If you've ever tried to write serious OOP in PHP, you'll know that its a real big pain if you're coming from say Java or C++

no operator / method overloading, no private or public variables, multitude of others I forget

imho, if your object is to write client applications, stick with Java or C++ with a cross-platform toolkit

good luck tho
 

pelican

Wise, Aged Ars Veteran
184
Sorry if we sort of tangented off on your thread.

No need for apologies: I was just trying to avoid the (possibly brutal) discussion of "What's the best language" and all the nasting finger pointing and trolling that seems to be the standard around here.

Thanks for the info.

An update: I just joined an open-source PHP-GTK project to "trial" and build those skills before I try anything at work. We'll see how it goes?
 
D

Deleted member 43669

Guest
Although I'm not familiar with PHP-GTK, I guess that PHP is really good for what it was designed, i.e. generating web pages. Most of its features are taylored to that job.

Anyhow, if you are familiar with PHP and don't want to learn the ropes of a new system (Python or similars), I'd say go with it if the app's gonna be better in a GUI than in a browser.
 
Status
Not open for further replies.