Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #5188

Re: Books?

From "M. Strobel" <sorry_no_mail_here@nowhere.dee>
Newsgroups comp.lang.php
Subject Re: Books?
Date 2012-03-20 10:19 +0100
Message-ID <9sr0dpFon8U1@mid.uni-berlin.de> (permalink)
References <8sGdneILNJwueP3SnZ2dnUVZ_v2dnZ2d@giganews.com> <7257183.754.1332178327363.JavaMail.geo-discussion-forums@vbhv6> <YsmdnbjWNvCPffrSnZ2dnUVZ_gidnZ2d@giganews.com>

Show all headers | View raw


Am 20.03.2012 02:39, schrieb Christopher M.:
> "macca" <ptmcnally@googlemail.com> wrote in message 
> news:7257183.754.1332178327363.JavaMail.geo-discussion-forums@vbhv6...
>> PHP 5 Objects, Patterns, and Practice
>> Matt Zandstra
> 
-- cut ...
>  and learn about PHP best coding practices.

- use proper code indenting to make your code readable
- document your code with phpDocumentor or other
- use meaningful variable and function names
- use an editor with syntax highlighting to help find any unbalanced quotes
  and parentheses before running the script
- if something does not work like expected: use a debugger to inspect your
  variables at every execution step, IMO a must for serious programming
- get used to a version control system early, you will populate your file system
  with test1.php, test2-old.php, test2-1.php and so on not knowing what you will need
  later and what to delete

This was the easy advice, now the difficult:

- break down a problem into smaller 'working units' using functions and objects
- design your functions (and methods) to work on data passed in by parameters, the
  benefits will be better isolated testing, and reuse of code
- test your code after every logic step
- work on your understanding of the whole system: client browser, IP (address, ...),
  TCP (port, SSL, ...), DNS, HTTP (headers, ...), HTML, CSS, JavaScript, web server
  settings, PHP settings, logging, ...

There is a reason why good programmers can ask for high hourly rates.

/Str.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-14 14:37 -0400
  Re: Books? The Natural Philosopher <tnp@invalid.invalid> - 2012-03-14 19:19 +0000
    Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-14 21:27 -0400
      Re: Books? The Natural Philosopher <tnp@invalid.invalid> - 2012-03-15 03:51 +0000
      Re: Books? Paul Herber <paul@pherber.com> - 2012-03-15 10:03 +0000
        Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-15 14:12 -0400
  Re: Books? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-03-15 10:07 +0100
    Re: Books? The Natural Philosopher <tnp@invalid.invalid> - 2012-03-15 15:54 +0000
      Re: Books? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-03-15 20:04 +0100
      Re: Books? Call Me Tom <noemail@nowhere.com> - 2012-03-15 18:23 -0400
        Re: Books? Tim Streater <timstreater@greenbee.net> - 2012-03-15 23:36 +0000
          Re: Books? Call Me Tom <noemail@nowhere.com> - 2012-03-15 20:53 -0400
            Re: Books? Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-03-16 14:07 +0100
              Re: Books? Call Me Tom <noemail@nowhere.com> - 2012-03-16 16:17 -0400
              Re: Books? "Leonardo Azpurua" <leonardo@exmvps.org> - 2012-03-16 21:57 -0430
        Re: Books? The Natural Philosopher <tnp@invalid.invalid> - 2012-03-16 09:57 +0000
  Re: Books? Scott Johnson <noonehome@chalupasworld.com> - 2012-03-15 05:54 -0700
    Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-15 14:14 -0400
  Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-16 21:29 -0400
    Re: Books? Gregor Kofler <usenet@gregorkofler.com> - 2012-03-17 16:25 +0100
      Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-17 19:31 -0400
        Re: Books? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-03-18 17:34 +0100
  Re: Books? macca <ptmcnally@googlemail.com> - 2012-03-19 10:32 -0700
    Re: Books? "Christopher M." <nospam_flibbity@floo.com> - 2012-03-19 21:39 -0400
      Re: Books? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-03-20 09:47 +0100
      Re: Books? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-03-20 10:19 +0100
    Re: Books? Burnsy <jburns131@gmail.com> - 2012-03-31 12:59 -0400

csiph-web