I'm trying to understand the concept of CSLA (and using it with n-tier), but
I'm having trouble with it (even after browsing Lhotka's book).
Let's say I have a webform (presentation) that will insert a product into
the products table. My webform instantiates my Products class (business
layer), and calls addProduct(a,b, c,d, ...). Products.addPro duct creates and
configures the SQLCommand to run the SP (data layer) that inserts to
Products. Finally, the SP returns an error code (i.e. 0 or i) which another
method in Products will interpret as "An error occurred" or "The Insert was
successful". This string will then be sent to the webform.
How do I add CSLA to this architecture?
Thanks.
P.S. - I always thought that in 3-tier architecture the data layer was
another class that would make the actual call to the database and the
business layer would only make sure that the data being sent to the data
layer was correct and that the information sent to the windows/web form was
user-friendly. 1 1739
VMI wrote:
I'm trying to understand the concept of CSLA (and using it with n-tier), but
I'm having trouble with it (even after browsing Lhotka's book).
You might get this answered here, but your chances are higher at
<http://forums.lhotka.n et/>
--
Larry Lard
Replies to group please
When starting a new topic, please mention which version of VB/C# you
are using This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mike |
last post by:
Hey guys, need some help understanding some things that maybe someone can
explain or clarify it a little better then a text book. Here is my
understanding so far:
Class - basically a shell for your code
Fields - basically just a variable but can be "write protected"
Properties - access fields, they can retrieve data contained in the
"variable"
|
by: laura |
last post by:
I'm trying to understand fully Server.MapPath. I am writing an intranet for
a small company and want to be able to put some files accessible to all,
hyperlinked from the intranet and therefore, outside of the website area -
the idea being that I want staff to be able to copy files into folders that
can be accessed by hyperlinks on the intranet pages.
I've had a problem separating them from the intranet HTML and ASP pages,
which is...
|
by: NOSPAM |
last post by:
I have been looking into a good object/relational framework solutions for my
software application. Regardless CLSA is free, how does CSLA.NET framework
compare to other O/R solutions?
CSLA.NET
http://www.lhotka.net/
eXpress Persistent Objects (easy to use, but seems it's not robust enough,
e.g. doesn't even support nested transaction)
http://www.devexpress.com/?section=/Products/NET/XPO
|
by: Simon |
last post by:
Hi,
I understand what one the differences between std::vector, std::deque and
std::list is,
the std::vector can have data inserted/deleted at the end.
The std::deque can have data inserted/deleted at the end and at beginning
and the std::list can have data inserted/deleted anywhere.
But how can those differences be physically understood?
|
by: Sugandh Jain |
last post by:
Hi,
anyone here using object Cloning with CSLA framework for .net framework 2.0.
I want to implement cloning in some classes derived from businessBase<,
and I am using csla framework.
If anyone else here is doing that, please tell me how to do that.
Regards,
Sugandh
| |
by: boki_pfc |
last post by:
Hi Everybody,
I am looking for an advice on following:
I have that "pleasure" of reading C++ codes that have been written by
person(s) that have not attended the same C++ classes that I did or
have not read the same C++ books that I have read. This kind of
people has written some parts of the code that use notations that I am
not familiar with (and that probably also includes also 50 % of other C
++ programmers). While everybody who...
|
by: Bill Fuller |
last post by:
I am curious. Has anyone in here had in enterprise-level experience with
CSLA... especially in conjunction with Enterprise Library?
If so, what is your opinion of it? Worth considering?
|
by: GaryDean |
last post by:
I'm involved in an assessment of the CSLA Framework developed by Rockford
Lhotka. I would like to hear from anyone who has experience and opinions
regarding the viability and usefulness of this framework.
--
Regards,
Gary Blakely
|
by: subramanian100in |
last post by:
Is my following understanding correct ?
Data abstraction means providing the interface - that is, the set of
functions that can be called by the user of a class.
Information hiding means mentioning the class members(functions,
typedefs, data) under the access control labels : public, protected,
private.
Encapsulation means providing the implementation of class member
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |