|
-
Object Modeling for the WEB
I have been mentored by folks that understand your methodologies of OOD.
Hopefully, they have understood your pratices and applied them to me.
I have no problem modeling a VB application for objects and events, however
I constantly struggle with providing a model when we are implementing an
tiered approach with ASP, COM, MTS, and RDS.
My struggle stems from the physical "middle-tier". It doesn't play a role
in the object model nor the event model. Where does it go? Am I mistaken?
One example, an OCX running in a webpage asks a middle-tier object to return
an object (from my object model). The objects returned have no database code
whatsoever, but the middle-tier object did and is running as a stateless
object. The middle-tier business object simply retrieved the recordset and
built my object following the rules defined for the object model. I have
no problem diagramming it though I cannot determine how to document it.
Do the modeling practices change for OOD when the web is a factor?
Thanks, Greg
-
Re: Object Modeling for the WEB
"Greg Dirst" <gregdirst@yahoo.com> wrote:
>
>
>I have been mentored by folks that understand your methodologies of OOD.
>Hopefully, they have understood your pratices and applied them to me.
>
>I have no problem modeling a VB application for objects and events, however
>I constantly struggle with providing a model when we are implementing an
>tiered approach with ASP, COM, MTS, and RDS.
>
>My struggle stems from the physical "middle-tier". It doesn't play a role
>in the object model nor the event model. Where does it go? Am I mistaken?
>
>One example, an OCX running in a webpage asks a middle-tier object to return
>an object (from my object model). The objects returned have no database
code
>whatsoever, but the middle-tier object did and is running as a stateless
>object. The middle-tier business object simply retrieved the recordset and
>built my object following the rules defined for the object model. I have
>no problem diagramming it though I cannot determine how to document it.
>
>Do the modeling practices change for OOD when the web is a factor?
>
>Thanks, Greg
Greg:
I think I'm in trouble no matter how I answer here. I think this is a better
question for someone who
does formal system designs on a larger scale. So I won't even pretend to
tell you the "best" way
to document your system.
As for me: I tend to break things up. If I have a middle tier, I'd model
and document it on its own,
taking the most care to define the interface to the other tiers. The whole
idea of the multi-tier approach
is to isolate pieces of an application from each other behind such clearly
defined interfaces. So I focus on
specifying/documenting each component, and its interfaces.
But I don't write enterprise applications and am not even familiar with all
the latest formal modeling
approaches and theories. So don't listen to me.
Dan
Similar Threads
-
By CodeMage in forum Architecture and Design
Replies: 0
Last Post: 09-24-2002, 07:26 AM
-
By madhavi pathi in forum .NET
Replies: 4
Last Post: 09-03-2002, 12:49 PM
-
By Steve Hiner in forum .NET
Replies: 7
Last Post: 04-22-2002, 09:19 PM
-
By Derek Mooney in forum .NET
Replies: 94
Last Post: 10-29-2001, 08:44 PM
-
By Tom Shreve in forum Enterprise
Replies: 0
Last Post: 04-07-2000, 08:15 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks