|
Posted by K.J.Williams on 04/04/07 07:06
I think my friend is going to have more trouble with PHP than I am and
were
both going to have the same trouble of switching from the mentality of
developing
command line interface programs ( me for Linux ), and gui programs
( him for
windows ) to web based programs where there is no control over what
happens
on how it looks on the clients web browser. You just pray that it
looks
good. That will be a new concept, to learn.
On Apr 3, 10:18 pm, "otrWal...@gmail.com" <otrWal...@gmail.com> wrote:
> > 2. I have JavaScript - The Definitive Guide 3rd Ed. by David Flanagan
> > published by O'reilly. I have had this book for a while so I am
> > taking the advice of learning to use HTML wtih Javascripting.
>
> Here's something else to keep in mind...
>
> Javascript and PHP have *very* similar syntax. Close enough to drive
> you crazy when you find the differences.
>
> To help my head, I code my JS like I code my PHP.
>
> Yep! $ signs for all vars and the whole lot!
>
> Yep! Makes the JS code look like PHP at first glance, but it also
> helps my poor feeble brain when I read it.
>
> But beware of the concantination symbol! PERIOD for PHP, PLUS for JS
>
> OK, the array and classes are galaxies apart, but except that... (yes,
> the list goes on) ;)
>
> walter
[Back to original message]
|