PageLogicPageLogicPageLogic 11/18/2002 06:02 PM I have written modules for webservers with so many php/html files that
I lost track, so I come out with this simple module to simplify the
logic among pages.
Imagine my module is a book, with many chapter inside.
-- The book is the main page, normally index.html or index.php.
-- The module comprises of many files, each file performs some
functions.
Thus file is equivalent to a chapter.
-- Each file may contain several functions. This are the sections in
the
chapter.
Imagine if I can say goto this book, this chapter and this section. I
will need a content page to look up the pages. Thus the idea is
formed.
The content pages is stored in an .ini format and read in using my
INIPARSER class. It will be in the form:
[ This is a GrokNews Entry: (what is grok?)PageLogicGrok Headline matches for PageLogicGrok Description matches for PageLogic GrokA matches for PageLogic PageLogicThe following phrases have been identified by the grok system as matching this entry: |
Also check out: |