Click here to Skip to main content
15,889,858 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have to make an architecture that works in both wpf and mvc. I also intend to add a webAPI for other platforms. I made base libraries(more than one), a BL lib, DAL lib,Model lib ,ViewModel(for code sharing between wpf and mvc) lib and mvc proj and wpf proj. How do i connect these layers. Factory pattern in all layers and just create objects of other and call to connect each layer? Repositories pattern etc seems complex and unneeded to me.
Only demand is it should be manageability and less confusing. Its for an erp. Basic billing, finance etc. I don't have pattern preference. i am open to any suggestions of pattern . Multi user and speed are my only concern. This will be a product, so i should be able to separately pack different module and give to different clients. I will be most grateful if i could get a example proj or codes with one class each layer.
Posted
Updated 11-Apr-14 7:36am
v2
Comments
Sergey Alexandrovich Kryukov 11-Apr-14 12:33pm    
Sorry, this is not a question. If you need an example, you will find enough it you only try.
This is a Quick Questions & Answers forum, not an example-finding service. If you face some problem you can clearly explain, post your question.
—SA
Praveen Kumar U 11-Apr-14 12:55pm    
"How do i connect these layers. Factory pattern in all layers and just create objects of other and call to connect each layer? " doesnt seem like a question? I tried. Found none.
Sergey Alexandrovich Kryukov 11-Apr-14 13:18pm    
Your explanation of your concerns is not quite informative. You have to build up certain architecture, chose to use some patterns and not use others. Do you understand that it all should be defined by your application problem, such as: its goals, peculiarities, requirements, view of future development, available resources? We are unaware of all that, because you are not giving the idea.
—SA
Praveen Kumar U 11-Apr-14 13:33pm    
hmm...ok...actually my only demand is it should be manageability and less confusing. Its for an erp. Basic billing, finance etc. I dont have pattern preference. i am open to any suggestions of pattern . Multi user and speed are my only concern. This will be a product, so i should be able to separately pack different module and give to different clients. Thanx for your concern. Please tell if i clarified correctly!
joshrduncan2012 11-Apr-14 15:04pm    
This forum is to answer questions regarding code that has been written, not a request to provide code. What have you tried so far to accomplish this?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900