<?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 : DevForce as Data Access Vs. Business Layer</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : DevForce as Data Access Vs. Business Layer</description>
  <pubDate>Fri, 17 Apr 2026 10:08:50 -700</pubDate>
  <lastBuildDate>Tue, 31 Jul 2007 09:26:05 -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=337</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>DevForce as Data Access Vs. Business Layer : I would argue that it is always...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=337&amp;PID=811#811</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 337<br /><strong>Posted:</strong> 31-Jul-2007 at 9:26am<br /><br />I would argue that it is always correct to use DevForce for its data access capabilities while at the same developing as much of your own custom business logic.&nbsp; DevForce is meant to be a tool that provides the necessary infrastructure that allows you concentrate on providing your own unique custom business logic. <DIV>&nbsp;</DIV><DIV>You can also build your own business objects that do not inherit from DataTable and DataRow,&nbsp; For an example of this, see the advanced tutorial on "Binding to Non-Persistable Business Objects".</DIV><DIV>&nbsp;</DIV><DIV>However, if you do do intend to persist your custom business objects to a back-end database, I would argue that you should use DevForce for this.&nbsp; Otherwise, you will have two different persistence mechanisms.</DIV><DIV>&nbsp;</DIV><DIV>I understand your complaint about<EM> the extra 110 or so&nbsp;devforce data row properties and methods (which just adds to the confusion and makes the overall business class a mess</EM>), but that's no reason to throw the baby out with the bathwater.&nbsp; If you use regions to hide this code (which you probably don't want to look at anyway),&nbsp; I don't the final concrete classes confusing at all.&nbsp; You should be looking at your own code anyway, not the code that is automatically generated.</DIV><DIV>&nbsp;</DIV><DIV>I believe that the best way to provide your own "Entity Navigation" is by extending and enhancing our existing mechanisms.&nbsp; There isn't a lot we have provided in terms of security (but see our tutorials on authentication and authorization), so I think there is a lot of value you could add in terms of security.</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by davidklitzke - 31-Jul-2007 at 9:28am</span>]]>
   </description>
   <pubDate>Tue, 31 Jul 2007 09:26:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=337&amp;PID=811#811</guid>
  </item> 
  <item>
   <title>DevForce as Data Access Vs. Business Layer : My question is: Is it ever ok...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=337&amp;PID=796#796</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=77" rel="nofollow">jozza</a><br /><strong>Subject:</strong> 337<br /><strong>Posted:</strong> 30-Jul-2007 at 12:19am<br /><br /><DIV>My question is: Is it ever ok to use devForce primarily for data access and use your own business layer to perform business logic. In this scenario, aggregation is used to store a reference to the devForce Entity inside our own custom business object. This means that our custom business object can control "Entity Navigation" at a more granular level based on our security model AND&nbsp; we end up with a business entity without all the extra 110 or so&nbsp;devforce data row properties and methods (which just adds to the confusion and makes the overall business class a mess).</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><span style="font-size:10px"><br /><br />Edited by jozza - 30-Jul-2007 at 12:21am</span>]]>
   </description>
   <pubDate>Mon, 30 Jul 2007 00:19:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=337&amp;PID=796#796</guid>
  </item> 
 </channel>
</rss>