You are here: Re: What is the learning curve for PHP? « PHP Programming Language « IT news, forums, messages
Re: What is the learning curve for PHP?

Posted by Mary Pegg on 03/30/07 13:38

Toby A Inkster wrote:

> K.J.Williams wrote:
>
>> Well we wanted to know, what type of learning curve ( of difficulty )
>> we would have trying to learn PHP?

With a good background in C, PHP is very easy.

> PHP's syntax is fairly like C.

<snip>

Variable scope is worth looking at before you start:
http://uk2.php.net/manual/en/language.variables.scope.php

> The biggest difference in syntax is that variables in PHP always begin
> with a dollar sign, e.g. $foo.

He, that's always the gotcha when you switch to PHP from C.

> PHP has a lot more functions built in to the language, compared to C where
> a lot of functionality (e.g. database connectivity, regular expressions,
> networking functions) needs to be imported through libraries.

There are core functions, and then there are functions that need to be
compiled in (but usually are):
http://www.php.net/manual/en/functions.internal.php

It's worth remembering as a PHP noob that chances are, there's already
a function to do it.

> PHP4 has a certain amount of OO support, and PHP 5 has almost as much OO
> support as Java does; however, you don't have to use it!

If you want OO then it's probably best to go with a language that was
designed that way in the first place.

--
"Checking identity papers is a complete waste of time. If anyone can
be counted on to have valid papers, it will be the terrorists".

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация