|
I am writing an ASP.NET application which I have a UI layer, business logic layer, and data access layer. From my data layer I return business objects to the business logic layer and pass these on to the UI layer. However, I'm not sure what to do when...
Started by Nick on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Then the business layer have to be in charge of converting from and to business objects have a flattened form of your....
These model have.
I find it better to have UI layer objects that model the "real" business objects.
|
|
Business Layer, Data Access Layer. Is there any resource to learn how to make relation between Business layer classes with Data Access layer classes?
Started by odiseh on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
A must have, if you really want ....
That's basically the approach we're adopting in the .Net world .
Have a look at these microsoft guidelines : It's a start point !
I've written here a post on stackoverflow which might also help you in getting the idea .
|
|
Hi all,
This is a general question about design. What's the best way to communicate between your business layer and presentation layer? We currently have a object that get pass into our business layer and the services reads the info from the object and...
Started by Herman on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
It....
Also, business logic should be put into model tier (entities to the presentation layer.
We use a listener pattern, and have events in the business layer send information that involves lots of model objects).
Further).
|
Ask your Facebook Friends
|
We are developing a web application. We want to possibly reuse the work we do here for a different application that will use the same database, and use the same business rules for reading and writing to said database.
Which design would be more correct...
Started by The Murph on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Firewall, a basic business-object layer that your website UI code (server-side, I'm assuming and your data layer starts to cross boundaries that a Data access layer or Business logic layer;Web Service->....
|
|
You find alot of hype around frameworks like The Entity Framework, and other frameworks like it. I wrote a data access layer and business object model layer of my own for a recent project and I seem to like it more than what I have read about the Entity...
Started by RyanFetz on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Its a great challenge.
Writing a data access layer is like driving a nail in your forehead.
|
|
If you have, for example, a database table called Person (ID,Name etc) what kind of object should the data access tier return to the business tier? I'm thinking something like this:
//data access tier public class DataAccess{ public interface IPerson{...
Started by mdresser on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Your controller objects, whether they are in a separate business logic layer, or within your UI layer, can then just call the DAL, which can create Spaanjaars has a nice explanation....
A reference to the business entities layer.
|
|
If there was a line of business application layered like this, would this be an appropriate division of labor :
Data Access
Invokes only stored procedures, maps properties of DTO s to a hash tablse which are used to populate ADO.NET command's parameter...
Started by MatthewMartin on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
For example is a little....
I'd hope that my business layer would contain business rules and concepts that are more abstract.
I would expect to see what you describe as your business layer as data layer type stuff.
|
|
Hello All,
We are using MVP pattern in our Presentation Layer(PL) and a WCF based service layer(SL). PL calls operation contracts on the SL and internally it does some business validations. If the validation passes, we return an obect (exposed as a data...
Started by Marshaler on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Questions/21697/how-do-you-communicate-service-layer-messages-errors-to-higher-layers-using-mvp
I'm not sure how assuming you mean "business validation" as you stated elsewhere (in which case, that makes sense.
|
|
I am attempting to create the the business and data layers for my big ASP.NET MVC application. As this is the first time for me attempting a project of this scale I am reading some books and trying to take good care at separating things out properly. ...
Started by KallDrexx on
, 8 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
The following (ideally) VS projects:
Presentation layer (where the UI stuff resides) Business layer (where the actual business logic resides) Data access layer (where you communicate with your underlying layer....
|
|
Hello,
I’m having a little Architecture problem. In my project I have a Business Logic Layer (BLL) that contains all my business rules, models and OO API for the interface. Each object has static methods like getById that return an instance of said object...
Started by IceHeat on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
You can....
It should, in theory, be able.
The DAL should have no knowledge at all about the Business Logic Layer.
The Business Layer should contain the logic to convert a Data Access Object (DAO) into a rich business.
|