PHP 5 Release Sparks Up PHP-GTK 2.0 44
joeldg writes "Since the release of PHP5 a lot of interest has reverberated down through the whole PHP community. In particular, there's a call for a PHP-GTK 2.0 which will utilize GTK2 and will have an entire rewrite of it from the ground up to make use of new features. Additionally there is an open call to help add to the documentation and to help with the website, post to and join the php-gtk-general mailing list to follow along with the activity.
The forthcoming PHP-GTK version 2.0 will bind GTK+ 2 to PHP 5. Until then, PHP-GTK 1.0.0 works only with PHP 4."
Re:etc (Score:1, Informative)
Re:etc (Score:2)
Is Not! (nyaah, nyaah!)
Re:etc (Score:4, Interesting)
Re:etc (Score:2)
Re:etc (Score:1)
Re:etc (Score:2)
Re:etc (Score:1)
Aestetics? In that case I call BS!
I still want a wxWindows binding (Score:3, Interesting)
That's one of the reasons I bothered to learn python, so I could write once, run anywhere and the code would look native on any given gui
ah well
Yessir! Re:I still want a wxWindows binding (Score:2)
wxWidgets is the bees knees and the only widget set library worth playing with IMHO.
Sam
Re:I still want a wxWindows binding (Score:2)
WxRuby [rubyforge.org] ain't bad, neither.
Other PHP projects... (Score:2)
I still want a Qt binding (Score:2)
PHP is the nicest language I know, aside from Javascript. With both I can just think about the data and it arranges it that way. I don't have to deal with the low level issues.
Qt does the same for windowing.
It'd be a match made in heaven. For those that want Qt+Javascript, look at KJSEmbed. It's a stnadard part of KDE Bindings.
Re:I still want a Qt binding (Score:5, Funny)
That's sad, thats really really really sad. You have NO idea how sad that is, but trust me, it's sad.
Sad so so sad.
Re:I still want a Qt binding (Score:1)
Hey, JavaScript isn't so bad [oreillynet.com].
Re:I still want a Qt binding (Score:4, Insightful)
Well, you have a low UID, so I can't dismiss you right off the bat.
C, C++, Java, JavaScript, Perl, Python, BASIC (and variant) Fortran, Pascal, and ASM. I've red about LISP, but have yet to actually write in it; though I think its right up my alley.
I've been around the block enough to not care about the low-level implementation issues. The older you get the less you care about re-inventing the wheel, and you just want to get things to work and get on to the next thing. That's why Linux is turning me off. I just want to install it and get the damned thing working, so I can get working. No etitinf fstab or my Xfree86 config file. No recompiling the kernel, etc. I come back to it periodically and I have to say It's made great strides, so I'm more interested than ever. Programming is very much like that. The more times you've been around the block, the more times you've been down that road, the faster you just want to get where you're going to get your task done. If I'm writing s/w for the space shuttle, I don't want to have to be insmoding drivers, unless I an writing them myself.
So when I said PHP and JS are nice, it is because they (like most scriping langs) don't bother me with low level implementation issues (unless I want to be bothered by them).
The other great observation I've made in my many years, is that it's not about the code, it's about the data. C is really bad at allocating memory and designing data structures. PHP and JS make that trivially easy.
I am a firmware devloper. I work in C 99% of the time. When I'm writing support software for the C code, I do it in some scripting language because it takes 20 times less to develop and I have no performance constraints. For the stuff I'm doing now, I have my scripts generate C files. I also generare SQL files from PHP structures.
JS and PHP may have thier quirks but such annoyances are [usually] inconsequntial. Dealing with a quirk or too is more time-saving than doing it in a strict, clean language like C.
What this is all getting to is that PHP and JS are great languages to me and my job. Or, IOW, YMMV.
Re:I still want a Qt binding (Score:2)
sure, there have been times I've wanted to do something and couldn't, or couldn't easily--but more often than not, its a function of ignorance, rather than a deficit in the language. and yeah, there a
Yeah yeah yeah (Score:2)
Oh yeah, namespaces would be nice too.
PHP needs to depreciate incompatible modules (Score:3, Insightful)
How about they fork them... (Score:2)
Re:Yeah yeah yeah (Score:2)
Re:Yeah yeah yeah (Score:2)
Apache is now part of a Sun/Java family (Score:2)
The PHP group should just write its own minimal web server designed exclusively to run PHP so that PHP can run "standalone" without Apache.
Damn Right!!! (Score:1)
http://perl.apache.org/
mod_perl gives you a persistent Perl interpreter embedded in your web server. This lets you avoid the overhead of starting an external interpreter and avoids the penalty of Perl start-up time, giving you super-fast dynamic content.
As you'd expect from the Perl community, there are hundreds of modules written for mod_perl, everything from persistent database connections, to templ
Re:Damn Right!!! (Score:2)
Re:Yeah yeah yeah (Score:2)
I figured that since Apache2.0 was an RPM on Fedora Core 1 that it was "stable". Boy, was that a mistake. I very quickly ran into a strange memory problem, where a php value passed via the httpd.conf would get passed randomly to other sites as well.
Caused no end of grief, until I rpm -e the apache binarie
Let me get this straight (Score:2)
What a coincidence!
Did you try the prefork MPM or did you just assume Apache was to blame?
PHP-GTK vs SVG, XUL? (Score:2)
I've long thought web browsers could use better interactive vector graphics, fancier widgets, etc.
Does PHP-GTK provide this only on the server side?
Does any of the functionality overlap with what could be provided using SVG, JavaScript and XForms (or even XUL)?
C# (Score:1)
Re:C# (Score:1)
Wrong tool for the job? (Score:2)
PHP was designed with websites in mind. I've googled and am unable to come up with an answer to a pretty basic question: does PHP5 even have a garbage collector?
Python has mature GTK/GNOME bindings and a much more developer-friendly syntax than PHP. Not to mention, it takes virtually no time to learn the language.
Why not use the right tool for the job?
Re:Wrong tool for the job? (Score:2)
Why not use the right tool for the job?
I did - using PHP-GTK. I have a rather large, distributed, server-based application. The client programs are written in PHP-GTK, and periodically sync up with the server. Everything is in PHP, so getting the clients and servers to communicate was not only easy, they use the exact same functions and API to communica
Re:Wrong tool for the job? (Score:2)
A "Garbage collector" is simply irrelevant to PHP. Memory management is taken care of for you.
That was my question. Memory management is taken care of when PHP is run as a server in a simplistic way: it allocates memory as it needs it, and then deallocates everything when the process is complete. When PHP is run as a memory-resident application, it needs to be able to keep track of which variables are no longer referenced so that it can free up their memory; otherwise it will keep growing and growing in