<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Where to place Business rules</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Where to place Business rules</description>
  <pubDate>Wed, 29 Jul 2026 19:33:07 -700</pubDate>
  <lastBuildDate>Wed, 13 Apr 2011 10:26:16 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2603</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Where to place Business rules : Hi s_tristan;6.1.1 will be released...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10453#10453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 13-Apr-2011 at 10:26am<br /><br /><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-weight: normal; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Hi s_tristan;<div><br></div><div>6.1.1 will be released around mid June.</div></div>]]>
   </description>
   <pubDate>Wed, 13 Apr 2011 10:26:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10453#10453</guid>
  </item> 
  <item>
   <title>Where to place Business rules : Is there an estimate when release...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10449#10449</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1093" rel="nofollow">s_tristan</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 13-Apr-2011 at 6:04am<br /><br />Is there an estimate when release 6.1.1 will be available?]]>
   </description>
   <pubDate>Wed, 13 Apr 2011 06:04:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10449#10449</guid>
  </item> 
  <item>
   <title>Where to place Business rules :  Hi rbautistaole;It sounds like...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10446#10446</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 12-Apr-2011 at 12:20pm<br /><br />Hi rbautistaole;<div><br></div><div>It sounds like you want a better separation of concerns and granularity with EntityServerSaveInterceptor. This has been added as a feature request. According to the lead developer, this is planned for 6.1.1 release. As of now, another alternative could be the Remote Server Methods.&nbsp;<a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/rsmc-query" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/rsmc-query</a></div><div><div><br></div><div><br></div></div><span style="font-size:10px"><br /><br />Edited by DenisK - 12-Apr-2011 at 12:21pm</span>]]>
   </description>
   <pubDate>Tue, 12 Apr 2011 12:20:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10446#10446</guid>
  </item> 
  <item>
   <title>Where to place Business rules : Hi again.  My requeriments is...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10439#10439</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1114" rel="nofollow">rbautistaole</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 11-Apr-2011 at 6:48pm<br /><br />Hi again.<DIV>&nbsp;</DIV><DIV>My requeriments is more like Hunter described. I have many scenarios for this, as example:</DIV><DIV>1.- I have a multilevel net of objects where the cost of an object is the sum of the previous level of objects, in such case i want to make persistent the cost of the object as the sum of your object components to avoid load the full net when i need the cost of a object in top levels. For this, in legacy implementation when a object in low level is saved i recalculate the cost of the parent level as cost += objectchild.cost - objectchild.originalcost.</DIV><DIV>2.- When i save a purchase order item, i need to CREATE an object&nbsp;to save the &nbsp;stock for the associated product, i need intercept the save of purchase order item an as part of the same transaction create the stock item.</DIV><DIV>&nbsp;</DIV><DIV>I dont like the save interceptor because i think that the onsaving event should be an "as class" event to encapsulate the logic by each class and not for all class entities. (I have used XPOBJECT ORM by DevExpress and using the Onsaving event in my object to ths business rules)</DIV><DIV>&nbsp;</DIV><DIV>Do you have another alternative to my requeriments?</DIV><DIV>thanks.</DIV>]]>
   </description>
   <pubDate>Mon, 11 Apr 2011 18:48:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10439#10439</guid>
  </item> 
  <item>
   <title>Where to place Business rules : Hi Hunter;Based on this statement,&amp;#034;how...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10435#10435</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 11-Apr-2011 at 11:56am<br /><br />Hi Hunter;<div><br></div><div>Based on this statement,</div><div><br></div><div>"<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">how to make DevForce have a server side process that inspects this save......."</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">it sounds like you want to intercept and inspect the save. We can do this by using EntityServerSaveInterceptor. Please see the following links for further details.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/save-lifecycle-server" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/save-lifecycle-server</a></span></div><div><br></div><div><a href="http://drc.ideablade.com/Api&#068;ocumentati&#111;n/webframe.html?IdeaBlade.EntityModel.Server~IdeaBlade.EntityModel.Server.EntityServerSaveInterceptor~AuthorizeSave.html" target="_blank">http://drc.ideablade.com/ApiDocumentation/webframe.html?IdeaBlade.EntityModel.Server~IdeaBlade.EntityModel.Server.EntityServerSaveInterceptor~AuthorizeSave.html</a></div><div><br></div><div>I hope this is what you're looking for. If not, please let me know.</div>]]>
   </description>
   <pubDate>Mon, 11 Apr 2011 11:56:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10435#10435</guid>
  </item> 
  <item>
   <title>Where to place Business rules : DenisK, I have the same question,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10421#10421</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=996" rel="nofollow">Hunter</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 08-Apr-2011 at 9:35am<br /><br /><P>DenisK,</P><DIV>I have the same question, but it is not related to concurrency. </DIV><DIV>&nbsp;</DIV><DIV>I have other subprocesses related to system-to-system communication that I want to execute. </DIV><DIV>&nbsp;</DIV><DIV>So, I save a transaction and the state of that transaction changes to a state that lets the system know that it now needs to send send a message to another system. I like being able to just change the state of a field on a record and save it, but I do not see how to make DevForce have a server side process that inspects this save and then does other work based on the state and possible reject the state if the other system is down. (I know this last part can be debated, but in the current architecture there is no middleware that can be used to store the message if the other system is down.)&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>I look forward to learning how to do this in DevForce. </DIV><DIV>&nbsp;</DIV><DIV>Take care...</DIV>]]>
   </description>
   <pubDate>Fri, 08 Apr 2011 09:35:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10421#10421</guid>
  </item> 
  <item>
   <title>Where to place Business rules : Hi rbautistaole;If I understand...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10377#10377</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 04-Apr-2011 at 7:57pm<br /><br />Hi rbautistaole;<div><br></div><div>If I understand correctly, you want to do the following:</div><div><br></div><div>1. You have a customer who wants to purchase a product.</div><div><br></div><div>2. You present the customer with the product.</div><div><br></div><div>3. When the customer commits the purchase order, you want to check whether the product is still in stock because it's possible for another customer to buy the last product.</div><div><br></div><div>For this use case, I believe the appropriate way to handle it is using concurrency.</div><div><br></div><div>This is quite a broad topic in DevForce. See if this can get you started.</div><div><br></div><div><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/save-c&#111;ncurrency" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/save-concurrency</a></div><div><br></div><div>I hope I've understood your requirement correctly. If not, please feel free to let me know.</div>]]>
   </description>
   <pubDate>Mon, 04 Apr 2011 19:57:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10377#10377</guid>
  </item> 
  <item>
   <title>Where to place Business rules : Hi. I&#194;&#180;m evaluating DevForce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10366#10366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1114" rel="nofollow">rbautistaole</a><br /><strong>Subject:</strong> 2603<br /><strong>Posted:</strong> 01-Apr-2011 at 6:42pm<br /><br />Hi.<DIV>I´m evaluating DevForce and i have any questions about the place for some business rules.</DIV><DIV>&nbsp;</DIV><DIV>Imagine an use case to place a purchase order. In the process when a product is selected to the order, i want to verify the existences for the product (how you suggest implement this calidation rule?) , later when the order is placed, in the server i want to make the same validation BUT WITH FRESH stock items, since the stock may be changed in the interim, and if all is correct, then the existences must be updated maybe creating a stock object, or updating a field in the product object.</DIV><DIV>&nbsp;</DIV><DIV>Can you give to me a suggest to implement ths use cas with devforce?</DIV><DIV>&nbsp;</DIV><DIV>With RIA SERVICES I think isolated the business rules in a Domain Service to purchase orders.</DIV><DIV>&nbsp;</DIV><DIV>Excuse my bad english.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 01 Apr 2011 18:42:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2603&amp;PID=10366#10366</guid>
  </item> 
 </channel>
</rss>