Jump to content

Recommended Posts

  • 2 weeks later...

Put simply,

 

MySQL stores your data: user info, products, articles and even data used by the application (like sessions or oftenly changed configurations values ).

 

PHP is your engine: operates on the data stored on MySQL.

 

MySQL is one type of storage, PHP can operate data from other database types, from files, and even from other systems on the internet, most often called Web Services.

 

XHTML is a container of data that is understood by all browsers, so that's how PHP (and other systems) interacts with  browsers, therefore, the end-user.

 

 

  • 3 weeks later...

Thanks of the reply, but is there not any literature about it at all? or is it just a common fact.

Thanks again

 

Cobalt - you need to realize that no "website god" decided one day "Hm I will create php/mysql/js/html to all interact. Then I will put in xmlhttprequest and wait for people to discover ajax!"

 

 

This has nothing to do about literature or documentation, these languages/technologies are separate, but as time went on people discovered that they could be used together to good effect.

 

 

It's like LAMP servers - obviously linux/apache/mysql/php are completely separate entities - nobody DECIDED they would interact, they just do

 

 

 

As for a diagram of how they interact - I'm sure there's something like this out there somewhere.... but then the diagram would just be exactly what dom_scott wrote to you. So you could save trouble by just reading what he said and drawing a picture I guess?

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.