[PHP] Re: Question for you guys on best tools for a job
Why don't you use javascript to refresh the page from time to time. Michael Champagne wrote: I'm not even sure this is possible without doing a client side java applet of some sort. We are considering porting a standard client/server application to the web which updates itself dynamically in real time based on values in a database. For instance, a field on the screen will change in real time between 'Pending', 'Working', 'Cancelled', etc. etc. based on a flag in the database. What would be the best tools for the job for an application of this sort? I've used PHP extensively and don't really see how it could be used in this case. Any ideas? Thanks in advance for any responses. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Question for you guys on best tools for a job
Michael Champagne [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm not even sure this is possible without doing a client side java applet of some sort. You might be able to munge something using a hidden frame and Javascript polling, but it would be an unneccessarily heavy load on your server. Ideally, this sounds like a server-broadcast situation: - write a client applet that connects to the server, registers, and gets the initial values; - write a login server script that registers clients and returns an initial data set; - write an update server script that updates the database and broadcasts updates to all registered clients. I would have the client re-register hourly and automatically expire registrations more than an hour-and-a-bit old. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Question for you guys on best tools for a job
Too hokey. We're talking about maybe 60 values on the page that will be changing and it should look real time. I think Flash might be a potential solution, I'm just not too familiar with it. Having the page refresh occasionally is out of the question for how many things will be changing on the client end. Mike Why don't you use javascript to refresh the page from time to time. Michael Champagne wrote: I'm not even sure this is possible without doing a client side java applet of some sort. We are considering porting a standard client/server application to the web which updates itself dynamically in real time based on values in a database. For instance, a field on the screen will change in real time between 'Pending', 'Working', 'Cancelled', etc. etc. based on a flag in the database. What would be the best tools for the job for an application of this sort? I've used PHP extensively and don't really see how it could be used in this case. Any ideas? Thanks in advance for any responses. -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ** This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction, unless specifically agreed otherwise. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect the views or opinions of Capital Institutional Services, Inc. Capital Institutional Services, Inc. accepts no liability for any errors or omissions arising as a result of transmission. Use of this communication by other than intended recipients is prohibited. ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Question for you guys on best tools for a job
Michael, Flash is a great way to do this. I have two years in Flash but am new to PHP/MySQL - one of the things you will appreciate is the ease of using actionscript on the flash side to communicate with your PHP script. And I know not everybody will like this part, but you can put all the cool bells and whistles on using Flash! I say go for it. A very simple introduction, yet one that contains the basics on everything you would want to do for your project (since the PHP script would be handling the load) is titledFoundation PHP for Flash - check it out. If you're concerned about updating variables into a dynamic text field, Flash operates on whatever frame rate you assign it, and if you want to refresh your variables you simply loop the movie around the frame containing the requesting actionscript. If you have any Flash-related questions feel free to contact me. -Kirk Michael Champagne [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Too hokey. We're talking about maybe 60 values on the page that will be changing and it should look real time. I think Flash might be a potential solution, I'm just not too familiar with it. Having the page refresh occasionally is out of the question for how many things will be changing on the client end. Mike Why don't you use javascript to refresh the page from time to time. Michael Champagne wrote: I'm not even sure this is possible without doing a client side java applet of some sort. We are considering porting a standard client/server application to the web which updates itself dynamically in real time based on values in a database. For instance, a field on the screen will change in real time between 'Pending', 'Working', 'Cancelled', etc. etc. based on a flag in the database. What would be the best tools for the job for an application of this sort? I've used PHP extensively and don't really see how it could be used in this case. Any ideas? Thanks in advance for any responses. -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ** This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction, unless specifically agreed otherwise. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect the views or opinions of Capital Institutional Services, Inc. Capital Institutional Services, Inc. accepts no liability for any errors or omissions arising as a result of transmission. Use of this communication by other than intended recipients is prohibited. ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php