📄 readme
字号:
This module is the result of a test. I wanted to know what it takes toimplement this classical examples of textbooks about dynamic webpageswith sitemgr. I think the result shows that the idea behind sitemgr, aframwork for modules inside an application that is itself insideanother framwork (phpGroupWare), is not very efficient, at least theway sitemgr implements it. And the poor reponse from users to sitemgrsince I proposed this modularized architecture probably shows the samething. These are the problems I encountered, and could not solve in asatisfactory way:- I did not find a way how a module could define its own databasetables, and those be installed in a simple way like phpgw's setupdoes, but without blessing the module into an independentapplication (what I did, since I did not know how to do better).- In sitemgr's architecture there are two interfaces for a model: Onefor contributors defining a block for which the module is a producer,one for administrators defining properties that limit the optionscontributors have or the way a module behaves. It works, but it seemsto restrictive, since you have to play tricks if you want to use itfor simple tasks like defining guestbooks.- Sitemgr and maybe phpgroupware in general lack a simple model forsecurity and ACL. Sure phpgroupware has its ACL class, but it is noteasy to use it in a simple way, so that you can apply it to differentobjects in a coherent manner. Or it might be my failure to grasp how Ishould phpgroupware's ACL better. Sitemgr has its ACL for categories,but I did not find a simple way how to extend this to the objects thatmay appear on the website.Anyway, here is what I have come up with, and if you stumble aboutthis, and are curious and courageous, try it for yourself (readINSTALL in order to know how). If you want to make something actuallyusable from it, tell me about it!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -