Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Externalizing Policies
Externalizing Policies [message #83836] Thu, 17 May 2007 14:17
Neeraj Bhusare is currently offline Neeraj BhusareFriend
Messages: 164
Registered: July 2009
Location: Canada
Senior Member
Hi All,
This is my first email on this group. I come from Struts Background and
lately I started with GEF. Both the frameworks are based on MVC. One
feature I like most in Struts is I am able to externalize my mappings
(HTTP to Receivers (action Objects)), so that I can change the mappings
without any change in my code. I have been working with GEF and I have
always been comparing it with Struts framework – though they both are
intended for different purposes. One thing that struck me most in GEF was
I had to describe my policies into an Edit part, Every time I have to make
any change in the policy ( Add new policy, Delete, etc), I had to make the
changes in the code. What if I don’t have much knowledge of all these edit
parts and policies?
I have been thinking towards externalizing the policy description in GEF.
By this I mean having a configurations file (same as struts-config.xml in
Struts) and writing my policies that an EditPart can hold in the file.
This will allow me to do all my policy updations without having much
knowledge about the code.
I would like to get all your suggestions towards how should I go ahead
implementing the same.

I hope this makes some sense.


Twitter : @NeerajBhusare
Blog : https://nbhusare.github.io/
Best regards, Neeraj
Re: Externalizing Policies [message #83850 is a reply to message #83836] Thu, 17 May 2007 05:46 Go to previous message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Neeraj,

If your question is about GEF you should ask it on the GEF newsgroup.
This newsgroup is concerned with modeling technologies.

Cheers
/Eike


Neeraj schrieb:
> Hi All,
> This is my first email on this group. I come from Struts Background
> and lately I started with GEF. Both the frameworks are based on MVC. One
> feature I like most in Struts is I am able to externalize my mappings
> (HTTP to Receivers (action Objects)), so that I can change the mappings
> without any change in my code. I have been working with GEF and I have
> always been comparing it with Struts framework � though they both are
> intended for different purposes. One thing that struck me most in GEF
> was I had to describe my policies into an Edit part, Every time I have
> to make any change in the policy ( Add new policy, Delete, etc), I had
> to make the changes in the code. What if I don�t have much knowledge of
> all these edit parts and policies?
> I have been thinking towards externalizing the policy description in
> GEF. By this I mean having a configurations file (same as
> struts-config.xml in Struts) and writing my policies that an EditPart
> can hold in the file. This will allow me to do all my policy updations
> without having much knowledge about the code.
> I would like to get all your suggestions towards how should I go
> ahead implementing the same.
> I hope this makes some sense.
>
Re: Externalizing Policies [message #606720 is a reply to message #83836] Thu, 17 May 2007 05:46 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6535
Registered: July 2009
Senior Member
Neeraj,

If your question is about GEF you should ask it on the GEF newsgroup.
This newsgroup is concerned with modeling technologies.

Cheers
/Eike


Neeraj schrieb:
> Hi All,
> This is my first email on this group. I come from Struts Background
> and lately I started with GEF. Both the frameworks are based on MVC. One
> feature I like most in Struts is I am able to externalize my mappings
> (HTTP to Receivers (action Objects)), so that I can change the mappings
> without any change in my code. I have been working with GEF and I have
> always been comparing it with Struts framework � though they both are
> intended for different purposes. One thing that struck me most in GEF
> was I had to describe my policies into an Edit part, Every time I have
> to make any change in the policy ( Add new policy, Delete, etc), I had
> to make the changes in the code. What if I don�t have much knowledge of
> all these edit parts and policies?
> I have been thinking towards externalizing the policy description in
> GEF. By this I mean having a configurations file (same as
> struts-config.xml in Struts) and writing my policies that an EditPart
> can hold in the file. This will allow me to do all my policy updations
> without having much knowledge about the code.
> I would like to get all your suggestions towards how should I go
> ahead implementing the same.
> I hope this makes some sense.
>


Previous Topic:[Teneo] Persistence Options
Next Topic:Externalizing Policies
Goto Forum:
  


Current Time: Thu Jan 21 16:07:31 GMT 2021

Powered by FUDForum. Page generated in 0.01584 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top