Re: Converting a javascript calculating page to a PHP one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2010-07-17 at 09:35 -0600, The Doctor wrote:

> Quick question, ho easy is this?
> 
> -- 
> Member - Liberal International	This is doctor@xxxxxxxxxx Ici doctor@xxxxxxxxxx
> God, Queen and country! Never Satan President Republic! Beware AntiChrist rising! 
> http://twitter.com/rootnl2k http://www.facebook.com/dyadallee
> Australia!! Vote to throw the REpublicans to the sharks!
> 


Not sure exactly what you're after, but PHP and Javascript don't run in
the same place (PHP is all on the server and is never seen by the
browser) so some things just won't translate.

Having said that, PHP is far more powerful, and anything Javascript can
do calculation-wise, PHP can do faster.

So to answer your question, some things like only updating part of the
page won't be possible without Javascript, but on the whole you should
be able to work round that. As for how easy it is, well, as you've not
said what it is you want to convert, there's no way to tell how easy it
would be.

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux