On Jan 7, 2011, at 12:12 PM, Daniel Brown wrote: > On Fri, Jan 7, 2011 at 12:01, Joshua Kehn <josh.k...@gmail.com> wrote: >> >> Why are you writing a command line application in PHP? I would think that is >> starting off on a very wrong foot. > > I would not be exaggerating to say that I've written over a > thousand command line applications in PHP since about 2003. For a > variety of reasons and uses (more and more because my wife needs > something done or I'm adding more home automation stuff) I write no > less than ten each week. For the majority, it's because it's easier > than writing it in C and more portable than Bash --- I can write a PHP > script and put it on a dozen machines at home and in the offices and > it'll work the same (when written properly). No need to worry about > OS or architecture. > > > -- > </Daniel P. Brown> > Network Infrastructure Manager > Documentation, Webmaster Teams
Using another language more suited towards CLI / standalone (non-web) development would be easier. PHP at it's core is a templating language. I don't think it is as suited as say Python for developing standalone applications. Regards, -Josh ____________________________________ Joshua Kehn | josh.k...@gmail.com http://joshuakehn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php