|
Posted by Oliver Grδtz on 03/30/07 16:27
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!
Navigation:
[Reply to this message]
|