I understand from the Forum that the Project’Or RIA PHP Framework is a homemade one.
I would like to understand how this Framework works in order to do new report, try to custom display, reduce description field from activities and maybe implement new functionalities...
I would be able to understand it by myself but it’s going to take me lot of time.
As there isn’t so much comment in the code, I was hoping someone has already done a kind of guide for developers.
So if someone is into it or already did it, I’ll be glad if he could share it to me. I’ll also be glad to complete it once I’ll be more familiar with this framework.
Hi,
There is not developer document except the few comments in the code.
But the core is not hard to understand :
- all classes are in /model
- main persistence framework is in /model/persistence
- in most cases, you'll just have to upgrade the model to have changes, for instance :
=> comment a property to stop showing (and managing) it
=> create a new property at the place you want it to appear, create corresponding field on corresponding table : the new field appears (format depending on field format)
Other information :
Framework is based on some MVC strructure (not very strict).
=> /view : all the GUI tools, including all the js code
=> /tool : kind of controler, including code to manage updates, page refresh
=> /model : the model, including definition of elements
=> /model/persistence : the persistence framework
=> /external : external libraries (dojo, html2pdf,...)
=> /db => the sql statements for upgrades
=> /reports => source for reports
Things to know to buil new report :
=> add new report in report table, including file name = php script that will generate report
=> add parameters in reportparameter table, if needed
=> manage habilitations so that user can access the report
At this step you should be able to see new report in report selection screen
=> design your new report as php script (easier is to copy an exiting one)
=> run / test your new report
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.