CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects.portal_starter_kit Tags:
Item Type: Date Entered: 6/17/2003 8:11:33 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 6 Views: 33 Favorited: 0 Favorite
7 Items, 1 Pages 1 |< << Go >> >|
"javiguillen" <
NewsGroup User
Business Layer6/17/2003 8:11:33 PM

0

How is the business layer defined in the IBuySpy Portal? I see that most of the 'components' are data access components, but I dont see any clear pattern in how the business rules are coded throughout the application.... is it all mixed up with the Presentation Layer? the ASPX pages code-behind?
"Never argue with an idiot; He will drag you down to his level and beat you with experience"
"roberot" <>
NewsGroup User
Re: Business Layer6/17/2003 8:31:00 PM

0

Are you looking for ASPNetPortal namespace or a batch file who compiles all BL into one DLL?
Best regards,

Ivan Andrade
"javiguillen" <
NewsGroup User
Re: Business Layer6/17/2003 8:44:17 PM

0

no, im looking for a conceptual design to better understand the architecture
"Never argue with an idiot; He will drag you down to his level and beat you with experience"
"nemi" <>
NewsGroup User
Re: Business Layer6/17/2003 9:21:55 PM

0


javiquillen:

If you haven`t yet, aim your portal at http://yourportal/docs/docs.htm

You will notice that the only class referenced as a Business Component is AdminDB.

Although each Module has a primary class which is also viewed as above.

If you did not find this to be enough you could try: Portal WhitePaper

Hopfully helpful to you!

Nemi

You're fine! How am I?
"roberot" <>
NewsGroup User
Re: Business Layer6/17/2003 9:29:19 PM

0

I was trying to explain specifically about some characteristics of business layers - more information you can find on IBS documention folder (some relationship are shown between files, SPs, tables, BLs.. ) or try to look at tree design (if you are working with VS.net)

I'm new on .NET development so I'm having a hard work to understand all IBS - view post 230825
Best regards,

Ivan Andrade
"mbeller" <>
NewsGroup User
Re: Business Layer6/18/2003 2:04:21 AM

0

This is one area where IBS is lacking - it does not really have a well defined business object layer separate from the UI layer and separate from the DAL (data access layer).

In most cases, the UI layer works directly with the DAL. For example, there is no "clean" class for a PortalModule. There are some properties embedded in the ModuleSettings class, some methods embedded in the Security class, some in the Admin classes, etc. This is also true for tabs, users, portals, etc.

Also, for the modules, it would be nice, i.e., better design, to have, for example, an Announcement class that encapsulates the properties and methods for an Announcement in addition to the AnnouncementDB class that provides the basic DAL. Using this approach, you could have several UI components/controls that allow the user to interact with Announcements but just one Announcement class.

In my own code, I've started to define proper classes, e.g., PortalModule, PortalTab, PortalUser, etc. When I'm done, this should yield a more flexible and durable architecture.
Mike Beller

Lightship Partners LLC
"projectedNexus
NewsGroup User
Re: Business Layer9/12/2003 5:39:36 AM

0

Hi mbeller,

I too have been working on breaking out the 3 tiers in my own recent developed inspired by IBS.

I would be interested to know if it is a best practice to combine business and data access in the same class when working with objects that truly encapsulate their logical meaning, like PortalSettings for example. Everything I have read about n-tier developed suggests that combining the two (as MS wittingly does within the class cs file appending a DB suffix) is not a true seperation of the two.

So, being relatively new to true OO programming and knowing that IBS is a reference and should not be taken 100% literally, my approach has been the following:

(Psuedo Code of course)

==============
YadayadaBiz.cs
===============

namespace MyCompany.YadayadaBiz

// Lives in its own cs file for org purposes

public class PortalSettings
{
// properties
string propertyName;

PortalSettings()
{
propertyName = YadayadaData.PortalSettings.GetPropertyName();

}// end constructor

} // end class

=================
YadayadaData.cs
=================

namespace MyCompany.YadayadaData

// Lives in its own cs file for org purposes

public class PortalSettings
{
public string GetPropertyName()
{
//Sql Plumbing

SqlDataReader dr = command.ExecuteReader();

return dr[0].ToString();

} // end data access method

} // end class


Am I on the right track here?

Thanks,

Rick

7 Items, 1 Pages 1 |< << Go >> >|


Free Download:













strange behavior in ibuyspy portal?

how could i create a google search form in the portal starter kit?

which option should i choose?

why didn't i revise desktopdefault.asxp file?

add access control to modules

ibs info needed

default user role

error while editing

casting the page.loadcontrol to the portalmodulecontrol

aspnetportal:text

how to admin ibuyspy store?

any consultants out there?

please help - unable to set breakpoint in desktopdefault page

login failed for user 'nt authority\servizio di rete'.

problem editing quicklinks...

create module with sole purpose of loading a usercontrol

blank page

c# two-level tabs's source code

please help me i will be crayz

no login on intranet version

webcouner for portal

tabs don't inherit portal look and feel in new module postback

server permissions

background change

multiple portals different database same server

zonealarm prevents login!! why

creating a new module

help! cannot add anything to porta...

global.asax c# question about context object

customization

portal label update problem

performance tip

removing "review this product"

defalut.aspx won't show

xd portal - what do you think?

how to they create tabs

loading asp.net starter kit

adding mudules from other starter kits

admin tab

installing ibuyspy portal on remote server

does anybody knows if this portal is secure ?

ibuyspy portal clone - request for comments

why is there a different event handler to add roles in manageusers.aspx

drop down list box in vs2002

where are content management modules?

trouble with launching portal starter kit application.

lf: ibs_portalvb.exe

milestones extension

which installer download to use?

admin module

   
  Privacy | Contact Us
All Times Are GMT