Re: Re: php <-> js (was Javascript Navigation)

From: Date: Thu, 27 Apr 2006 15:37:26 +0000
Subject: Re: Re: php <-> js (was Javascript Navigation)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-234944@lists.php.net to get a copy of this message
On Thu, 2006-04-27 at 11:09, Barry wrote: > tedd schrieb: > > Hi gang: > Gang? You know... Scooby, Shaggy, and Mary-Jane. > > 1. A way to send information from js to php and have php act upon it. > > Java ... Sucks. > > 2. A way to send information from php to js and have js act upon it. > > Java ... Sucks :) 1 and 2 are completely covered by Ajax technologies. JS can push information to your PHP scripts (user input, status information, whatever). PHP in turn can return as much information -- including whether PHP's task was successful. Additionally, JavaScript can do polling already, it's just a big loop. But it also does event-driven based on user input/timers so it's not lacking anything. JavaScript can already be desk-top-like, the only difference is that the browsers all have their own quirks, and due to the stateless nature of the Web the state must be maintained both in JavaScript and in PHP. This is just business as usual. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#234944) next »