I'm wanting to create a property website, but a much more dynamic and useful website, than a simple list of houses and flats available.
Including:
- Permissions Lists for Managers, Agents, Tennants (later with links to contractors available for fixing electric etc) even later on contractors (rates, why join? current jobs available etc);
Different entrances according to Permissions list, including Info on current available properties;
Financial data, total revenue, total opportunity cost, total costs, etc...
So what I want a further understanding of is how I go about creating Objects or classes for a property website, the basic functions I have created have only done with querying the database, and outputting the data into a table with a form that asks if you want all properties or prop001 ... 3.
The Real Question
Is an individual 'Property' (ie. a house) an Object, or is the Table the Object in which the data is displayed?
Can I get some help on starting the basic structure of this project? OOP Design? Planning?
Should I using a library class php file and how do I access this within my project and on other pages?
Any help much appreciated, I'm learning PHP, with the goal of becoming a develop using PHP and other languages.
Will post code when I have some feedback on where to start, ie. property class or table class or both?