Re: What is the learning curve for PHP?



K.J.Williams schrieb:
Hello,

A friend and I want to learn PHP but we have two totally different
programming backgrounds.
I have experience with procedural programming in C, and he has
experience with Visual BASIC.

PHP has a C background. A lot of functions that you know from C can be
used with PHP just like you know them. For example, there's the C
coder's much beloved sprintf(). The control strucutres like for() and
if() are also very much like C. PHP also shares with C++ the ability to
mix procedural and object oriented code. As for the VisualBASIC
programmer, there's much logic to gain and there are many oddities to
forget about ;-)

Well we wanted to know, what type of learning curve ( of difficulty )
we would have trying to learn PHP?

First success is easily obtained. That's why PHP is so popular. And the
quality of the online documentation at php.net is just great. The
hardest thing to understand when coding for the web with PHP is to
understand the oddities of the stateless HTTP protocol. You don't have
your PHP app running all day long! A request comes in, your script runs
and produces output and then the script dies. Persistence surviving a
single request has to be obtained by means of session, databases of the
use of shared memory segments.

Also, What will be the most significant changes for us to adapt to? I
wanted to know if PHP is like
bash shell scripting for Linux?

And how IS shell scripting for Linux for you? You can't assume everyone
feeling the same way about this...

OLLi

--
Kajiggers!
.



Relevant Pages

  • Re: A Lot of Questions from a Noob
    ... OOP is a language paradigm that is not specific to ... I Google'd for an introduction to object-oriented programming, ... Watch out for the die-hard Perl fanbois: ... PHP 5 OOP has come a long way from PHP 4. ...
    (comp.lang.php)
  • Re: What Next?
    ... Thanks Peter and everyone who responded, ... create webpages: First, proprietary pages for myself, and second, webpages ... since I want to be able to draw graphs from php. ... of programming and the software ...
    (comp.lang.php)
  • Re: PHP as a secure language? PHP worms? [was: Re: new linux malware]
    ... _Programming Languages: Concepts and Paradigms_ he defines some of the paradigms of programming languages; on pp 12-13, ... This book is classic but doesn't list Perl or PHP or Java -- but the concepts are the same. ...
    (Bugtraq)
  • Re: What is the learning curve for PHP?
    ... I was thinking about learning PHP, ... write scripts that produce client applications like Java? ... I have experience with procedural programming in C, ... PHP is a much higher level language than C. ...
    (comp.lang.php)
  • Re: [PHP] New to PHP question
    ... just learning PHP from what is arguably not one of the best books on PHP ... Yes, I know, they should learn proper programming practices from the ... beginning, blah blah blah. ... but I suggest that once you get beyonds the basics ...
    (php.general)