Kind of projects to develop in php.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • king kikapu

    Kind of projects to develop in php.

    Hit to all folks here,

    i recently got interested abiy php, i have a workable knowledge of
    Python and a little bit of Ruby.
    I just want to ask, if php is suitable for generic programming and not
    only for web stuf.

    I am -mainly- a windows developer and just want to escape from MS
    umbrella, i just do not know
    if php is the right choice. Can i use the language to build network
    apps, or gui apps or DB stuff and the like
    or i should stick to Python for this kind of (generic) developing ?

    I recently saw that CodeGear (a Borland spin-off) will release Delphi
    for php and i am very attracted to that.
    VCL, first class debugger, a fully featured IDE.
    I suppose that the combination of a product like that and the
    language, will make me able to build nearly
    anything and not only web stuff, or am i wrong ?

    Thanks for any help!

  • Harold Phillips

    #2
    Re: Kind of projects to develop in php.

    <snip>
    I am -mainly- a windows developer and just want to escape from MS
    umbrella, i just do not know
    if php is the right choice. Can i use the language to build network
    apps, or gui apps or DB stuff and the like
    or i should stick to Python for this kind of (generic) developing ?
    While you can indeed use PHP along with a GUI toolkit to develop some very
    robust cross-platform GUI applications, PHP might not be the best tool for
    that. Scripting languages in general tend to be a bit slow. If you're
    wanting to do development for both the web and desktop in one language, you
    might be better looking at something like Java.
    I recently saw that CodeGear (a Borland spin-off) will release Delphi
    for php and i am very attracted to that.
    VCL, first class debugger, a fully featured IDE.
    I suppose that the combination of a product like that and the
    language, will make me able to build nearly
    anything and not only web stuff, or am i wrong ?
    I hadn't head this but that will make the enviroment very nice to develop
    in. PHP is definitely worth looking at. Play with it and see how far you can
    go with it. You might be surprised.

    Cheers,
    Anthony Papillion


    Blog:






    --
    Posted via a free Usenet account from http://www.teranews.com

    Comment

    • Paul Furman

      #3
      Re: Kind of projects to develop in php.

      king kikapu wrote:
      Hit to all folks here,
      >
      i recently got interested abiy php, i have a workable knowledge of
      Python and a little bit of Ruby.
      I just want to ask, if php is suitable for generic programming and not
      only for web stuf.
      >
      I am -mainly- a windows developer and just want to escape from MS
      umbrella, i just do not know
      if php is the right choice. Can i use the language to build network
      apps, or gui apps or DB stuff and the like
      or i should stick to Python for this kind of (generic) developing ?
      >
      I recently saw that CodeGear (a Borland spin-off) will release Delphi
      for php and i am very attracted to that.
      VCL, first class debugger, a fully featured IDE.
      I suppose that the combination of a product like that and the
      language, will make me able to build nearly
      anything and not only web stuff, or am i wrong ?
      I'm no programming guru but it seems to me php is really just for web
      programming unless you want to do intranet stuff. It has to run from a
      web server! Perl is a bit more powerful in some ways but lacks the vast
      set of web development tools that make php so productive, and that's
      what php is all about.

      Comment

      • Jerry Stuckle

        #4
        Re: Kind of projects to develop in php.

        Paul Furman wrote:
        king kikapu wrote:
        >
        >Hit to all folks here,
        >>
        >i recently got interested abiy php, i have a workable knowledge of
        >Python and a little bit of Ruby.
        >I just want to ask, if php is suitable for generic programming and not
        >only for web stuf.
        >>
        >I am -mainly- a windows developer and just want to escape from MS
        >umbrella, i just do not know
        >if php is the right choice. Can i use the language to build network
        >apps, or gui apps or DB stuff and the like
        >or i should stick to Python for this kind of (generic) developing ?
        >>
        >I recently saw that CodeGear (a Borland spin-off) will release Delphi
        >for php and i am very attracted to that.
        >VCL, first class debugger, a fully featured IDE.
        >I suppose that the combination of a product like that and the
        >language, will make me able to build nearly
        >anything and not only web stuff, or am i wrong ?
        >
        I'm no programming guru but it seems to me php is really just for web
        programming unless you want to do intranet stuff. It has to run from a
        web server! Perl is a bit more powerful in some ways but lacks the vast
        set of web development tools that make php so productive, and that's
        what php is all about.
        No, PHP does not have to run from the server. I do a lot of scripts
        which run standalone.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        • Paul Furman

          #5
          Re: Kind of projects to develop in php.

          Jerry Stuckle wrote:
          Paul Furman wrote:
          >
          >king kikapu wrote:
          >>
          >>Hit to all folks here,
          >>>
          >>i recently got interested abiy php, i have a workable knowledge of
          >>Python and a little bit of Ruby.
          >>I just want to ask, if php is suitable for generic programming and not
          >>only for web stuf.
          >>>
          >>I am -mainly- a windows developer and just want to escape from MS
          >>umbrella, i just do not know
          >>if php is the right choice. Can i use the language to build network
          >>apps, or gui apps or DB stuff and the like
          >>or i should stick to Python for this kind of (generic) developing ?
          >>>
          >>I recently saw that CodeGear (a Borland spin-off) will release Delphi
          >>for php and i am very attracted to that.
          >>VCL, first class debugger, a fully featured IDE.
          >>I suppose that the combination of a product like that and the
          >>language, will make me able to build nearly
          >>anything and not only web stuff, or am i wrong ?
          >>
          >>
          >I'm no programming guru but it seems to me php is really just for web
          >programming unless you want to do intranet stuff. It has to run from a
          >web server! Perl is a bit more powerful in some ways but lacks the
          >vast set of web development tools that make php so productive, and
          >that's what php is all about.
          >
          >
          No, PHP does not have to run from the server. I do a lot of scripts
          which run standalone.
          How does that work?
          I could use it for stuff like image batch processing, renaming, etc.

          Comment

          • peter

            #6
            Re: Kind of projects to develop in php.

            How does that work?
            I could use it for stuff like image batch processing, renaming, etc.
            You can either run php from a command line or you can use something like
            http://gtk.php.net/ for gui applications.


            Comment

            • Peter Fox

              #7
              Re: Kind of projects to develop in php.

              Following on from king kikapu's message. . .
              >Hit to all folks here,
              >
              >i recently got interested abiy php, i have a workable knowledge of
              >Python and a little bit of Ruby.
              >I just want to ask, if php is suitable for generic programming and not
              >only for web stuf.
              Turn the question around. Does Python do all you want it to do? If so
              I'd suggest stick with it and spend time on becoming an ace programmer
              rather than a Jack of all trades. (Obviously a working knowledge of PHP
              is a good thing as there's a lot of it about.)

              In some ways PHP fills the niche that BASIC did 20 years ago. Easy to
              use, multi-platform and plenty of get going quickly stuff but lacking
              some of the features looked for by more system oriented programmers. It
              /can/ be run stand-alone but there will be some sorts of use that it
              simply isn't suited for. For example if you wanted to write your own
              server I think you'd have a hard time doing that in PHP. I think you'll
              find Python is more sophisticated in that respect.


              --
              PETER FOX Not the same since the cardboard box company folded
              peterfox@eminen t.demon.co.uk.n ot.this.bit.no. html
              2 Tees Close, Witham, Essex.
              Gravity beer in Essex <http://www.eminent.dem on.co.uk>

              Comment

              • Paul Furman

                #8
                Re: Kind of projects to develop in php.

                peter wrote:
                >>How does that work?
                >>I could use it for stuff like image batch processing, renaming, etc.
                >
                You can either run php from a command
                Huh, so you can, I just did a little test with a .bat file:
                php test.php test.txt

                No real interface for a GUI though, hence the gtk extension below.
                line or you can use something like
                http://gtk.php.net/ for gui applications.

                Comment

                • king kikapu

                  #9
                  Re: Kind of projects to develop in php.

                  Thank you all for the help!

                  Comment

                  • Toby A Inkster

                    #10
                    Re: Kind of projects to develop in php.

                    king kikapu wrote:
                    I just want to ask, if php is suitable for generic programming and not
                    only for web stuf.
                    As others have said, you *can* program anything in PHP, but PHP certainly
                    "lends itself" to web and command-line programming.

                    As you already know Python, take a look at wxPython <http://www.wxpython.or g/>
                    which ought to provide you with a relatively easy way to write GUI apps in
                    Python and run them cross-platform (Windows, Mac, Linux, Unix).

                    Here are some screenshots of an application written with wxPython on both
                    Windows and Mac. (It also runs on Linux and UNIX, but no screenshots are
                    shown.)
                    Juice Receiver (formerly iPodder) is a media aggregator which automatically downloads podcasts and media files to your computer or portable device, leaving you 'one-click-away' from latest media feeds. The whole process is done on it's own, so you don't have to select files, search for them or click links to download the media. All you do is specify some hotspots where to download from and wait to get yourself the content.


                    --
                    Toby A Inkster BSc (Hons) ARCS
                    Contact Me ~ http://tobyinkster.co.uk/contact
                    Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

                    * = I'm getting there!

                    Comment

                    • king kikapu

                      #11
                      Re: Kind of projects to develop in php.

                      As others have said, you *can* program anything in PHP, but PHP certainly
                      "lends itself" to web and command-line programming.
                      Ok, i do not mind if "lends itself" to web but i do not know if it is
                      capable of doing other things, except from web.

                      As you already know Python, take a look at wxPython <http://www.wxpython.or g/>
                      which ought to provide you with a relatively easy way to write GUI apps in
                      Python and run them cross-platform (Windows, Mac, Linux, Unix).
                      I already know wxPython, i am testing wxGlade and PythonCard for the
                      UI stuff but in Python we do not currently have a
                      complete IDE product that enable us to do all the work from inside ONE
                      product.
                      We have to glue parts from here and there and this is something i am
                      not used to do (coming from visual studio, remember ? :) )

                      Anyway, as i can understand from the posts here, propably php is not
                      exactly for me. I do not do web stuff and taking
                      a language that is designed to do web stuff for building something
                      else will rather give me hard times at the future...


                      But anyway, thanks again!

                      Comment

                      • Toby A Inkster

                        #12
                        Re: Kind of projects to develop in php.

                        king kikapu wrote:
                        We have to glue parts from here and there and this is something i am
                        not used to do
                        If you're looking for VisualBASIC, then use VisualBASIC. ;-)

                        More seriously, VB.NET and its siblings are more-or-less cross-platform if
                        you use them properly. (q.v. the Mono Project.)

                        --
                        Toby A Inkster BSc (Hons) ARCS
                        Contact Me ~ http://tobyinkster.co.uk/contact
                        Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

                        * = I'm getting there!

                        Comment

                        • king kikapu

                          #13
                          Re: Kind of projects to develop in php.

                          If you're looking for VisualBASIC, then use VisualBASIC. ;-)
                          >
                          No, i am not! :)
                          I am looking for something that can take me away from MS products but
                          still retain my productivity...

                          Comment

                          • no@hope.com

                            #14
                            Re: Kind of projects to develop in php.

                            In article <1174306254.800 221.222770@y80g 2000hsf.googleg roups.com>,
                            aboudouvas@pana fonet.gr says...
                            If you're looking for VisualBASIC, then use VisualBASIC. ;-)
                            No, i am not! :)
                            I am looking for something that can take me away from MS products but
                            still retain my productivity...
                            >
                            >
                            try delphi/pascal

                            PHP is a simple script language with many bugs. Its good for scripts
                            and thats all.

                            Comment

                            • Toby A Inkster

                              #15
                              Re: Kind of projects to develop in php.

                              no wrote:
                              aboudouvas@pana fonet.gr:
                              >
                              >I am looking for something that can take me away from MS products but
                              >still retain my productivity...
                              >
                              try delphi/pascal
                              I second that recommendation. Delphi has a similar drag-and-drop form
                              design IDE to VisualBASIC, but has a somewhat nicer programming language
                              (Object Pascal).
                              PHP is a simple script language with many bugs. Its good for scripts
                              and thats all.
                              Nonsense.

                              --
                              Toby A Inkster BSc (Hons) ARCS
                              Contact Me ~ http://tobyinkster.co.uk/contact
                              Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

                              * = I'm getting there!

                              Comment

                              Working...