Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. which is the best design or architecture for developing small windows apps using c#?

which is the best design or architecture for developing small windows apps using c#?

Scheduled Pinned Locked Moved Design and Architecture
csharpdatabasearchitecturehelpjava
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jarajeshwaran
    wrote on last edited by
    #1

    Hi , Let me make myself clear something first before proceeding with this post I don't want to create any new architecture or framework or design pattern. I want to make use of the existing tools and come up with a poc. Now let me explain the problem statement Requirement:- to build a windows app Technologies and database used:- Visual studio express edition 2008/ C#/ winforms or WPF/ sql server compact edition/if it is a multi use application SQL server Express edition will be used The application will be very simple with not more than 20screens. The underlying database will contain not more that 25tables. Even if it is a multiuser application the number of user will not be more than 5 at a time. The application will be used by a large number of people so bug fixing and introducing new features should be a breeze. The app will be having basic CRUD screens and the Business logic involved will not be too complex. To achieve this even if a Learning curve is involved it is acceptable. The time to market of the resultant should be very less. I want to develop the app for the above scenario. My goal is to develop a application with minimum number of lines of code. I Binged and found a lot of results like to use N-hibernate for ORMapping/or use Microsoft Enterprise library/Prism framework etc., I would like to know which framework or design pattern should I use to achieve the above functionality with least coding. I don't want to go with any third party tools. Pointers would be welcome. I want to develop and give it to the open source community as a POC for fast and effective programming for small scale applications.

    L 2 Replies Last reply
    0
    • J jarajeshwaran

      Hi , Let me make myself clear something first before proceeding with this post I don't want to create any new architecture or framework or design pattern. I want to make use of the existing tools and come up with a poc. Now let me explain the problem statement Requirement:- to build a windows app Technologies and database used:- Visual studio express edition 2008/ C#/ winforms or WPF/ sql server compact edition/if it is a multi use application SQL server Express edition will be used The application will be very simple with not more than 20screens. The underlying database will contain not more that 25tables. Even if it is a multiuser application the number of user will not be more than 5 at a time. The application will be used by a large number of people so bug fixing and introducing new features should be a breeze. The app will be having basic CRUD screens and the Business logic involved will not be too complex. To achieve this even if a Learning curve is involved it is acceptable. The time to market of the resultant should be very less. I want to develop the app for the above scenario. My goal is to develop a application with minimum number of lines of code. I Binged and found a lot of results like to use N-hibernate for ORMapping/or use Microsoft Enterprise library/Prism framework etc., I would like to know which framework or design pattern should I use to achieve the above functionality with least coding. I don't want to go with any third party tools. Pointers would be welcome. I want to develop and give it to the open source community as a POC for fast and effective programming for small scale applications.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Try some of the articles here on Code Project on the subject of MVP/MVVM patterns. See also the answers to the question below.

      jarajeshwaran wrote:

      My goal is to develop a application with minimum number of lines of code.

      I'm not sure how you would achieve this unless you are a super-coder.

      1 Reply Last reply
      0
      • J jarajeshwaran

        Hi , Let me make myself clear something first before proceeding with this post I don't want to create any new architecture or framework or design pattern. I want to make use of the existing tools and come up with a poc. Now let me explain the problem statement Requirement:- to build a windows app Technologies and database used:- Visual studio express edition 2008/ C#/ winforms or WPF/ sql server compact edition/if it is a multi use application SQL server Express edition will be used The application will be very simple with not more than 20screens. The underlying database will contain not more that 25tables. Even if it is a multiuser application the number of user will not be more than 5 at a time. The application will be used by a large number of people so bug fixing and introducing new features should be a breeze. The app will be having basic CRUD screens and the Business logic involved will not be too complex. To achieve this even if a Learning curve is involved it is acceptable. The time to market of the resultant should be very less. I want to develop the app for the above scenario. My goal is to develop a application with minimum number of lines of code. I Binged and found a lot of results like to use N-hibernate for ORMapping/or use Microsoft Enterprise library/Prism framework etc., I would like to know which framework or design pattern should I use to achieve the above functionality with least coding. I don't want to go with any third party tools. Pointers would be welcome. I want to develop and give it to the open source community as a POC for fast and effective programming for small scale applications.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        jarajeshwaran wrote:

        The application will be very simple with not more than 20screens. The underlying database will contain not more that 25tables.

        That doesn't add up; I'd expect a "list"-form and a "details"-form for every entity, allowing you to browse the entire collection or edit a single entity.

        jarajeshwaran wrote:

        Even if it is a multiuser application the number of user will not be more than 5 at a time. The application will be used by a large number of people so bug fixing and introducing new features should be a breeze

        New features could be introduced with a plugin-system, you could opt to load an assembly dynamic. There are some articles on CP explaining how to do such a thing :)

        jarajeshwaran wrote:

        The app will be having basic CRUD screens and the Business logic involved will not be too complex.

        So a generic CRUD-form would suffice?

        jarajeshwaran wrote:

        The time to market of the resultant should be very less.

        I'd walk away as soon as this sentence drops, without any hesitation. The TTM should [b]never[/b] be confined by the manager. Imagine you selling a house with a limited TTM: would you sell it without a roof? --edit-- As I've been told, the houses are sometimes already sold before the drawings are even agreed upon. There seem to be special constructions to ensure that you get a roof. And that construction won't grind to a halt midterm.

        jarajeshwaran wrote:

        I would like to know which framework or design pattern should I use to achieve the above functionality with least coding. I don't want to go with any third party tools.

        The .NET framework, and databinding :)

        I are Troll :)

        modified on Friday, September 18, 2009 4:09 PM

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups