{maketoc}
|
{img src=/img/wiki_up/thekernel.jpg}
|
|
-!!What deos the Kernel do when EACH page is served
|
+!!What does the Kernel do when EACH page is served |
For every page request, here is what the KernelPackage will do:
|
!!TikiSystem::scanPackages()
|
TikiSystem::scanPackages() is an important function, and if you are reading this page, you should try to trace that function out. scanPackages will:
|
-!!!!1. Define __2 constants__ for every TikiPackage.
|
-The kernel will assume every directory in the TikiPro root is a package, and will make the constants <DIRECTORYNAME>_PKG_URL and <DIRECTORYNAME>_PKG_PATH. For example, the wiki/ directory will cause WIKI_PKG_URL and WIKI_PKG_PATH to be defined. These constants should be used when including files, such as
|
+!!!!1. Define __2 constants__ for every bitweaverPackage. |
+The kernel will assume every directory in the bitweaver root is a package, and will make the constants <DIRECTORYNAME>_PKG_URL and <DIRECTORYNAME>_PKG_PATH. For example, the wiki/ directory will cause WIKI_PKG_URL and WIKI_PKG_PATH to be defined. These constants should be used when including files, such as |
include_once (HTML_PKG_PATH.'htmlpages_lib.php');
|
or for setting URL's such as
|
- header ("location: ".POLLS_PKG_PATH."results.php?pollId=$pollId");
|
+ header ("location: ".POLLS_PKG_PATH."results.php?pollId=$pollId"); |
|
!!Fires documentation Initiative Introduction
|
-ok everyone, this is Fire, I'm taking it upon myself to interview the the great minds of tikipro in order to document and explain how the tickipro ticks...
|
+ok everyone, this is Fire, I'm taking it upon myself to interview the the great minds of bitweaver in order to document and explain how the tickipro ticks... |
|
-I am starting with a bottom up approach - thats right! With the very first file that is accessed when someone visits your tikipro site - index.php... from here, I will go through line by line documenting the main functions that get executed, and what the heck actually happens. I am going to try to explain the system as simple as possible...
|
+I am starting with a bottom up approach - thats right! With the very first file that is accessed when someone visits your bitweaver site - index.php... from here, I will go through line by line documenting the main functions that get executed, and what the heck actually happens. I am going to try to explain the system as simple as possible... |
|
-... you see... I actually don't know how the heck the thing works yet.. so... uh, Im gonna get good'ole spider, xing, and drewslater and others who wanna help (who I probably haven't met yet) to help me demystify this nice web application! Fortunately, Tikipro seams to be really well put together, so my task shouldn't be that hard!
|
+... you see... I actually don't know how the heck the thing works yet.. so... uh, Im gonna get good'ole spider, xing, and drewslater and others who wanna help (who I probably haven't met yet) to help me demystify this nice web application! Fortunately, bitweaver seams to be really well put together, so my task shouldn't be that hard! |
|
PS. Please bear with me all you senior gurus... I am a beginner, and I hope my attempts to do this are welcomed... I really hope my efforts will help others to join our project!!! Cheers
|
|