cobalt-rose Posted April 17, 2009 Share Posted April 17, 2009 Hello there i am looking for a diagram/schema that basically illustrates how php/mysql/xhtml interact in a web page? As i wish to understand how it is all put together. Can anyone help? Many thanks C¬Rose Quote Link to comment https://forums.phpfreaks.com/topic/154481-how-phpmysqlxhtml-interact/ Share on other sites More sharing options...
jcombs_31 Posted April 17, 2009 Share Posted April 17, 2009 The simplest way to explain it is that MySQL stores your data, PHP interacts with that data, and XHTML presents the data. Quote Link to comment https://forums.phpfreaks.com/topic/154481-how-phpmysqlxhtml-interact/#findComment-812255 Share on other sites More sharing options...
cobalt-rose Posted April 17, 2009 Author Share Posted April 17, 2009 Thanks of the reply, but is there not any literature about it at all? or is it just a common fact. Thanks again Quote Link to comment https://forums.phpfreaks.com/topic/154481-how-phpmysqlxhtml-interact/#findComment-812424 Share on other sites More sharing options...
jcombs_31 Posted April 17, 2009 Share Posted April 17, 2009 There is plenty of literature, did you try google? Quote Link to comment https://forums.phpfreaks.com/topic/154481-how-phpmysqlxhtml-interact/#findComment-812430 Share on other sites More sharing options...
cobalt-rose Posted April 18, 2009 Author Share Posted April 18, 2009 Yer i googled it and could only find books that taught you how to program :s Quote Link to comment https://forums.phpfreaks.com/topic/154481-how-phpmysqlxhtml-interact/#findComment-813172 Share on other sites More sharing options...
dom_scott Posted April 29, 2009 Share Posted April 29, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/154481-how-phpmysqlxhtml-interact/#findComment-821894 Share on other sites More sharing options...
ambertch Posted May 15, 2009 Share Posted May 15, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/154481-how-phpmysqlxhtml-interact/#findComment-834459 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.