Re: New to list and to PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



21.02.2011 03:21, Tamara Temple yazmÄÅ:

On Feb 20, 2011, at 5:51 PM, tolga wrote:

21.02.2011 01:41, Richard Quadling yazmÄÅ:
On 20 February 2011 23:34, Richard Quadling<rquadling@xxxxxxxxx> wrote:
On 18 February 2011 19:03, Pete Woodhead<pete.woodheadvb@xxxxxxxxx> wrote:
Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be honest I very
new to code writing.
Thought this would be a good way to learn good habits as well as good code
writing.
Looking forward to learning and participating.

Assume that all the data you get from the user is out to get you. It
probably isn't. Most of the time. But when it does, it'll be your
fault. Unless you've left the company by then.

Also, poka-yoke is a great concept to learn about (thanks to a great
article in php|Architect all the way back when).

Richard.

--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

http://www.phparch.com/magazine/2006-2/february/ in case anyone was wondering.

i'm interested in php about 3 maybe 4 years but i still couldnt get the logic of classes. it makes no sense to me. i couldnt understand whats about classes good at or how to use or write it. and i can say that " is 'class' really necessery? "

a class is construct of Object Oriented PHP. If you don't understand object oriented programming, you'll likely not understand the use of object and classes in PHP, either. There are good reasons to use object oriented principles in PHP and other langages, and good reasons to use procedural principles in PHP as well. Learning when to use either is important. Learning how to use classes someone else implements is also important to keep from re-re-re-re-re-reinventing the wheel.


thanks. are there any high detailed explanation of classes in php? except for php.net, cuz i didnt understand anything from there about classes.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux