Hello Amel, About the installer: I don't think it is task for the installer creating the specific PHP classes and DB tables for specific customization. I see the customizations developed in subprojects where each defines the new customized attributes for the extension points (patient name, address, etc.). Then there should be some other tool like assembler which will generate for each distribution of Care2x (distribution for specific country) the needed DB schema that will be installed by the installer. PHP classes should be implemented by hand in the customising subproject, because they contain the logic of the customisation.
About calls between components: I am thinking about MVC architecture in parallel. So, it will be task for the Controller to decide which class to call on entering certain module. The Controller for the specific distribution will know which specific extension of the core class must load. For example, the Croatia distribution Controller will know that it must load CroatiaPatient class on viewing patient details. Greetings Kaloyan On Tue, 2006-07-11 at 13:10 +0200, Robert Meggle wrote: > Hello Amel, > > > > Yes, you’re right. There should be next issues involved to the > requirement. When we have the table structure we should plan how to > use it. Let me bring an idea to it: XHTML. We could use the idea of > content management systems. What do or others think about having an > XHTML controlled front-end for the registration part? What fields are > mandatory and what should be displayed could be done in that way – > there will be no need for smarty anymore. (Sorry for that, I’m not a > fan of this smarty – but a non-smarty-partisan like me is sometimes > wrong and my personal opinion should not avoid it when there is a way > of realisation what gives us a faster solution with wider aspects J ) > > > > I think Reinier made a suggestion in that way of XML controlled > structure of an HTML page; maybe he could tell us what his idea is? > > > > Robert > > > > > > > ______________________________________________________________________ > Von:[EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von [EMAIL PROTECTED] > Gesendet: Dienstag, 11. Juli 2006 11:52 > An: care2002-developers@lists.sourceforge.net > Betreff: Re: [Care2002-developers] [BLK_LIST] Re: Registration > Page /Admission data > > > > > > Hello to all, > > now when I choose to open persons registration from menu...system > start to use, for example, persones_care.php and we have tree: > > person.php > registration.php new.php search.php > > > And now if we add new tables, new tamplates, will we have: > > person_croatia.php > registration_croatia.php new_croatia.php > search_croatia.php > > > this means that person_croatia is inherited from person.php and on > screen I will have all from person.php plus person_croatia. I don't > now if this is good, because we must, for that, change every call from > menu, something like: > > location = 'CRO' > > open("person" + location + ".php") > > OR > > in module persone add each folder for new > location...modules/persons/croatia...were...in may case I will add all > new classes, pages, templates for my needs and in menu just add > > open("module/persones/"+location + "/person_cro.php") > > > or you have some suggestions more flexibily. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Care2002-developers mailing list > Care2002-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/care2002-developers ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers