Click here to Skip to main content
15,887,410 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi all, I need a help..Basically i'm new to the .net application.Here am trying to develop an application for Accounting Purpose.Am totally confused that how can I use the design pattern..MVC is preferring. I have to use this app both in Desktop and as a mobile app.App should be more secure.So please guide me how to design the project

What I have tried:

Database-PostgreeSql

Application will have two parts –
Part I – Accessible to the client through the web page
Part II – Back-end accessible only to us (Company) where all the processing is carried out
Perform the initial setup once the client is registered – create the account in the accounting software and create the chart of accounts
1.Review and process documents
2. Accounting – the entries will be passed in the application and will be exported to the accounting software
Posted
Updated 29-May-16 20:35pm

1 solution

I'm afraid that you have certain delusion here. Don't you think that the application architecture is reduced to the choice of some design pattern from the list of known patterns? If so, you are gravely mistaken. Even a choice of a set of patterns to use (but architectural and design ones) doesn't define an architecture or design. Yes, MVC seems to be a good choice in your case, but even that cannot be said with 100% certainty based on your information.

More importantly, that would not be all. The architecture is not a list of items or a picture with boxes and arrows. This is an iterative process which should support the application development on all stages. The same thing can be said about the main design elements of the application.

Also, you have to realize that the term "MVC" has two different meanings: 1) architectural pattern; 2) available ASP.NET framework.

Many well-known architectural and design patterns are quite good by themselves. At the same time, I can clearly see negative impact of the social factors related to them; in particular, it can be seen on the projects developed by the inquirers of this forum. For many, they become something like a Procrustean bed. Please see my past answer: Please suggest me some basic C++ project with design patters.

I would say, the pattern of going from the design patterns to the project architecture/design (instead of going from the project goals) can be considered as yet another anti-pattern. :-)

This post cannot pretend to be a manual on the organization of project development or development method, but at least it can help you to develop some critical thinking related to this subject.

—SA
 
Share this answer
 
v2
Comments
[no name] 30-May-16 3:08am    
as of now i am trying to web api + mvc design.for that should i create web api solution and mvc solution seperately??
Sergey Alexandrovich Kryukov 30-May-16 3:24am    
Why separately? Solution is an artifact of development, not runtime. If you have two have two or more projects which are built in some product components which collaborate somehow, it is already a good reason to put them in the same solution. Note that references between assemblies are best supported if you reference them in a solution via project references.

Well, there are some near-esoteric solution architectures where there are many VS solutions integrated together via some kind of specialized "master project", but it would rather be applied to much bigger products with different and big abstraction layers. The main goal of such thing is loading smaller solutions for a part of works, when all-in-one solution would be too big and not manageable enough. This is a rare situation.

—SA
[no name] 30-May-16 5:39am    
so i can select web api solution and make output using js,html,css etc..ryt??
ultimate need is ive to use this product in a desktop version and mobile version.
should i change any settings for this?
Sergey Alexandrovich Kryukov 30-May-16 10:15am    
It depends on the layout of each page. Generally, this is a per-page stuff solved by styles...
—SA

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