My Architecture Approach

Posts   
 
    
FarhadB
User
Posts: 28
Joined: 28-Feb-2011
# Posted on: 02-Mar-2011 10:46:03   

Hi

I have attached a subset of my architecture choices. 1 Being the approach I am strongly leaning towards. Any thoughts out there ?.....Would you go for 1 or 2....or none?...if none what approache would you take?

Attachments
Filename File size Added on Approval
Architecture Approaches.zip 22,915 02-Mar-2011 10:58.23 Approved
Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 02-Mar-2011 10:56:01   

Nothing attached.

FarhadB
User
Posts: 28
Joined: 28-Feb-2011
# Posted on: 02-Mar-2011 10:58:51   

Walaa wrote:

Nothing attached.

sorry I forgot to upload it....I have attached it now...awaiting approval

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 02-Mar-2011 11:30:13   

You'll need to explain, why did you think of the modules separation in Approach 1?

If there is no good reason for separation and/or if entities have relations accross such modules, or there might be transactions holding entities from more than module, then I'd go for the 2nd approach.

FarhadB
User
Posts: 28
Joined: 28-Feb-2011
# Posted on: 02-Mar-2011 12:01:02   

Walaa wrote:

You'll need to explain, why did you think of the modules separation in Approach 1?

If there is no good reason for separation and/or if entities have relations accross such modules, or there might be transactions holding entities from more than module, then I'd go for the 2nd approach.

The thing is, it is more of a management and maintenance issue...I started looking at the first module and that module alone has +- 100 tables = +- 100 entities. The second module has almost another 100. and I still have several more modules to go. The overlap or shared entities maybe handle in a "share module" ?

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 02-Mar-2011 12:06:13   

Well you can have one lower layer holding DAL for the entire ERP, and then have different modules in BL consuming entities in this DAL.

So IMHO it would be better if the separation be pushed to the upper layer.

FarhadB
User
Posts: 28
Joined: 28-Feb-2011
# Posted on: 02-Mar-2011 12:33:04   

Walaa wrote:

Well you can have one lower layer holding DAL for the entire ERP, and then have different modules in BL consuming entities in this DAL.

So IMHO it would be better if the separation be pushed to the upper layer.

Something like the attached pic?

Attachments
Filename File size Added on Approval
Approach 3. subset of Arch.JPG 23,150 02-Mar-2011 12:33.11 Approved
Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 02-Mar-2011 12:40:09   

Indeed.

FarhadB
User
Posts: 28
Joined: 28-Feb-2011
# Posted on: 02-Mar-2011 12:51:44   

Walaa wrote:

Indeed.

OK cool.....I will keep you informed of my prigres if you ineterested...

FarhadB
User
Posts: 28
Joined: 28-Feb-2011
# Posted on: 02-Mar-2011 14:41:25   

If I am using the WCF approach would I need to disable teh schema importer task when generating? I managed to add teh template, but I am unable to see the tasks aftre I copy it to the LLBLGen folder

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 02-Mar-2011 16:51:31   

Schema importer is only needed for old fashioned webservices. wcf doesn't need that, as described in the manual.