Slashdot Mirror


Announcing PHP-GTK

whyDNA? sends us this news bit: "I found this on the PHP page: The first release of PHP-GTK is now available. PHP-GTK is a PHP extension that provides an object-oriented interface to GTK+ toolkit and enables you to write client-side cross-platform GUI applications. For more information, visit gtk.php.net."

141 comments

  1. Re:What's wrong with Java? by Anonymous Coward · · Score: 2

    I agree with your first comment. Outside of browser applets, my view on Java is: "what's the point?". Especially for server-side stuff...

    But, PHP is interpreted, too. There's nothing necessarily wrong with interpreted languages, particularly for DB-based apps where the SQL engine and queries are the bottleneck. For small apps or for rapid development, interps allow for fast code-then-run loops. May not be an adequate method for kernel coding, but for gotta-be-done-yesterday business apps it makes a difference. Also, I believe both PHP and Java have caching products that will speed them up once development is over and you need more performance.

    Of course, I believe the original poster misunderstood the point of the story... PHP-GTK is not intended to run in a web browser. This is intended for local apps using the php command-line interpreter to quickly create GUI apps, similar to Perl-Gtk, Python-Gtk, etc...

  2. Re:Most of the posts here seem to have misundersto by MrBrklyn · · Score: 1

    PHP is barely capable of web scripting. Just because you can mount GTK on it, doesn't make it Perl, or Python.

    As a programming language, it sucks just a little bit less than quick basic.

    Man - what those dumbo PHP programers can do if they ever learned to program...

    Ruben

    --
    http://www.mrbrklyn.com/amsterdam.html http://www.brooklyn-living.com
  3. Re:license wars by Delphis · · Score: 1

    My personal solution is to go ahead and use PHP, but not bother with the separate Zend Optimizer download.

    Then you're missing out on the rather good speed increases you'll get from your code.

    I guess it's everybody's choice .. seems rather like cutting your nose off to spite your face though.

    People are so hung up on the 'free software' bandwagon they don't stop to think and realize that all this stuff is freely downloadable and usable anyway.

    --

    --
    Delphis
  4. Re:Only Americans are stupid enough to use PHP. by Synn · · Score: 1

    Could that be because PHP is really just a 'toy' language.

    With php I've developed two full-bore web application that were each 20-30k lines of code with about another 10-20k lines of support code. Php scaled extremely well for those apps and I've since passed the first 30k project off to another coder(who learned the language in a couple weeks). My apps are also the fastest things on the market, linux + php + mysql + apache just screams.

    But then I also use perl, about 5k-10k worth of system level support code. I use perl's reg expressions to crunch data into my databases, to automate maintenance and push/pull information and files across multiple servers.

    You can either sit around bemoaning how your language is the "best" language and code just in that, or you can use multiple languages, code to their strengths and go home from work early each day.

  5. Re:Stay focused, PHP... by MrBrklyn · · Score: 1

    If you can say this then you don't know Perl...
    let alone Obect Oriented programmer.

    Tell me great guru of Bullshit.... how do you do multiple inheritance with PHP - let alone simple references.

    Ruben

    --
    http://www.mrbrklyn.com/amsterdam.html http://www.brooklyn-living.com
  6. Re:Only Americans are stupid enough to use PHP. by MrBrklyn · · Score: 1

    Right

    Which is why you should never use PHP. It scales like crap, is fundementally flawed in it's data typing, lacks serious modularity or OO-design.

    You waste more time debugging it than anything else, and it's error messaging system is useless.

    Use PHP - and spend weeks fixing what would take moments in Perl..

    --
    http://www.mrbrklyn.com/amsterdam.html http://www.brooklyn-living.com
  7. Re:Stay focused, PHP... by Angst+Badger · · Score: 3
    One of the greatest things about PHP is that it is easy for people with little/no programming skills to pick up and create web applications. To push it to a full fledged language defeats the purpose, in my opinion.

    It's called "room for growth". It's not a bad thing. Otherwise, all those people who learned PHP will discover that they wasted their time when they run into the limits of the language.

    We try to push everything (languages, OS's, apps) to try to be everything to everyone. PHP is great for what it is. If you want to create a GUI, use something that was built for it the ground up for it.

    Oh, piff! With the exception of Visual Basic and kindred proprietary RAD languages, there are no significant languages out there that were "designed from the ground up" for GUIs. (Java is arguable, but still...) I'm not even sure what it would mean for a language to be designed for GUIs, or how it would differ from any existing procedural or OO language. Make window a reserved word? Whatever.

    The fact of the matter is that most GUI API's are grotesquely complex and present a steep learning curve for a beginner or someone who just wants to write a simple graphical frontend for a tool. Tcl/Tk has heretofore been the only exception worthy of note, but Tcl has its own host of problems including limited compatibility between versions and its DOS-batch-language-gone-wild syntax. Python is probably a better language (than PHP or Tcl), but PHP has the advantage of presenting a gentler learning curve for anyone who already knows C, minus all of the implicit syntax that makes Perl so difficult for newbies.

    If you want to create an interactive database driven website (and you don't know perl) use PHP.

    PHP is a lot easier to use than mod_perl or Mason for lightweight tasks. I use all of the above, and only use Perl when the situation is sufficiently complex to call for it. It's also a helluva lot easier to configure.

    I hope this doesn't ever work itself into the main distribution of PHP... More bloat.

    Consider learning to edit your makefiles if it ever does. A Gtk extension to PHP would only be appropriate to the standalone build, not the Apache module.

    --

    --
    Proud member of the Weirdo-American community.
  8. 'enables' by conio · · Score: 1

    Don't forget 'enables' -- yet another buzzword.

    --

    --
    Sam
  9. �Better Java environment than MS's by yerricde · · Score: 1

    Now, I'm not supporting Microsoft on it, but I haven't seen a better implementation of Java support yet.

    Not even Sun's J2SE? What about IBM's extremely fast recompiler? I guess you haven't seen them because you aren't looking.

    "Like any trademark, Java is an adjective."
    All your hallucinogen are belong to us.
    --
    Will I retire or break 10K?
  10. Re:read the page by mholve · · Score: 1

    I'm not talking about how it affects server operation. I'm wondering why you would want to use PHP with the GTK+ extensions to write a GUI app. Much like Perl/Tk, it's proabably great for a quick input dialog box, but certainly not applications.

  11. Cross-platform and other whines by moi by Niscenus · · Score: 1

    GTK has been written for Win32 systems, but, ironically, not for the older Macintosh systems. Since MacOS X is BSD, which, believe it or not, is Linux, GTK should work with few problems as is on the new MacOS X.
    Furthermore, there are Windows libraries, mostly dynamic link, that will allow on-system support for the 9x series, and NT supports it from 2k^.
    I mention that as I'll remind you, when you programme using GTK, or should that be if, the language formats available are for cross-platform. As there is primary C++ for ICE systems, or as you call them, *nix, there is Qt for Windows and Mac.
    Now, personally, I like Java, but have you noticed how long it takes for Star Office or Netscape to load? And these are already in binary format. PHP, as it stands, takes slightly less time to do more complex things, and it's in run-interpretation non-compiled form. Now that it can be turned into machine code, I'm sure the limits on its power will disappear like the validity of your argument.
    Now that that's out of the way, who's up for volleyball!?

    --
    "Yeah...it was the numbers that were irrational, not the murderous cult of vegetarians...." -- Hippasus of Metapontum
  12. Re:Before you troll... by Pinball+Wizard · · Score: 1
    I instinctively block all Baldwin appearances

    Did he ever live up to his statement("I'll leave the U.S. if GWB becomes President"). Man, someone should have made him eat his words. ;)

    --

    No, Thursday's out. How about never - is never good for you?

  13. �Fixing the icon with free software by yerricde · · Score: 1

    It'd be possible to fix the icon with a GTK+-based (but not PHP) paint program called GIMP. It even runs on Windows.
    All your hallucinogen are belong to us.

    --
    Will I retire or break 10K?
  14. HTML used to own PHP. by yerricde · · Score: 2

    What language used to own it?

    In a sense, HTML used to "own" PHP just as it effectively owns EcmaScript. Go to OSDN SourceForge and follow any of the Show Source links at the bottom of the pages.


    All your hallucinogen are belong to us.
    --
    Will I retire or break 10K?
    1. Re:HTML used to own PHP. by jfunk · · Score: 2

      Perl is most often used in web sites, so I guess HTML owns Perl.

      I've made CGIs in C before. I guess HTML owns C.

      My point was that PHP is a C like scripting language that has no dependence on a web server whatsoever. The perception that it's like JavaScript or that it's not a "real" language is ridiculous. I've written non-web scripts in PHP before. This is no different than GTKPerl or PyGTK or the original C-based GTK.

      Well, it is different from GTKPerl in that the language is better suited for large graphical applications, especially to a C developer. I'm not trashing Perl here, it's just the way the languages were designed.

    2. Re:HTML used to own PHP. by jmp100 · · Score: 1
      He's talking about the misuse of an apostrophe. The author said "it's" when s/he/it should have said "its".

      Although as a jest it falls flat because the contraction "it's" doesn't mean property-of-it, it means it-is. :)

  15. Re:Cross platform, eh? by Chandon+Seldon · · Score: 1

    It's a relitively well/cleanly designed modern GUI toolkit that is licenced under the LGPL, and supported by a zillion programming languages. There's nothing terribly wonderful about it, but it's the most-free GUI toolkit if you want your app to look/feel reasonably modern.

    All of the other GUI toolkits avalible eithor A.) Are less free, B.) Are less modern, C.) Are less powerful, or D.) Are supported by less languages.

    --
    -- The act of censorship is always worse than whatever is being censored. Always.
  16. Taco, change that PHP icon.. by Anonymous Coward · · Score: 1

    That has got to be the yoogliest /. icon in the whole bunch!

    1. Re:Taco, change that PHP icon.. by fons · · Score: 2

      Use this one. It's the same as the one you're useing but anti-aliased especially for you.

  17. What next? :-) by Anonymous Coward · · Score: 1

    I really didn't see that coming. PHP is really cool and, due to the existence of a binary executable, can be used for shell scripting. But a GTK-Binding for PHP is indeed a very nice idea. (Moderate down any troll that says it's bad; if they don't like it, they just shouldn't use it).

    I'm thinking that in a short while we'll see bash bindings to GTK or something. :-)

  18. Most of the posts here seem to have misunderstood! by Jules+Bean · · Score: 5

    I'm pretty sure you're getting this totally wrong.

    This is nothing to do with using PHP in web pages at all. In fact, it's nothing to do with web pages.

    This about using PHP as a script interpreter, just like you use perl or python as a script interpreter.

    So this certainly won't allow you to embed GTK applications in web pages: that would be neat, but would require a browser-plugin at the client end, and require the PHP code to be send to the client end. So the client would need the PHP interpreter.

    It won't allow you to embed gtkhtml in IE, either ;-)

    Jules

    --
    -- Any sufficiently advanced technology is indistinguishable from a perl script.
  19. Re:Just what we need... by Pfhreakaz0id · · Score: 2

    well, disclaimer IANALP (I am not a Linux programmer). I'll tell you one use for it. Most of our C++ coders in our Microsoft shop use VB for playing around with a new library/version/whatever. They prototype functions in VB then bounce them to C++ later. Or maybe they decide that, performance isn't a key issue in this COM object (like it's dependent on database access or other disk access for speed) and can just as easily stay in VB without a performance penalty and hand off the object (usually with an interface defined) to one of the VB programmers like me :) Just thought I'd give you the view from the other side :)
    ---

  20. Re:Man... what -can't- you do by Anonymous Coward · · Score: 1

    Well, you can write little apps and distribute them with 3 CDs - one for apache, one for php and one for mysql. Once all that is installed and mastered, you can "Click here!" to display the sqare root of 2, or something.

  21. Re:license wars by Dr.Dubious+DDQ · · Score: 2
    I guess it's everybody's choice .. seems rather like cutting your nose off to spite your face though.

    (Don't tell anybody, but to be honest, it's been more a matter of feeling too lazy to download it and mess with it than a licensing issue. Quite frankly, I don't have a huge problem with the QPL, as much as I'd prefer to see it GPL'd. I just haven't felt that my code was running too slow at the moment...)

    Wait a minute...did I just say "don't tell anybody" in the middle of a public slashdot post? Must be getting late. Can I go home yet? :-)


    ---
    "They have strategic air commands, nuclear submarines, and John Wayne. We have this"
  22. Re:Mozilla within IE by Ephol · · Score: 1

    Someone else mentioned it already, but there already exists an ActiveX control which allows you to embed Mozilla within IE (or anything with ActiveX support). Go here: http://www.iol.ie/~locka/mozilla/mozilla.htm. I can't find anything about it, but if Mozilla can use ActiveX/COM/whatever controls with the <object> tag, you could go the other way and embed IE within Mozilla. ;)

  23. I'm the troll! by Niscenus · · Score: 1

    Cliff has marked me as troll, and by gum-golly if someone thinks they can just have that title on a silver platter.

    --
    "Yeah...it was the numbers that were irrational, not the murderous cult of vegetarians...." -- Hippasus of Metapontum
  24. Re:Hardly any details by Chandon+Seldon · · Score: 1

    How's that?

    A variable has:

    A.) A known trustable value because you assigned to it yourself.

    B.) A known trustable value because PHP automagically asigns something reliable to it.

    or

    C.) A known untrustworthy value, because it it could have been modified by the user.

    I miss how this is any more problematic than say CGI.pm in perl.

    --
    -- The act of censorship is always worse than whatever is being censored. Always.
  25. I like it by Niscenus · · Score: 1

    And Rob didn't select it.
    And, personally, I don't care much for the nut. The PHP icon is important. It means...well, it's just nifty, and I stole for use on another site, so :P

    --
    "Yeah...it was the numbers that were irrational, not the murderous cult of vegetarians...." -- Hippasus of Metapontum
  26. You're the previous AnonCow, aren't you? by Niscenus · · Score: 2

    If so, I already yelled at you. If not, well...FOOEY ON YOU!

    Hey, here's a thought, why not run a "Make the Best Widgets for Slashdot" Campaign?
    Winner enters the circle of advanced moderators, and gets Rob's autograph on any shirt from Think Geek.

    --
    "Yeah...it was the numbers that were irrational, not the murderous cult of vegetarians...." -- Hippasus of Metapontum
  27. Re:No it's not! by symbolic · · Score: 1

    I totally agree. I've used c++, and while I like both of them, PHP kicks butt when it comes to web-based projects - mainly because you don't have to deal with all of the overhead associated with a strongly-typed language. There's no reason the same level of abstraction that makes PHP easy to work with cannot be applied to other uses. I just hope the speed is there.

  28. Okay. by mindstrm · · Score: 2

    So as I understand it then, you are free to choose either license?

    That makes sense.. I thought the previous poster was implying that both licenses had to be satisfied.. which is counter to GPL.

    Then again, as the compelte copyright holder, they can release it under whatever bizarre licenses they want, it just might mean nobody's technically allowed to use it.

    1. Re:Okay. by JabberWokky · · Score: 2
      So as I understand it then, you are free to choose either license?

      Precisely. The GPL prevents people from using Qt in projects that have NDA/propritary tech issues. That's a fact, even if you think that propritary tech is a Bad Thing.

      A good example is the Realaudio player, which uses Qt under the QPL. Real, for whatever reason, does not want to release source, so they have to pay and purchase Qt under the QPL. If they want to play by commercial rules, they have to pay by commercial rules.

      noatun, on the other hand, is GPL. As such, they use the exact same code[1] as Real, but they get it for free and their code must be Free (distributed under GPL). If they want to play by Free Software rules, they have to play by Free Software rules. :) (Well, they don't have to PAY).

      [1] Just to clarify, TrollTech does have other products, some of which run on top of Qt, which they sell as Qt Professional or Qt Enterprise. For instance, Enterprise has a portable networking module. In many cases, the features (like the networking module) are available in the equivelent KDE libraries (like kio) under the GPL. Not the /same/ code, just providing the same functionality.

      --
      Evan

      --
      "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
  29. Branching out by AppyPappy · · Score: 3

    Looks like PHP is looking to become a "real" language. Good to see. Our library folks wrote a time-card entry system using swipe cards with PHP and didn't know squat about the language when the wrote it. It's a great language for beginners and experts alike

    --

    If you aren't part of the solution, there is good money to be made prolonging the problem

    1. Re:Branching out by seann · · Score: 1

      I made a object class in PHP for console interaction on UNIX type systems, it could get /dev/stdin stdout, parse it and you could have input and output! I was working on having it recoize the mouse, but I lost interest. it was a fun project, some of it is still on www.phpbuilder.net

      --
      I'm a big retard who forgot to log out of Slashdot on Mike's computer! LOOK AT ME.
    2. Re:Branching out by Betcour · · Score: 1

      What's wrong with PHP ? It is not the best designed language around but I've seen worse (like C++ ;)

    3. Re:Branching out by irony+nazi · · Score: 2
      It looks like GTK is becoming a "real" widget set. Good to see. Out GUI folks wrote a time-card entry system using drop-down menus with GTK and didn't know squat about the widgets that they used. It's a great library for beginners and experts alike.

      I only wished that we had a way to use PHP with these GTK widgets... oh... nevermind.

      --

      Bringing irony to the Slash-masses
  30. Re:GTK ? by Chandon+Seldon · · Score: 1

    GTK is a GUI toolkit for The X Window System (also ported to Win32 I believe). The homepage is gtk.org

    --
    -- The act of censorship is always worse than whatever is being censored. Always.
  31. Enoch Root I presume? by Niscenus · · Score: 1

    We get the point, you don't need to keep posting.

    .oO(Fluff for brains, I swear)

    --
    "Yeah...it was the numbers that were irrational, not the murderous cult of vegetarians...." -- Hippasus of Metapontum
  32. PHP for organisers by FLaMeBoY · · Score: 1

    Hmm this sounds pretty cool but how about this for an idea: most organisers (palm, psion, wince etc al) all run pretty lightweight programs (text editors, small database and organiser functions). Now it might just be me but php apps can do most all of these pretty well, and with a few addons (something like cron, and an alarm addon) could do most everything. PHP is pretty small, uses little processor speed and is pretty damn easy to pick up. The 'net browser can be used as an interface (what organiser doesn't have a browser nowdays? apart from the rex). I dunno but it seems like a good idea to me.

  33. what about Basic-GTK? :) by n00qx · · Score: 1

    ...or COBOL-GTK? Or .bat-GTK?

    1. Re:what about Basic-GTK? :) by Dr.Dubious+DDQ · · Score: 2
      Or .bat-GTK?

      Hey, cool! What better language to write a GUI version of EDLIN in that we've all been wanting for so long? :-)


      ---
      "They have strategic air commands, nuclear submarines, and John Wayne. We have this"
  34. Re:Not really object oriented is it ? by cyber-vandal · · Score: 2

    What? Qt is the Trolltech widget set and is available under the GPL for non-commercial development. And what has OO got to do with the quality of the language? Somebody mod this down as -2 (Dumbass)

  35. Re:Mozilla within IE by Drone-X · · Score: 1

    I'm not sure if gtkhtml was written from scratch or based on the KDE alternative but I'm pretty sure it isn't based on Gecko (the Mozilla engine). It's more meant as a lightweight alternative I believe.

  36. Re:Man... what -can't- you do by larien · · Score: 2
    My personal preference is for PostgreSQL, but that's more because it's what I used first (no, I don't want a flamewar between mysql/PostgreSQL/whatever; it's been done to death already).

    However, there's still a lot you can do very easily with PHP and a DB backend, whether it's Oracle, PostgreSQL or MySQL. We've got stuff like a web-based coursework submissions system I hacked together using PHP and Postgres. PHP is a damn good language and very easy to learn if you've had any exposure to perl; a lot of the syntax and usage is similar, even easier under PHP.
    --

  37. PHPs cool and free PHP IDE by bleeeeck · · Score: 1
    Great post Ananova.

    I just started using PHP in January. It was easy to learn and does lots of stuff. I used a small PHP script to change a 50,000 row database from fixed width columns to tab deliminated (so I could import it into mySQL (I couldn't find a way to import it straight into mySQL), then used PHP to output the data from the database to the web pages.

    I found a free PHP IDE at PHPEd. It only runs on Windows, has syntax highlighting, and lets you run and debug the programs you're writing right in the editor. I like it pretty much.

  38. Re:What about us Europeans? by Wibbler · · Score: 1

    Not meaning to sound to condescending (yeah right), if you're going to put my team down please spell it correctly. It's LEEDS!!!! Sorry if the words used in this post contain too many syllables for you.

    Now back to the topic.

    P.S. The goal should have been allowed.

  39. Re:Most of the posts here seem to have misundersto by mansemat · · Score: 1

    Wow, is this a troll or an idiot (or both), we'll give him the benefit of the doubt and just call him an idiot. Are you one of those people that praise Gnome and curse KDE (or vice versa). They are both good a different things.

    Since PHP is much more common than mod_perl, it's easy for people to write embedded pages, rather than use a slow perl CGI.

    Nobody said this was the Perl killer, or even said that it was better than Perl/TK.

    --
    --
  40. Funny, I know more European PHP users than US... by Cardinal · · Score: 2

    Only Americans are stupid enough to use PHP, eh? That's funny, I know more European PHP users than American ones. Not to mention how many members of the PHP Group are European.

    And then of course, there's the proliferation of PHP sites in Europe.

  41. Re:This is just wrong though... by assbear · · Score: 1

    whats wrong with PHP going general use if you could use it for other stuff then use it for other stuff
    i cant see what wrong that could do
    ....im maybe wrong but i dont think the internet was intended to gameplaying.................

  42. Win32 Installer by augustz · · Score: 1

    Available at phpgtk.com

  43. Why this is a good thing. by Rippman · · Score: 1

    I'm a 17 year old student. I used to be fairly afraid of programming. But PHP is simple enough for a programmer to get good at. Once I learned PHP well enough, and became comfortable with it, I viewed programming in a new light. And with this GTK extension, there is little you can't do with PHP. I like it.

    1. Re:Why this is a good thing. by SamBeckett · · Score: 1

      Retard.

  44. Re:Mozilla within IE by ksheff · · Score: 1

    Didn't someone create a DCOM/ActiveX/whatever Gecko component? If so, couldn't a person have IE use that for displaying HTML instead of it's original component?

    --
    the good ground has been paved over by suicidal maniacs
  45. Re:Stay focused, PHP... by Andrey · · Score: 2

    It will not make it into the main PHP distribution. That's why I set it up as a separate CVS module and with a separate webpage and release schedule.

    --
    -Andrei
  46. Re:Only Americans are stupid enough to use PHP. by jdaily · · Score: 1

    Strongly-typed Pearl for your edification.

  47. Germans too! by maybelline · · Score: 1

    PHP Coder is an PHP IDE written for Microsoft platforms by a German High School student. Of course, he does state that he spent a year in the United States ...

  48. Re:Just what we need... by seann · · Score: 1

    vb2c check it out, it's kinda nifty *search your local www.freshmeat.net repository*

    --
    I'm a big retard who forgot to log out of Slashdot on Mike's computer! LOOK AT ME.
  49. As an aside... by Enoch+Root · · Score: 1

    ...the PHP Slashdot logo is damn ugly, and looks like a brand tag you'd find on clothes made by 6 year-old Malaysians.

  50. Re:Only Americans are stupid enough to use PHP. by green+pizza · · Score: 2

    Perhaps if you don't consider the performance hit. From all of the figures I've seen, PHP is much faster than perl. Especially on websites. Mod_Perl does speed things up by a HUGE margin, but unfortunatly my company does not allow webservers other than Netscape/iPlanet Enterprise... so we must run our perl script CGIs the old fashioned slow way. If you know of any way around this, it would be of help! We do like perl!

  51. Re:Only Americans are stupid enough to use PHP. by vidarh · · Score: 1
    What a troll. It would help if you'd at least spell Perl correctly. And I know of lots of PHP users in Europe. In fact, I'd never ever consider allowing anyone to use Perl for serious web development on projects I'm responsibility for, but PHP would be another matter.

    However choosing either language depends on what experience you have available in your organization, and on personal preference much more than on the languages themselves.

    And the main reason it might be easier to get Perl developers is because Perl is much older. PHP, on the other hand, is catching up fast.

    And to many C/C++ developers like me, PHP is a lot more familiar and easy to learn, and a lot less irritating, than Perl.

  52. change the SGI logo by green+pizza · · Score: 1

    And while you're at it, replace the Silicon Graphics cube logo with the new "sgi" logo. Sure, the cube logo was cooler, but it's long gone these days.

    1. Re:change the SGI logo by fitsy · · Score: 1


      No way, the original SGI logo -is- way kewler.

  53. Dork by codepunk · · Score: 1

    Yes that is what I want to do use perl, my god man it just lends it self to such nice readability. Yea Right!

    --


    Got Code?
  54. Yikes by mholve · · Score: 1

    Talk about trying to go for too much. Do we need another language? Sure, if it fills a need. Should we make PHP into it's own language? I think that'd be overkill, adding complexity and fluff where none is needed...

    1. Re:Yikes by Fervent · · Score: 2
      "An icon so bold, so blatantly thrown together at the last minute that you have to wonder, 'What was Taco thinking when he put this together?'"

      Not exactly a strong testament to Gimp (although it's more the artist's fault).

      --

      - I don't care if they globalize against free speech. All my best free thoughts are done in my head.

    2. Re:Yikes by 1010011010 · · Score: 2

      ... an icon so completely just copied off the PHP page...

      - - - - -

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    3. Re:Yikes by jfunk · · Score: 2
      Should we make PHP into it's own language?


      What do you mean? What language used to own it? I don't understand...

      I'm a PHP guy, though I've been preferring Python lately. I still really like PHP.

    4. Re:Yikes by bare_naked_linux · · Score: 1
      Well, they've done it on there own time to fill their own need (or ego). Why should I or you care if it 'needed' to be done. Many other languages that are used main-stream now got their start this way... They filled a nitch market, were good at it, and their market expanded.

      If this is a good thing, it'll stick around and get better and better. If it's not needed, it'll be swollowed in the sands of time.

      Myself, I'm rooting for them. It's another tool in my tool box. I may not ever need it, but if I do, it's there.

      --

      --

      --
      Unscrample my email, win a prize.

  55. Re:Only Americans are stupid enough to use PHP. by Lord+Hugh+Toppingham · · Score: 1
    If you know of any way around this, it would be of help!

    Your company does not allow ??? What kind of anti-technical BS is this ? Surely your company is interested in the most cost-effective appropriate solution for the job. Unless you work for one of those huge corporations that requires 'standards' above all else, even at the expense of profitability.

    The best thing to do here (Apart from changing jobs) is to simply bypass the stupidity. Set up apache on a separate machine. Have the 'front door' running on netscape, but redirect to the performant solution on apache with mod_perl at the earliest opportunity.

    I had the misfortune to work for a place that banned mod_perl. Unfortunately, they 'just didn't get it' (tm) so I had to take my services elsewhere. Remember, its a sellers market for tech skills, even now after the dotcom slump...

  56. Re:Mozilla within IE by MonkeyMagic · · Score: 1

    One interesting thing you could do would be to use the gtkhtml widget which I believe is based on mozilla.Thus you could open a mozilla browser from within IE.

    No you couldn't. This is about using PHP to control a GTK application front end (all on the one machine), it has nothing to do with website features.


    DILBERT: But what about my poem?

  57. Re:Mozilla within IE by Nodatadj · · Score: 1

    Yeah, thats why all the copyright notices don't meantion KDE...

  58. This is just wrong though... by Ron+Harwood · · Score: 4

    Don't get me wrong, I love PHP - I wrote "BlackNova Traders" using PHP and MySQL... and the language rocks for web programming... but that was its intended use.

    I don't want to see PHP lose its focus and purpose - it isn't a general use language... if you want one, there are plenty (C/C++, perl, and even java for example). PHP is meant for dynamic kick-ass web-page creation.

    1. Re:This is just wrong though... by giberti · · Score: 1

      PHP doesn't loose its focus when it thinks outside the web platform, it increases its usefulness, and broadens its reach. Not only that, it puts itself on par with things like Java, and opens doors that will allow it to change as the web changes. Don't fool yourself for a minute that the web (as it exists now) will be around in 10 years. PHP is showing that languages too can evolve, just as technology has, is, and will continue to do.
      </rant>

      I commend the open source community for driving this change and helping to make the future brighter for all.

      --

      AF-Design, web development.
  59. Ahh... antialiased icon... much better by WebMasterJoe · · Score: 1

    Glad /. fixed the image for PHP.

    And in order to not get modded down, I just have to say that this is not necessarily a Good Thing(tm), but certainly not a Bad Thing(tm). How could the world be hurt by the introduction of another alternative?

    Worst case scenario is that it never gets used, nobody paid money for the install, and the PHP gang gets back to web-based stuff. The world would be no worse off than if this was never tried in the first place.

    I just don't see why people are complaining about this! It's not like you're going to have to use it, even if it is successful!

    --
    I really hate signatures, but go to my website.
  60. Re:Stay focused, PHP... by Bedemus · · Score: 1

    You're right, of course, about Perl not having been developed from the ground up for db-driven websites... But then again, if I wanted to pick nits, I could say neither was PHP (at least not the first time around)... It was designed to be used in Personal Home Pages, for counters and stuff...

    Of course, later, they did redesign it from the ground up, and decide to make PHP stand for something different and much more impressive-sounding, but still... I guess my point is that few languages were designed to do terribly specific things from the ground up, because to do so limits their usefulness as a programming language to specific areas. Rewrites happen when focus is deemed necessary. PHP has had one, and I'm sure Perl will too with version 6.0.

    To paraphrase the Apple Jacks commercial: Use what you like! :)
    --
    NeoMail - Webmail that doesn't suck... as much.

  61. Clearly a troll, but what the heck.... by JiveDonut · · Score: 1

    Perl's strong typing? Bwahahaha!

  62. Stay focused, PHP... by gyp · · Score: 3
    One of the greatest things about PHP is that it is easy for people with little/no programming skills to pick up and create web applications. To push it to a full fledged language defeats the purpose, in my opinion.

    We try to push everything (languages, OS's, apps) to try to be everything to everyone. PHP is great for what it is. If you want to create a GUI, use something that was built for it the ground up for it. If you want to create an interactive database driven website (and you don't know perl) use PHP.

    I hope this doesn't ever work itself into the main distribution of PHP... More bloat. My webserver doesn't like it already...

    Gyp.

    1. Re:Stay focused, PHP... by mansemat · · Score: 1

      Fist you say use something that was built from the ground for [GUI development], then you say: If you want to create an interactive database driven website (and you don't know perl) use PHP. .

      If I recall, PERL was *not* built from the ground up for creating interactive database-driven web sites. PHP was. Perl was no built from the ground up to even support Databases, hence Perl::DBI.

      --
      --
    2. Re:Stay focused, PHP... by jmp100 · · Score: 1
      It already IS a full-fledged language! You can use it as just a Web scripting language or as a regular shell scripting language - and now, as a widget wrangling language.

      That's the beauty of it. Either or, with no penalty for going in either direction.

      As far as bloat is concerned... well... try configure --help, for one.

    3. Re:Stay focused, PHP... by jfunk · · Score: 2
      If you want to create an interactive database driven website (and you don't know perl) use PHP.


      Wow, methinks we have a troll here.

      For the record, I know Perl and PHP.

      If you want to do a large project, using an OOP implementation that isn't fscked and a language that is actually readable, use PHP.

      Actually, it's Perl that didn't stay focused. It was meant for more powerful shell scripts. Now people are writing web sites, email clients, MAME frontends, etc...

      PHP originally was meant for web sites, but it was designed to be C-like for a reason. I, the other day, was wondering why nobody had written bindings.

  63. Re:Hardly any details by hey · · Score: 1

    Hello, R Ford.

  64. Re:Cross platform, eh? by Tet · · Score: 2
    C'mon.. GTK+ is cool and all for being a nice cross platform (well, at least cross-*nix), but Java is a nice tool thats already there for the major browsers.

    I'm reasonably sure you're looking at this all wrong. I don't think this is related to web browsing at all. I think it's just a means of letting you use GTK+ from *any* PHP script. That would place it in the same class as dtksh, tcl/tk, tkperl, or tkpython.

    --
    "The invisible and the non-existent look very much alike." -- Delos B. McKown
  65. FastCGI by hatless · · Score: 2

    Uh, there was a commercial FastCGI module available for the Netscape servers. Does the same thing most people use mod_perl for: it allows slightly-modified CGI code to be compiled and cached by a persistent Perl interpreter.

    The only problem is that it was sold to another company, which was in turn acquired, and it was taken off the market. You may want to contact Adero to see if they'd be so kind as to point you in the right direction.

    If you're running the Netscape/iPlanet webserver on NT or Win2K, you can also use ActiveState's PerlEx, which is another similar persistent-Perl engine.

    There also appears to be a reasonably modern Perl NSAPI module, which is philosophically the closest thing to mod_perl in that it lets you get close to the metal and write true server modules in Perl. It's here.

    Velocigen, another commercial product, isn't exclusively a Perl engine. It's a logic and content caching engine that uses XML tags that can hook to cached and embedded code--including Perl. It's probably a different development experience from these other systems, but if persistent Perl is your goal, this should do it too.

    Ever tried searching the Web?

  66. Re:Hardly any details by Lord+Puppet · · Score: 1

    Mailing list: http://www.topica.com/lists/php Scripts: http://www.evilwalrus.com/ More info: http://www.oreillynet.com/php/ http://www.onlamp.com/ Book (with reviews): http://phpclasses.UpperDesign.com/products.html/id /1861002963

  67. Re:Hardly any details by jonbrewer · · Score: 1

    gee. it's like ColdFusion but without the IDE. :-)

  68. No it's not! by jmp100 · · Score: 1
    PHP is arguably just as good a general language as perl or C/C++. Its string handling functions are awesome. I have built it as a stand-alone interpreter and use it as a scripting language.

    To imply that this will detract from PHP's "focus" would also imply that you can't have one without the other. This is really not the case for PHP. Let's get down to brass tacks. If you take away the automatic headers, caching options, and session management, PHP becomes a regular scripting language. But you wouldn't take these things away because they are already there. :)

    Just as perl's HTTP extensions are under constant development, PHP's Web stuff is not going to atrophy or go away altogether because there is way too much interest in it. Even if only 10% of the userbase used it for Web and the rest used it for scripting or controlling GTK widgets or whatever, the Web-only stuff would still be maintained.

    PHP may have started out as a Web-centric language, but it just happened to turn out to be an excellent general-purpose language as well.

  69. PHP == VB for Linux? by Pinball+Wizard · · Score: 3
    This is interesting. Just yesterday our beloved Shoeboy was commenting on how Linux needed a VB like language to quickly assemble quick apps.

    Would this fit the bill? Being that I can almost directly translate PHP to ASP and vice versa, and that ASP is the web language descendent of VB, does this mean we now have a VB for Linux? If so, cool!

    --

    No, Thursday's out. How about never - is never good for you?

  70. Re:PHP shell scripts are great by jmp100 · · Score: 1

    More importantly, perhaps you want to re-use the same code for your web site and one or more back-end processes. I am working on an application that has exactly that requirement. Why write the same exact routine twice, in two separate languages, when it is possible to reuse it and not have to maintain two separate versions of the same code?

  71. complaint! complaint! by small_dick · · Score: 2

    if this is what it says, gtk bindings to php -- so you can write desktop apps in gtk using the php scripts hitting a database...that's awfully cool.

    reminds me of oractcl...it would be nice to have some SCREENSHOTS of the thing doind financial stuff.

    after all, i don't think the road to world domination is paved with games and 3d...it appears to flow from corporate use.

    show it doing corporate things, damn it!!!

    --


    Treatment, not tyranny. End the drug war and free our American POWs.
    See my user info for links.
  72. Re:Not really object oriented is it ? by jmp100 · · Score: 1

    So you have the same code under two licenses. What do you really have, then? A union of the two licenses? What if there are mutually exclusive bits (and it sounds like there are)? What is the real difference - just the name of the tarball? :)

  73. Re:license wars by Dr.Dubious+DDQ · · Score: 2
    because it includes a BSD-like advertising clause.

    Basically, it looks like it's "free but not GPL". (Personally, I don't have a philosophical problem with the "give us credit if you use our code" clause of the license, but that's me.)

    The Zend Optimizer (which is optional, and a separate but related product, isn't it?) apparently uses the QPL according to the Gnu page mentioned above, which is the license that used to be used by QT and got the flamewars about the "freeness" of KDE going, wasn't it?

    My personal solution is to go ahead and use PHP, but not bother with the separate Zend Optimizer download.


    ---
    "They have strategic air commands, nuclear submarines, and John Wayne. We have this"
  74. Re:Only Americans are stupid enough to use PHP. by c+era · · Score: 1
    Do a search for nsapi and perl. I haven't used netscape/iPlanet for a while, but it worked then and should work now.

    You may also want to look at fast-cgi, it isn't free, but it does work.

  75. Re:Not really object oriented is it ? by mindstrm · · Score: 2

    How can something be availableu nder the GPL for non-commercial development. the GPL forbids such restrictions.

  76. watch your language! by fons · · Score: 2
    I can't code Perl nor PHP, but I DO now that there's no need te start insulting people over this.

    And if you do want to start insulting, please only speak for yourself. I'm European and I don't want American PHP coders to think I find them stupid.

    (I could go on and on about how the Internet should be international and free from any regional prejudices, but i won't, i'm pretty sure everybody but you gets that)

  77. GUI Programs by mholve · · Score: 1
    Writing GUI apps in a primarily non-event driven language is a PITA. Look at Perl/Tk for example. Yeah, it works. Would I want to write applications in it? No...

    I wrote TkApache in Perl/Tk. It works and works well, but it's just not the way to go about coding GUI apps. Perl is not meant to write event-driven applications such as this. What it is good for is giving scripts a quick interface for variables or input.

    I don't think PHP needs to incorporate this technology into itself. It's great for what it does - dynamically driven sites. Leave it at that and leave the bloat out.

  78. Before you troll... by TobyWong · · Score: 1
    ...at least learn how to spell the technologies you are trolling about.

    "perl"

    If you ever feel like hanging up your trolling underpants and doing something productive, check out www.perl.com for more info.

    hah it's like that old SNL sketch where the actor goes on about how he takes his roles very seriously and does a lot of research, then when they show a clip of him in action as a doctor he badly mispronounces all the medical terms.

    --
    - Toby
  79. Re:Man... what -can't- you do by Betcour · · Score: 1

    I think it is easier to install your app on a single server and let the world use it with any browser. No deployment, no configuration, no upgrades to distribute, totally cross-platform, etc... I love this :)

  80. Re:Hardly any details by LetterJ · · Score: 5

    I'm the author of PHPTriad and would like to point out that I've got a testing version of PHPTriad 2.0 available which I consider much more stable and complete than the version that download.com is pointing to. It's linked from a news story on www.phpgeek.com.

    LetterJ
    Head Geek

  81. Re:Man... what -can't- you do by tzanger · · Score: 1

    I too prefer Postgres but I've given up on PHP; I do all my scripting in Perl now. I'd been looking for arguments to keep my PHP skills up but haven't found anything besides "just to know another language" so I dropped it. Perl just works for me... Heaven forbid if I were an actual Perl zealot. :-)

    Mind you, for any real work I turn to C. Interpreted languages are great for quick hacks but when performance is key you need compiled code. Maybe that's just my embedded background talking though. :-)

  82. Re:Not really object oriented is it ? by AugstWest · · Score: 2

    you got the wrong guy.

  83. Hardly any details by ishrat · · Score: 1

    I know Html very well and am a web designer, but I do not know what PHP is all about. Can someone suggest a suitable address for info on PHP for a beginner.

    --

    There's always sufficient, but not always at the right place nor for the right folks.

    1. Re:Hardly any details by Betcour · · Score: 2

      www.php.net

      and you can look at www.phpbuilder.com too for tutorials

    2. Re:Hardly any details by Anonymous Coward · · Score: 1

      http://www.phpbuilder.com or you take take the online class I teach at Tulane University.

    3. Re:Hardly any details by ickyfreak · · Score: 2

      www.php.net (and download the manual... its my bible)

      also www.devshed.com :)

      --

      ---------------
      100% Australian

    4. Re:Hardly any details by bad-badtz-maru · · Score: 1

      ===
      It's convenient - all form variables get put into variables of the same name:
      ===

      Autovivification of form variables is indeed quite convenient... for writing exploitable scripts.

      maru

    5. Re:Hardly any details by Ananova · · Score: 3

      Sure.

      www.php.net/manual. The manual is great. You can learn everything you need to know about specific things from there. Before that, you need a basic tutorial.

      A PHP page looks like this:

      <html>
      <title>Hello</title>
      <form action=<?php print $PHP_SELF; ?>
      <input name=message>
      <input type=submit>
      </form>
      <?php
      print $message;
      ?>

      Try that. Also, to get hold of PHP, use PHP Triad (on Linux, you can probably install it from your distribution CD), a win32 installer of PHP, Apache and MySQL.

      Basically:

      PHP is HTML with the code embedded between blocks starting
      <?php

      and ending
      ?>

      within that you put your PHP code.

      For example:

      <?php
      print "hello";
      ?>
      would display hello - just like perl.

      Similarly, as in Perl, variables are preceded by $.

      So:

      <?php
      $message="chese";
      print "I like $message";
      ?>

      It's convenient - all form variables get put into variables of the same name:

      <form action=apage.php>
      <input name=thing>
      <input type=submit name=action value=Submit>
      </form>

      would send apage.php two variables - $action='Submit'; and $thing= whatever you typed in there.

      You should investigate PHP's object-orientation functions too. Here's an example class [class omitted due to slashdot's lameness filter :-(], which should be pretty explanatory.

      Anyway, start here; read here for more, as well as here. Also subscribe to the mailing list at php-general@lists.php.net for help from others.
      --

      --
      Hi!
  84. This opens up worlds of possibilities by Sentry21 · · Score: 1

    I've been considering writing an IRC client for X for quite a while - XChat is nice, but I think the author and I are looking in different directions, and I'd like to do something on my own anyway.

    My problem was that I wanted a good scripting language to use, that wasn't overly complex for the task (C/C++), wasn't ugly as hell (Perl), and wasn't too much of a departure from what I was used to (Python).

    Several people on OPN suggested things like Javascript, C interpreters, and so on, but the thing I really wanted was PHP.

    Now, not only could I do a client entirely in PHP, which would be easy to develop for, and allow expansion into all sorts of areas that PHP modules provide (databases, XML, FTP/HTTP, mail, and so on, and so on), so bloatifying my program would be easy and simple for anyone to do.

    I was actually considering using the gtkhtml widget along with PHP - maybe I could still do that... Hmm... Makes you think.

  85. Re:Only Americans are stupid enough to use PHP. by jmp100 · · Score: 1
    Listen, lobsterback, your great-great-great-great-great-great-great-great-gr eat-great-great-great grandfathers fucking lost the war... to rag-tag farmers and a bunch of Frenchies, no less. England is no longer #1. It hasn't been for about 100 years, and its decline was well underway when we wiped the walls with you in 1776. I hear your history books are just a little bit different from ours. GEE, I WONDER WHY?

    Anyone who visits the US from England is likely to be welcomed here. In fact, the only reaction you can really expect is some interest in your accent. "What part of the UK are you from? My aunt lives in Sussex..." Et cetera. Why is it, then, that when someone visits England from the US, they are held up at the border and accused of trying to sneak into the UK to try to steal jobs?

    In the US, many people are in the habit of making eye contact with others as they walk down the street. They might even say 'hello'. In England, no one makes eye contact. You greet a stranger and they look at you like you're some kind of villain.

    Brits like you are one of the reasons why so many Americans have a poor opinion of the UK. Perhaps you could see your way to pulling the stick out of your ass for a while and realize that the whole one-upsmanship game is pointless. It's like a rowboat tring to race a powerboat.

  86. A PHP fan speaks... by Dr.Dubious+DDQ · · Score: 2

    Personally, I love (in the platonic sense, you sickos!...) PHP. I'm looking forward to playing with this new stuff.

    Just a few random comments/opinions on some issues that have come up here:

    The "but it's not GPL!" issue seems to revolve around two things. One is that there is a clause in the license for PHP that says, to paraphrase, "if you use any of our code for something else, give us credit". This is apparently GPL-incompatible, but I don't personally have a moral problem with this. The other licensing issue is the Zend stuff, which when dealt with separate from PHP is under a different, more restrictive license (the "Zend Optimizer" which if I remember right is a separate product, is under the much-maligned QPL, apparently.

    I tend to think of PHP as "PERL-lite". It's not as big or "full-featured" as PERL is, and is therefore of more limited (but more focused!) use. PHP does have what to me seems to be a very PERL-like syntax, though. Perhaps one might think of PHP as "Programming marijuana" which leads to escalation to Harder programming languages like PERL* :-). Like PERL, PHP can be worked with in either Object Oriented or standard Procedural ways (or a combination thereof), and both are similar (though I must admit I'm still slightly baffled on PERL OO - PHP doesn't use anything like bless(), for example...)

    It LOOKS like "PHP-gtk" and the standard PHP will be separate projects, which is probably good, as it should keep bloat down while allowing each project to borrow relevant improvements from each other.

    Mind you, I think the "bloat" issue is mostly nonexistent. The Linux Kernel itself might be considered extremely bloated...except that running "make config" "de-bloatifies" it by setting up to only compile what you need or want. PHP will almost certainly remain the same way.

    Maybe now somebody will come up with a "flash authoring" tool for Linux using PHP's swf support (I've been wanting to "dabble" with flash animation, but I don't know of any linux tools for putting them together...)

    (* - It's a joke! Really! No, I'm NOT trying to start a "war on drugs" flamewar!)
    ---
    "They have strategic air commands, nuclear submarines, and John Wayne. We have this"
  87. No by Micah · · Score: 1

    This is basically Yet Another Scripting Language With A GUI Extension Module. Kinda like Perl and Python with their respective GTK modules. To be a VB-workalike for Linux, you need a RAD development tool and data driven controls. Delphi/Kylix provides that, a few free projects are thinking about it.

  88. Re:Only Americans are stupid enough to use PHP. by SamBeckett · · Score: 1

    LIAR

  89. Re:Cross platform, eh? by AugstWest · · Score: 2

    how is this a troll? someone compares java to php, i point out the stengths versus weaknesses, and BAM it's a troll.

  90. no, only english... by simpl3x · · Score: 1

    with that and mcdonald's, we'll be just fine.

  91. Re:Only Americans are stupid enough to use PHP. by istartedi · · Score: 2

    Pearl would be much better suited for this type of application, due to its strong typing and oo-features.

    I didn't know there was a strongly typed language called Pearl. Is it anything like the weakly typed language called Perl?

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  92. Re:AAAAHHhhhhhh.... by Mike+Hicks · · Score: 2

    Those words are computer jargon, but I wouldn't call them buzzwords.
    --

  93. Re:Not really object oriented is it ? by JabberWokky · · Score: 2
    How can something be availableu nder the GPL for non-commercial development. the GPL forbids such restrictions.

    Qt, like many other very common packages like Ghostscript[1] is available under two licenses. The Qt code is identical, but the GPL version can only be used to develop GPLed applications (duh, that's the point of the GPL). The QPL version gives you the source without the restrictions of the GPL, so people can write Windows, Mac or Linux apps that can be distributed under their choice of license (including traditional commercial licenses).

    So, yes it is dual licensed, GPL for Free Software purists, and QPL for Open Source purists. I really can't think of another company that has gone to greater lengths to satisfy the community and has gotten a worse rep for licenses.

    [1] Of course, Ghostview releases the source under GPL a few versions behind the commerically available version. Qt's source is up to date on both sides of the license.

    --
    Evan

    --
    "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
  94. Re:Cold Fusion without the IDE. by bobv-pillars-net · · Score: 1
    I've used both Cold Fusion and PHP. There are many differences between the two:
    1. In PHP it is possible to store more than one function per file. It is not possible to store more than one Cold Fusion "custom tag" per file.
    2. In PHP you can access Oracle, MS-SQL, Postgres, and MySQL with equal ease. Cold Fusion is designed mainly to interface with MS-SQL.
    3. PHP can be integrated into Apache or IIS, but it is also small enough to be launched as a script interpreter. Cold Fusion runs as a server-side process, and tends to bog down a Pentium-3 550 with 256 meg of ram.
    4. PHP is free software; Cold Fusion is not.
    5. PHP is available for a much wider variety of hardware and operating systems, and may be ported to others if it's worth your time. Cold Fusion is only available from Allaire; if they go under or don't want to develop for your system, you're out of luck.
    6. PHP has had a slightly better track record of being upwardly compatible through version changes.
    Both languages have an IDE available, but I haven't used either one.
    --
    The Web is like Usenet, but
    the elephants are untrained.
  95. Re:Cross platform, eh? by AugstWest · · Score: 3

    Have you ever written a GUI in Java? Swing is still a horrible pile of crap.

    The GTK toolkit for Windows is rather stable in my experience. I've used it with an IDE and for some MySQL tools on nt4 and 2000. It isn't yet used very often, but that doesn't mean that a) it doesn't exist or b) it isn't stable.

    I think this is great news. I've been dealing with signed Java applets for years now, and they're a needlessly difficult thing.

  96. Just what we need... by b0z · · Score: 1
    A Visual Basic for linux.

    I say that with sarcasm, but I guess it could be useful. I know VB is useful to a lot of people that just want to make small programs and don't want to deal with coding all kinds of crap in C++ or anything.

    --
    Mas vale cholo, que mal acompañado.
  97. - Mirror - by Diclophis · · Score: 3

    Well since its php related, I setup a mirror incase of any slashdot like effect. This seems really useful. the mirror is locate here:http://dev.sig.mine.nu/~jbardin/php-gtk-0.0.1 .tar.gz. I hope this helps.


    behold the power of SiG.

  98. Re:Cross platform, eh? by ickyfreak · · Score: 1

    ummm... can someone PLEASE tell me whats so good about GTK+????

    --

    ---------------
    100% Australian

  99. Re:Cross platform, eh? by bildstorm · · Score: 1

    The problem I have with Java is those "dot in .com" people...

    I mean, aside from creating horrible ads that I end up seeing every weekend on CNN International, they also haven't helped companies to develope great browser support for Java, and then, when Microsoft did have good support (plus their own tweaks), they went after them.

    Now, I'm not supporting Microsoft on it, but I haven't seen a better implementation of Java support yet.

    --
    The power of accurate observation is commonly called cynicism by those who have not got it. - G.B. Shaw
  100. Re:Not really object oriented is it ? by AugstWest · · Score: 3

    Yeah, seriously, I mean... this license ISN'T THE GPL. Somebody get a rope. [/sarcasm]

    Why is OO the holy grail? Why does everything have to be done by the GPL? Why must everything that comes out fit into the little box that you find acceptable?

  101. Re:Not really object oriented is it ? by sfraggle · · Score: 1

    Qt is the trolltech toolkit, not gtk. In any case I believe that it is released under the GPL now (correct me if i'm wrong)

    --
    were you expecting to see a sig here? perhaps you'd rather see the inside of an ambulance!
  102. Re:Cross platform, eh? by Salsaman · · Score: 1
    Yeah but java, much as I love it for server side apps., has a visually very poor set of gui components.

    Also it's not always suitable for client side apps. If you just want to pop up a couple of windows with a menu gtk+ would be a much better option. Plus you have all the inbuilt skinnability of gtk.

  103. Re:Only Americans are stupid enough to use PHP. by istartedi · · Score: 2

    Oh good grief. What were they thinking when they named it?

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  104. Python by Micah · · Score: 1

    Just learn Python, and perhaps wxPython for the GUI.

    I'm a diehard Perl geek, and I've also worked with C++. A couple weeks ago I was finally convinced to learn Python. I knew it was inevitable.

    And how long did it take? A few hours tops. Python is EASY!!! I'm already well under way converting a big monster perl program to Python. No problems at all. And the design is a whole lot better.

  105. Liar? by Synn · · Score: 1

    http://quotes.thebisgroup.com/

    30k lines of code, dev time about a month. Been working with php for about 3 years now, enjoy.

  106. Re:Cross platform, eh? by Bob[Bob] · · Score: 1

    You might not be rated as a troll if perhaps you explained a little bit about why you think "Swing is still a horrible pile of crap"... so?

  107. GTK ? by enrico_suave · · Score: 1

    I'm familiar w/PHP .. what's the down low on GTK? What are the requirements/benefits/uses? Thanks in advance (for not being snide) e.
    www.randomdrivel.com -- All that is NOT fit to link to

    --
    Build Your Own PVR/HTPC news, reviews, &
  108. ooh, ahh by pimpinmonk · · Score: 1

    AWESOME!!!!!!!!!!! I LOVE PHP. It's the best girlfriend I've ever been with. Faithful, reliable, functional, and the code just has curves that give me goosebumps...
    ___________________________________ _______________

  109. Re:Most of the posts here seem to have misundersto by djocyko · · Score: 1
    ok, so the question is...how long till? or is it possible to get the code to run serverside and the display to show on the plugin in ie?

    Frankly, I would like to be able to program something in a language that would run as a stand alone and as a web "applet."

  110. PHP shell scripts are great by phutureboy · · Score: 2

    There are times when a dynamic web site needs to do stuff in the background, or on a regular schedule, or without worrying about a browser timeout, independent of whether the site is being accessed.

    For example, on an auction site you might want to have a script that runs once every minute to close out auctions that just ended, and email announcements to the seller and highest bidder.

    Or you might want to update the weather forecast on your home page every hour by downloading a page from National Weather Service, parsing it, and inserting the info into a database.

    Running PHP shell scripts from cron is great for that sort of thing. It allows one to develop the whole site in the same language, instead of switching to Perl or bash for the background stuff.

    Not that any of this has anything to do with PHP-GTK...

    --

  111. there's no bloat by rm+-rf+/etc/* · · Score: 2

    Go to your php source directory. Do ls ext/. Look at all of it and think, "Gee, look at all these extensions which I can choose to compile into my php binary, leave out alltogether, or build as shared modules." PHP will never be any more bloated than you want it to be because almost everything outside of the core language and server interfaces are modules.

  112. read the page by rm+-rf+/etc/* · · Score: 2


    It's not incorperated, it's an add on dynamically loaded module. Geez, it's a simple concept really... And even if the php folks rolled it into the dev tree, as long as you don't compile with --enable-gtk, who the hell cares if it's there or not? It won't affect your server, you can just pretend it doesn't exist.

  113. license wars by bobv-pillars-net · · Score: 3
    According to Gnu, the license for PHP Version 4 is not GPL-compatible because it includes a BSD-like advertising clause. For this reason, GNU recommends that free software developers write for PHP version 3 instead, because it is also licensed under the GPL .

    Apparently, PHP-GTK gets by with linking to version 4 because GTK is released under the LGPL.

    I'm surprised Richard Stallman hasn't released a blistering condemnation of the project yet.

    --
    The Web is like Usenet, but
    the elephants are untrained.
  114. AAAAHHhhhhhh.... by OlympicSponsor · · Score: 1

    "PHP-GTK is a PHP(1) extension(2) that provides an object-oriented(3) interface(4) to GTK+(5) toolkit(6) and enables you to write client-side(7) cross-platform(8) GUI(9) applications."

    Must...resist...buzzwords... ...can't...keep...brain...from...exploding
    --
    Non-meta-modded "Overrated" mods are killing Slashdot

    --
    Non-meta-modded "Overrated" mods are killing Slashdot
    (Hey Ryan! Here's your proof!)
  115. Man... what -can't- you do by green+pizza · · Score: 1

    with php, mysql, and some spare time...

  116. Mozilla within IE by Salsaman · · Score: 2
    One interesting thing you could do would be to use the gtkhtml widget which I believe is based on mozilla.

    Thus you could open a mozilla browser from within IE.

  117. he he he by mirko · · Score: 1

    Seems they didn't have enough time to draw a proper con for this topic ;-)
    --

    --
    Trolling using another account since 2005.
  118. Re:Cross platform, eh? by Anonymous Coward · · Score: 1

    GNU/Absofuckinglutelynothing