Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Externalizing Policies
Externalizing Policies [message #83836] Thu, 17 May 2007 10:17
Eclipse UserFriend
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 #83850 is a reply to message #83836] Thu, 17 May 2007 01: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 01:46 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 03:07:03 EDT 2025

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

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

Back to the top