﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Some fundamental questions</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 19 Sep 2026 12:50:07 GMT</lastBuildDate><ttl>20</ttl><item><title>Some fundamental questions</title><link>http://forum.strataframe.net/FindPost7640.aspx</link><description>As I'm spending more time going through the tutorials, and helps and seeing how the system works, now I want to step back and look at SF from outside to inside, rather than jumping right into details.&lt;br&gt;
Doing so, several fundamental questions have come up and I don't seem to find a clean cut answers to them. I had looked at many other OR mappers before or products that let you create 3-tier apps or discounted apps, using memory tables and so forth. Each vendor seem to have their own definitions of Business layer, business objects, tables and so on.&lt;br&gt;
&lt;br&gt;
Now my humble request to SF team is to provide (and perhaps put it in the help as well) or point me to the right directions which defines the following concepts and also establishes relationships among them and where they fit.&lt;br&gt;
&lt;br&gt;
We have:&lt;br&gt;
&lt;br&gt;
a) Data Access Layer class&lt;br&gt;
b) Business Layer class&lt;br&gt;
c) Business Object class&lt;br&gt;
d) Data tables&lt;br&gt;
e) Views&lt;br&gt;
&lt;br&gt;
What I like to know (before jumping into methods and properties) of each one, is to have a full definition of each. For example:&lt;br&gt;
How is business layer and data access layer relate with each other?&lt;br&gt;
What's Business object in relation with Business layer?&lt;br&gt;
Is Business object simply a collection of rows with methods and events? Is it more like a disconnected memory table?&lt;br&gt;
What's data tables in relation to Business object?&lt;br&gt;
What's view in relation to data tables?&lt;br&gt;
&lt;br&gt;
Thank you in advance!&lt;br&gt;</description><pubDate>Wed, 21 Mar 2007 11:00:56 GMT</pubDate><dc:creator>Ben Hayat</dc:creator></item><item><title>RE: Some fundamental questions</title><link>http://forum.strataframe.net/FindPost7646.aspx</link><description>[quote]Sure.  One thing about the in-class training is that when you leave all of this type of information and logic is covered to the point [b][u]that it is just second nature[/u][/b].  I recommend coming to the class in May if you get the chance![/quote]&lt;br&gt;
&lt;br&gt;
That's exactly what I was thinking, as I was reading your post.&lt;br&gt;
Let's see...</description><pubDate>Wed, 21 Mar 2007 11:00:56 GMT</pubDate><dc:creator>Ben Hayat</dc:creator></item><item><title>RE: Some fundamental questions</title><link>http://forum.strataframe.net/FindPost7644.aspx</link><description>Sure.&amp;nbsp; One thing about the in-class training is that when you leave all of this type of information and logic is covered to the point that it is just second nature.&amp;nbsp; I recommend coming to the class in May if you get the chance!</description><pubDate>Wed, 21 Mar 2007 10:41:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Some fundamental questions</title><link>http://forum.strataframe.net/FindPost7642.aspx</link><description>Thanks!&lt;br&gt;
&lt;br&gt;</description><pubDate>Wed, 21 Mar 2007 10:14:49 GMT</pubDate><dc:creator>Ben Hayat</dc:creator></item><item><title>RE: Some fundamental questions</title><link>http://forum.strataframe.net/FindPost7641.aspx</link><description>Ben,&lt;P&gt;All of your questions are answered in the help.&amp;nbsp; For example, there is a diagram that shows exactly how the BO ties to the DAL which talks to the databases (Application Framework -&amp;gt; Data Access&amp;nbsp;Concepts -&amp;gt; Overview). &lt;/P&gt;&lt;P&gt;The BusinessLayer class is the class which all business objects inherit from.&amp;nbsp; A business object is just an entity with a business layer.&amp;nbsp; A business layer is nothing more than a collection of business objects.&amp;nbsp; &lt;/P&gt;&lt;P&gt;[quote]Is Business object simply a collection of rows with methods and events? Is it more like a disconnected memory table?&lt;BR&gt;[/quote]&lt;/P&gt;&lt;P&gt;A business object is the entity which houses all of the logic that interacts with the UI and the DAL.&amp;nbsp; It is the "middle tier" of the application.&amp;nbsp; The business object uses an ADO.NET data table to house all of the disconnected data that is either created or retreived from a server or database.&amp;nbsp; This is only a piece of the data.&amp;nbsp; As for a disconnected memory table...yes.&amp;nbsp; Everything in StrataFrame is disconnected and a BO runs in memory.&amp;nbsp; You can serialize a BO to a stream or to a byte array which then extends the flexibility of a BO to a true memory object it you have the need for serialization or remoting.&lt;/P&gt;&lt;P&gt;[quote]What's data tables in relation to Business object?[/quote]&lt;/P&gt;&lt;P&gt;None other than the BOs use an internal data table that can be reference on each BO through the CurrentDataTable property.&amp;nbsp; I recommend that you read the help article: Application Framework -&amp;gt; Business Layer -&amp;gt; Programmatic Access -&amp;gt; Exposed ADO.NET Components.&amp;nbsp; This will answer the next question as well in regards to a view.&amp;nbsp; &lt;STRONG&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff11"&gt;This is all covered in the help.&lt;/FONT&gt;&lt;/STRONG&gt;</description><pubDate>Wed, 21 Mar 2007 09:44:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>