Jump to content

php & MySQL limitation


u0206787@nus.edu.sg

Recommended Posts

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
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.