Login  Register

Re: Dev - Party Application

Posted by Carlos Barros-2 on Apr 26, 2006; 6:59pm
URL: http://ofbiz.116.s1.nabble.com/Dev-Party-Application-tp167779p167789.html

On Wed, 26 Apr 2006 18:23:09 +0100
David E Jones <[hidden email]> wrote:

>
> Carlos,
>
> It should be possible to use everything in OFBiz except the applications by simply removing the applications directory and perhaps the reference to it in the component-load.xml file. We would like to make it possible to use the framework independently and so have reorganized things and made changes in this direction over the years, but I'm not aware of any extensive testing having been done on it for using it this way.
>
> The security data model only has one link to the party data model and that is the UserLogin.partyId field and the corresponding foreign key. If you comment out the relation tag to define it then it should work fine, and the partyId can be left null.

If i do a quick search for Party in the entitymodels i get 3 files.
the security one is that one u talked about.. the other two and not sure
but i think the relation is used on by the Party application, so it is should
be safe to remove the relation..

ofbiz@zaphod:~/ofbiz/framework$ find . -name entitymodel.xml -exec grep -l Party {} \;
./common/entitydef/entitymodel.xml
./security/entitydef/entitymodel.xml
./webapp/entitydef/entitymodel.xml
ofbiz@zaphod:~/ofbiz/framework$

Well, Adrian said about modifying the UI, it can be one good option too. In the
hotel backend demo the party application is completely modified. I think the
best choice here is remodeling this application to fit my needs. About the
other applications, the problem is that I'll not use it, actualy I dont need it
(at least for now). But the party one I'll need and I think the best choice,
as Adrian said, is remodeling the UI. Is there some document about the datamodel
of the party application, so I can adapt the UI to my needs, and remove what I dont
need?

regards

>
> Again this hasn't been thoroughly tested, but should work fine. If you do find any dependencies as you try it please let us know (perhaps with a Jira issue submission, but even a mailing list message, preferably on the users list as this is concerned more with the use of OFBiz than development of OFBiz).
>
> -David
>
>
> Carlos Barros wrote:
> > hi list!
> > I've sent one email to the list yesterday about not using the applications
> > shipped with ofbiz framework and tryied to do some research on it.
> > I figured out that the framework disposes a simple userlogin data model,
> > in the security directory inside framework/ that is used as the base
> > authentication for the framework. But further research pointed me
> > that this model (and others too) is someway linked with the party
> > application. I dont know about the other modules but the link in the
> > user login data model is required, and very simple to change. The problem
> > is: I dont know how deep is the link between the party application and the
> > framework itself. I'm asking this cause I want to use the framework to develop
> > my own set of application. I really liked this framework, it seems that I can
> > develop stuffs much quickier, but I dont want to use the applications
> > shipped with it, and I really dont know if this task is just as simples as
> > remove the link between party and the framework from the datamodels inside the
> > framework directory, or if the framework (CODE) is linked with this app.
> >
> > any one can point me some directioin on how to do this?
> > best regards
> >
> > Carlos Barros
> >
> >
> >  
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev