• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

New linked-in group only for PHP Contractors in UK

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Originally posted by milanbenes View Post
    LOL

    you sure he wasn't over qualified ?

    Milan.
    He has rather large paws and often hits two or three keys at once while coding.

    His concepts are pretty sound, however.

    You've come right out the other side of the forest of irony and ended up in the desert of wrong.

    Comment


      #32
      Originally posted by newbie-rookie View Post
      I'd agree if we were talking about PHP before OO. Now, you can build serious applications with PHP using MVC, OO, ActiveRecord etc. Especially with frameworks like Zend, Symphony, I feel like PHP becoming more like a programming language than scripting language. That's my humble opinion of course.
      I found the tool support to be pretty poor, that was the biggest draw back for me. Stuff like auto complete was not there when I was working on it. Might have changed though. I could knock stuff up pretty quickly but I always though i was just coding hacks and nothing was stopping me.

      Comment


        #33
        Originally posted by minestrone View Post
        I found the tool support to be pretty poor, that was the biggest draw back for me. Stuff like auto complete was not there when I was working on it. Might have changed though. I could knock stuff up pretty quickly but I always though i was just coding hacks and nothing was stopping me.
        You can use Visual Studio for PHP: http://www.jcxsoftware.com/vs.php

        You've come right out the other side of the forest of irony and ended up in the desert of wrong.

        Comment


          #34
          i did some hacking with php3 and it was funny then that there is no distinction between, ints, chars, date etc

          is it still the case today ?

          Milan.

          Comment


            #35
            Originally posted by minestrone View Post
            I found the tool support to be pretty poor, that was the biggest draw back for me. Stuff like auto complete was not there when I was working on it. Might have changed though. I could knock stuff up pretty quickly but I always though i was just coding hacks and nothing was stopping me.
            Oh, it has. Now you can use phpdoc (something like javadoc) and you can use autocomplete in your ide (I use Zend Studio and PHPed). Also I find Browser toolbars which allows you to debug your code line by line very helpful.

            Comment


              #36
              Originally posted by milanbenes View Post
              i did some hacking with php3 and it was funny then that there is no distinction between, ints, chars, date etc

              is it still the case today ?

              Milan.
              You can use type hints in method parameters and variable assignments now.

              Comment


                #37
                newbie-rookie,

                are you a cat too ?

                Milan.

                Comment


                  #38
                  Originally posted by milanbenes View Post
                  i did some hacking with php3 and it was funny then that there is no distinction between, ints, chars, date etc

                  is it still the case today ?

                  Milan.
                  Yes it's loosly-typed but you can cast types:

                  $mySalary = (float) $notEnough;

                  Also you can 'hint' types for arguments:

                  public function MilansSalary(AbsurdlyOverPaidClass $salary)
                  {
                  return $salary->Paycut(100);
                  }

                  You've come right out the other side of the forest of irony and ended up in the desert of wrong.

                  Comment


                    #39
                    I have to admit folks, part of the reason I made the move from developer to administrator was I never understood object orientation, especially this kind of stuff...

                    $salary->Paycut

                    and then the like..

                    this->paycut


                    funny eh

                    Thankfully I didn't understand cos if I had I'd probably still be stuck there as a developer taking all the cripe

                    one of the worst things about being a developer is when during unit testing the business realises they got the spec wrong and expect the new spec to be delivered in the old time scale to the original deadline

                    those were the days

                    Milan.

                    Comment


                      #40
                      Originally posted by milanbenes View Post
                      I have to admit folks, part of the reason I made the move from developer to administrator was I never understood object orientation, especially this kind of stuff...

                      $salary->Paycut

                      and then the like..

                      this->paycut


                      funny eh

                      Thankfully I didn't understand cos if I had I'd probably still be stuck there as a developer taking all the cripe

                      one of the worst things about being a developer is when during unit testing the business realises they got the spec wrong and expect the new spec to be delivered in the old time scale to the original deadline

                      those were the days

                      Milan.
                      You would use $this->Paycut() from within the class.

                      When using an instance of the class, you would use $instance->Paycut();

                      Not terribly hard to grasp, really.

                      I'm not a developer now, either. But I like to keep in touch rather than sneering at those who do.
                      Last edited by bogeyman; 4 November 2008, 16:24. Reason: syntax

                      You've come right out the other side of the forest of irony and ended up in the desert of wrong.

                      Comment

                      Working...
                      X