RE: [PHP] Event based applications?

2002-01-12 Thread Matt Friedman

JavaScript runs on the client, PHP runs at the server. PHP cannot access
client side events directly.

JavaScript cannot access the database (actually it can through Internet
Explorer, but that's different story...)

You'll use a combo of both languages. 

Matt Friedman
Web Applications Developer
www.SpryNewMedia.com
Email: [EMAIL PROTECTED]
 

-Original Message-
From: Morten Nielsen [mailto:[EMAIL PROTECTED]] 
Sent: Saturday January 12, 2002 1:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Event based applications?

Hi,

I am about to make an homepage. It is going to be very event based. When
the
user presses different buttons different functions should be called.
At the same time I am going to use a database to store some data.
My question is: Should I use PHP or JavaScripts?
I would like to have a server based page, but PHP doesn't support the
event
driven methods like JavaScripts.

Please send your comments,
Morten



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Event based applications?

2002-01-12 Thread Andrew Brampton

How do you plan to place stuff in a database without using a "Server based
page"?

I think you will need to use a combination of the 2. Make the JScript call
PHP pages to do the handling of your events.

Andrew
- Original Message -
From: "Morten Nielsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 12, 2002 7:36 PM
Subject: [PHP] Event based applications?


> Hi,
>
> I am about to make an homepage. It is going to be very event based. When
the
> user presses different buttons different functions should be called.
> At the same time I am going to use a database to store some data.
> My question is: Should I use PHP or JavaScripts?
> I would like to have a server based page, but PHP doesn't support the
event
> driven methods like JavaScripts.
>
> Please send your comments,
> Morten
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]