Vmusic Posted December 30, 2008 Share Posted December 30, 2008 Hi, Can somebody recommend a tutorial that shows how classes are used in a web app say with PHP/MySQL. The part that gets confusing is the interaction between classes. For example - pretend it's a web site/app that maintains a database of cars for sale. There might be: abstract db classes to push/pull data a vehicle class or auto class class(es) that manage or interact with the interface (makes the html) but how do these different classes work together or interact ? Can somebody recommend a good tutorial that explains this in clear easy to understand terms.... maybe with a simple example like this auto web site PLEASE - don't recommend a beginner tutorial on what a class is, or how to build a single class. I know this Thanks!! Classless in Columbus Quote Link to comment https://forums.phpfreaks.com/topic/138901-tutorial-on-classes-in-a-web-phpmysql-app/ Share on other sites More sharing options...
Mchl Posted December 30, 2008 Share Posted December 30, 2008 There are several things you can do. 1. Read about OOP Design Patterns (there are some tutorials on PHPferaks 2. Take a look at Zend Framework to see how it implements MVC (model-view-controller) pattern (there's an example of app there) 3. Get some open source application and see how it's built. Quote Link to comment https://forums.phpfreaks.com/topic/138901-tutorial-on-classes-in-a-web-phpmysql-app/#findComment-726353 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.