[Typo3-dev] OT: Coding like Kasper
dan frost
dan at danfrost.co.uk
Tue Dec 23 00:29:50 CET 2003
I have spent some time looking through similarly-sized projects recently
and have to say the best thing to do is combine good books with looking
at how real programmers solve problems.
The Wrox books on Php (Php and Professional Php) are good. Also
forums.devshed.com is great for useful algorithms.
But (and this is by opinion) the best thing to help write good code is
(1) know how your language is processed (e.g. ' being processed faster
than "; object-level vars being slower than function-level etc) and (2)
look at other languages and how they solve problems. I'm learning c++ at
the moment and it's great for thinking about structuring data.
But, if you want to code like kasper, read his code - see how it divides
tasks into functions, real life "things" into data in the tables and
objects in the code.
Also - of course - PEAR is a very strictly organised and monitor library
of code. Your Php installation will probably have some of it (checkout
the include dir in phpinfo) - see, e.g. the database, email and so on
classes.
And searches for "php best practice", "php coding techniques", "php
rules", "php optimization" etc etc etc
dan
Patrick Gaumond wrote:
> Sorry to disturb the core list...
>
> Since I'm not a PHP specialist, I was wondering if someone could give me reference on books or web articles wich use technics close to how TYPO3 is coded.
>
> I'm aware of "backend programming" and "Inside TYPO3" (both versions) but I'm looking on generic PHP using technics similar to what Kasper did. Beginner references are welcome so are "best practices" links.
>
> Thanks in advance!
>
>
> Patrick
More information about the TYPO3-dev
mailing list