|
-
December 14th, 2011, 03:22 PM
#2
Re: PHP to Javascript
I wonder why this is the latest trend in scripting.... Everyone seems to forget the distinction between JavaScript ( Clinet side language ) and PHP ( Server side language ).
In my opinion, when you have to "convert" code to JavaScript from PHP, it is :
1) Bad planning and design
2) Completely and utterly unecessary
3) Senseless.
Make your PHP code as such, that JavaScript an access objects from it as well - a common way of doing this is through the URL string manipulation and hidden HTML Form fileds.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|