> From: Mark Haney
> 
> I understand the desire to 'keep with one scripting language', but what
> I don't understand is why take a stand like that, yet continue to use
> javascript with PHP and ASP pages.  Seems to me, that in the right
> instance combining the two can be very powerful.  Personally, I've found
> the flexibility in report manipulation of perl to be better than
> anything else I've used, so I plan on keeping it for reports and using
> PHP for the front end/UI stuff.

This exposes the source of your confusion. Javascript is executed in the 
browser, while Perl, PHP, ASP and JSP are all executed on the server. So JS 
simply complements all of the others. The biggest issue is that you cannot 
depend on JS being allowed on the client. It is seen by many as a security 
problem, a very reasonable view, so it will be disabled either globally or by 
using NoScript or similar add-ons. As a result, it should never be used to 
enable critical elements of a web page, but only to enhance the presentation.

Bob McConnell


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to