u0206787@nus.edu.sg Posted October 19, 2006 Share Posted October 19, 2006 Sorry if I'm asking something funny or sound stupid, but I really wish to find out what are the limitation for PHP and MySQL.What so different between Javascript or Perl to PHP? Quote Link to comment Share on other sites More sharing options...
dymon Posted October 19, 2006 Share Posted October 19, 2006 Hi,about JavaScript and PHP, the main difference is where this two are executed. JS is executed locally, I mean in the browser, this one have events like onClick for a button or onChange for text boxes. But PHP is executed on the server (Apache for example), the PHP scripts are executed and than the results are sent in the browser in HTML format.I tried to explain, I hope it's clear :).Regards, Dymon Quote Link to comment Share on other sites More sharing options...
btherl Posted October 20, 2006 Share Posted October 20, 2006 It's not a stupid question.. people spend hours debating it :)My experience is that perl and php are very similar in power. Perl is better suited for text processing, and php is better suited for web applications.Javascript is executed on the user's computer (in the browser), and it is usually used for simple tasks. Most of the brains will be in the perl and php running on the server.Pretty much anything you think of can be done by perl & mysql, php & mysql, perl & postgres, php & postgres, or other combinations. Some things are easier with a particular combination.PHP and perl are scripting languages, whereas mysql and postgres are databases. They store data and let you fetch data. Quote Link to comment Share on other sites More sharing options...
u0206787@nus.edu.sg Posted October 20, 2006 Author Share Posted October 20, 2006 thanks dymon & btherl, I agree with you that people had been debating it but to me I keep wondering why and what the different. Yet from the web I can't find any that clearly state as what both of you had explain in just some simple words. That's a great help, thanks for your time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.