Differences
This shows you the differences between the selected revision and the current version of the page.
wiki:copyright 2009/01/26 09:11 | wiki:copyright 2020/02/06 11:04 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Sugestion on class structure for PunBB2.0 ====== | + | {{https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/PD-icon.svg/31px-PD-icon.svg.png}} |
- | + | This text has been released into the [[http://en.wikipedia.org/wiki/Public_domain|public domain]]. This applies worldwide. | |
- | ===== Graphical representation ===== | + | |
- | + | ||
- | ===== Explanation ===== | + | |
- | There will be 2 versions of each class: | + | |
- | - the normal class (Read only) | + | |
- | - the _write version (extension of normal class) which will allow storage into the database | + | |
- | + | ||
- | The classes | + | |
- | * PunBB: This is the parent calss for all other classes, all other classes will use this class as a basic data structure. This class will read the basic config from the db and config file, it will have a member object thats storing the db connection. actually this class will replace all current global variables. | + | |
- | * PunBB-category: This is basicly a wrapper class (read and write) around the forum categories | + | |
- | * PunBB-forum: This is basicly a wrapper class (read and write) around the forums | + | |
- | * PunBB-Topic: This is basicly a wrapper class (read and write) around the topics | + | |
- | * PunBB-Posts: This is basicly a wrapper class (read and write) around the Posts | + | |
- | * PunBB-User: This class will handly all user specifick tasks, login, logout, update profile, .... there will be a PunBB-User-Abstract class to make it easy for people to design there own class for user handling | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |