[cvs] [Wiki] changed: PopulatingYourFirstModule
Wiki Guest
wikiguest at horde.org
Mon Feb 9 00:25:24 UTC 2009
guest [129.187.43.121] Sun, 08 Feb 2009 19:25:24 -0500
Modified page: http://wiki.horde.org/PopulatingYourFirstModule
New Revision: 1.5
Change log: content added
@@ -63,11 +63,14 @@
++ Side Menu
+ Calling procedure at entering the application
-If a module is entered via the side-menu, usualy the url to the
module-folder was provided. The link ist
http://<myHordeInstallation>/<mymodule> without any file. So the
calling Procedure starts by executing the index.php bye the webserver.
-
+If a module is entered via the side-menu, usualy the url to the
module-folder was provided. The link ist
http://<myHordeInstallation>/<mymodule> without any file. So the
calling Procedure starts by executing the index.php oh the webserver.
+Procedure:
+* Executing index.php: initialzing, load configfiles and load the
page which should be displayed at the beginning (e.g. in Skeleton:
list.php).
+* list.php calls >module>/lib/base.php.
+* now lists.php is displayed. By Clicking on any Menu-Item another
Contentpage as list.php (but of course also list.php again) could be
displayed (->executed).
+ Permissions
The module's permissiontree which includes the logical structure of
all permissions available in this module is defined in
<module>/lib/api.php
@@ -75,14 +78,16 @@
Further information about permissions is available at
http://wiki.horde.org/Doc/Dev/PermsPackage
+ Content-Page
-+ Services
-
-+ Misc
-
+Basic Procedure to create Content-Pages:
* create .inc files that display the elements on the screen
* create any php files needed to fill in forms
+It is a good point to start a contentpage by copying the Skeleton's list.php
+All viewable pages ar located in the module's root-folder. All
businesslogic (classes etc) are located in separate files in
<module>/lib.
++ Services
+
++ Misc
More information about the cvs
mailing list