Re: [PHP] Remote Robot Control with PHP
On Tue, October 31, 2006 2:54 pm, Prathaban Mookiah wrote: alone to do the entire job due the high delay it takes to connect to the telnet port on the robot, (I adopted the PHPTelnet class written by Antone Roundy - http://www.geckotribe.com/php-telnet/), I could not resist using it for some part of the application. So the model I used for my purpose is this: Browser - WebServer - Java Robot AJAX PHP As cool as this might be, and as much as I love PHP, I have to suggest that PHP has little Added Value here, other than as an academic exercise, as you have presented it... I think you would want to express what your perceived added value of PHP in the process is, as I would expect that you'd just have AJAX talking to Java, or Java applets or whatever, with no PHP, and achieve the same output with less overhead. So what's the compelling added value of PHP here? -- Some people have a gift link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Remote Robot Control with PHP
I totally agree with your view. PHP does not bring in any added value into this project. The primary impetus behind me using PHP was my personal liking towards PHP. But this is a good point to ponder upon - what benefits does PHP offer to the academic community over traditional cgi tools. One thing is the ease of configuration and deployment of PHP. As someone doing research, I do not want to get bogged up with the overwhelming intricacies involved with installing and configuring a servlet or configurting a .net environment. At least I find them too complex. PHP on the other hand saves so much time, that I can just concentrate on writing the scirpt and generating the result instead of googling on how to troubleshoot a misbehaving cgi program. And I kind of disagree with you about the overhead issue. I did try a servlet running on a TomCat and I could say PHP on a Apache was not too bad at all. And applets are a big security headache. Besides I am not sure if there are any licensing issues involved with Java. Any other inputs for the list? I can use some ideas for my papers. ha ha.. Cheers, Prathap -- Original Message --- From: Richard Lynch [EMAIL PROTECTED] To: Prathaban Mookiah [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Wed, 1 Nov 2006 14:50:11 -0600 (CST) Subject: Re: [PHP] Remote Robot Control with PHP On Tue, October 31, 2006 2:54 pm, Prathaban Mookiah wrote: alone to do the entire job due the high delay it takes to connect to the telnet port on the robot, (I adopted the PHPTelnet class written by Antone Roundy - http://www.geckotribe.com/php-telnet/), I could not resist using it for some part of the application. So the model I used for my purpose is this: Browser - WebServer - Java Robot AJAX PHP As cool as this might be, and as much as I love PHP, I have to suggest that PHP has little Added Value here, other than as an academic exercise, as you have presented it... I think you would want to express what your perceived added value of PHP in the process is, as I would expect that you'd just have AJAX talking to Java, or Java applets or whatever, with no PHP, and achieve the same output with less overhead. So what's the compelling added value of PHP here? -- Some people have a gift link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- End of Original Message --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Remote Robot Control with PHP
Hello List, I thought of sharing my experience of writing a controller to remotely control a robot through a webserver using PHP. Though I could not use PHP alone to do the entire job due the high delay it takes to connect to the telnet port on the robot, (I adopted the PHPTelnet class written by Antone Roundy - http://www.geckotribe.com/php-telnet/), I could not resist using it for some part of the application. So the model I used for my purpose is this: Browser - WebServer - Java Robot AJAX PHP I used PHP to communicate between the Java program which I run in the background and the AJAX calls from the browser. This setup works fine for my purposes and satisifies the strict time constraints. If someone has a better idea of implementing this thing in PHP, please do let me know your comments. There is a lot more to do in this project and I hope to make use of PHP a lot along the way. This is a NSF funded project and this work will be published in some leading journals. What I am excited about is the prospect of putting in a word about PHP in these journals, since as far as I know, it is not too well known in the academic circles. Regards, Prathap -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Remote Robot Control with PHP
Cool! On 10/31/06, Prathaban Mookiah [EMAIL PROTECTED] wrote: Hello List, I thought of sharing my experience of writing a controller to remotely control a robot through a webserver using PHP. Though I could not use PHP alone to do the entire job due the high delay it takes to connect to the telnet port on the robot, (I adopted the PHPTelnet class written by Antone Roundy - http://www.geckotribe.com/php-telnet/), I could not resist using it for some part of the application. So the model I used for my purpose is this: Browser - WebServer - Java Robot AJAX PHP I used PHP to communicate between the Java program which I run in the background and the AJAX calls from the browser. This setup works fine for my purposes and satisifies the strict time constraints. If someone has a better idea of implementing this thing in PHP, please do let me know your comments. There is a lot more to do in this project and I hope to make use of PHP a lot along the way. This is a NSF funded project and this work will be published in some leading journals. What I am excited about is the prospect of putting in a word about PHP in these journals, since as far as I know, it is not too well known in the academic circles. Regards, Prathap -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php