PHP guys / programmers... general question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Trax
    [----------------------]
    • Aug 2001
    • 14486

    #1

    PHP guys / programmers... general question

    if someone asks you (like me) why you recommend somebody to learn php instead of java or delphi

    what would you answer?

    this is like all the pros but also the cons of PHP

    let me know as much shit as possible
    thanks
  • toddler
    Confirmed User
    • Jun 2002
    • 1911

    #2
    java is bloated and overly complex for what it is. if you are building a game for browsers, do it in java or flash. if you
    are building a web site that requires
    dynamic content, do it in php+mysql.

    jsp pages tend to be rather slow as well, same goes for cfm(cold fusion). I strongly, STRONGLY dislike jsp and cfm.

    I've ported a few java apps to php w/o
    a problem at all. (with some perl thrown in for preparsing).

    hth...t
    http://www.flickr.com/photos/zoddler/

    Comment

    • Trax
      [----------------------]
      • Aug 2001
      • 14486

      #3
      Originally posted by toddler
      java is bloated and overly complex
      offers dynamic content
      thats the only thing i can use
      i wanna know all the pros and cons of PHP
      security for example
      speed
      complexibility
      and stuff like this

      i am no programmer... so
      thanks
      keep it coming

      Comment

      • Rorschach
        So Fucking Banned
        • Aug 2002
        • 5579

        #4
        It's kind of comparing apples to oranges because java is a full blown high level programming language and php is basically a scripting language that is aimed at doing web stuff, although there is a lot of other stuff you can do with it.

        PHP is pretty simple, it plays well with mysql and is pretty fast for most things you want to do with it. I use it for a whole bunch of things, but I also use perl for a lot of things because it is more flexible for a wider range of stuff (eg server admin stuff) and because I like to run things from the command line (although php also has a command line version).

        Java is very powerful but you are looking at having a whole bunch more to learn, and every java app I've seen has been a bit clunky for whatever reason. If you really need to make a blazingly fast app then I'd use C.

        If you are looking for a first language to learn then PHP is a good one, it is very "clean" to learn and write and you can do a hell of lot of cool stuff with it. Once you are used to the act of programming and especially programming theory (from more complicated languages) then it is pretty easy to learn any language, you just have to adapt to the new syntax and adapt what you already know to the new system.
        Last edited by Rorschach; 01-08-2004, 01:52 AM.

        Comment

        • pornanza
          Confirmed User
          • Jul 2003
          • 238

          #5
          I'd tell them to learn Pascal, it's a language developed for teaching a language. It's structured, it is nice, simple and will give you a good footing to move onto various other languages.

          The majority of users web programming problems are down to the fact the have no knowledge of programming, they don't know what indentation is, they don't know anything about local and global variables, they know very little about the basics, and this causes lots of problems (from what i see).

          When it comes down to it, each language has a purpose, each task is more suited to a specific language

          ryan
          Eskimo Hoe
          QuickWank
          Pornanza!

          Comment

          • extreme
            Confirmed User
            • Oct 2002
            • 2120

            #6
            Originally posted by Trax


            thats the only thing i can use
            i wanna know all the pros and cons of PHP
            security for example
            speed
            complexibility
            and stuff like this

            i am no programmer... so
            thanks
            keep it coming
            PHP is has a very bad security rep. Both in terms of easyness to write insecure scripts and regular exploitable vulns in PHP itself. They've worked some on that lately though.

            If you're gonna make a dynamic webpage, php/mysql is prob. what you want.

            Comment

            • Trax
              [----------------------]
              • Aug 2001
              • 14486

              #7
              thanks
              got my question answered
              no more information needed

              thanks again

              Comment

              • KobyBoy
                Confirmed User
                • Jul 2003
                • 201

                #8
                I'm working on a farily large project right now (not porn related). The backend of this project is written in Java. For the frontend I decided to use Serverlets, Struts and TomCat along with a Linux box and apache. About two weeks into working on the frontend I noticed that I was spending more time configuring and fixing my servlet container and Struts that I was barely getting enough coding done. I decided to ditch all that hoopla and went with PHP. Within two weeks the front-end is almost done and I'm not having any problems. I would say unless you are developing an Enterprise class application use PHP.

                Comment

                • fuzebox
                  making it rain
                  • Oct 2003
                  • 22353

                  #9
                  I'm sorry... did you say Delphi?

                  Comment

                  • Jace
                    FBOP Class Of 2013
                    • Jan 2004
                    • 35562

                    #10
                    Originally posted by fuzebox
                    I'm sorry... did you say Delphi?
                    haha, i think he did...

                    Comment

                    • JSA Matt
                      So Fucking Banned
                      • Aug 2003
                      • 5464

                      #11
                      qbasic is the way to go these days...

                      Comment

                      • Trax
                        [----------------------]
                        • Aug 2001
                        • 14486

                        #12
                        yes
                        delphi was the only language my friend can code
                        he showed me some basics
                        thats it already hehe

                        wouldnt touch it
                        its shit

                        Comment

                        Working...