freecrm
New Member
- Messages
- 629
- Reaction score
- 0
- Points
- 0
I am about to embark on a fairly complex modular specification capture system, revolving around a simple parent table (with ID's) and numerous component child-tables, linking back to the main parent table.
The form entry (insert) pages will also have field dependancies. i.e., if one drop-down menu option is selected, a number of fields become available. If a different menu option is selected, a different set of menu options becomes available. (This alone creates problems without AJAX)
I have been advised that the best way to achieve this is using OOL or classes, but after starting to read a little about them, I cannot get my head around how they can be applied to this process.
Is anyone able to explain - in simple english - what a class is and how it might be applied to this process?
Class Confused() {
function PrintConfusion() {
echo "what the hell?";
}
$weird<=Confused();
echo $weird;
}
....arrrghhh!
The form entry (insert) pages will also have field dependancies. i.e., if one drop-down menu option is selected, a number of fields become available. If a different menu option is selected, a different set of menu options becomes available. (This alone creates problems without AJAX)
I have been advised that the best way to achieve this is using OOL or classes, but after starting to read a little about them, I cannot get my head around how they can be applied to this process.
Is anyone able to explain - in simple english - what a class is and how it might be applied to this process?
Class Confused() {
function PrintConfusion() {
echo "what the hell?";
}
$weird<=Confused();
echo $weird;
}
....arrrghhh!