Company Framework

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    #1

    Company Framework

    Hi

    I am new to .net and am not sure how to do this. We want to setup a company
    wide "framework" that includes objects, methods, properties etc. which our
    projects can use. The objective is to standardise on coding and also to save
    time on repetitive code. How do I go about doing this?

    Thanks

    Regards


  • Robin Tucker

    #2
    Re: Company Framework

    Don't. In theory, the reusable object is a brilliant time saver, in
    practice you will spend more time managing changes between versions than
    developing your codebase. Of course, this depends on the circumstances.
    However, remember that in order to be usable across systems, your object has
    to be somewhat generic and genericity does not lead an object to perform any
    specific operation very well (in general).

    I'm not saying it is always bad, but it is one of those circumstances where
    choosing which items to make available and which to keep under wraps is
    something of an art form.

    "John" <John@nospam.in fovis.co.uk> wrote in message
    news:%23P4Vfbbb FHA.3712@TK2MSF TNGP09.phx.gbl. ..[color=blue]
    > Hi
    >
    > I am new to .net and am not sure how to do this. We want to setup a
    > company wide "framework" that includes objects, methods, properties etc.
    > which our projects can use. The objective is to standardise on coding and
    > also to save time on repetitive code. How do I go about doing this?
    >
    > Thanks
    >
    > Regards
    >
    >[/color]


    Comment

    • Alex

      #3
      Re: Company Framework

      "John" <John@nospam.in fovis.co.uk> wrote in message
      news:%23P4Vfbbb FHA.3712@TK2MSF TNGP09.phx.gbl. ..[color=blue]
      > I am new to .net and am not sure how to do this. We want to setup a company
      > wide "framework" that includes objects, methods, properties etc. which our
      > projects can use. The objective is to standardise on coding and also to save
      > time on repetitive code. How do I go about doing this?[/color]

      Through a process of cumulative definition and refinement. Start by thinking
      about what types of applications you want to support, then describe the data
      that these applications will require, and write objects that will support the
      necessary data operations.


      Comment

      • John

        #4
        Re: Company Framework

        Thanks fo rthat. I

        "Alex" <pleaszze@no.me ssages> wrote in message
        news:OJ1qL9bbFH A.720@TK2MSFTNG P15.phx.gbl...[color=blue]
        > "John" <John@nospam.in fovis.co.uk> wrote in message
        > news:%23P4Vfbbb FHA.3712@TK2MSF TNGP09.phx.gbl. ..[color=green]
        >> I am new to .net and am not sure how to do this. We want to setup a
        >> company
        >> wide "framework" that includes objects, methods, properties etc. which
        >> our
        >> projects can use. The objective is to standardise on coding and also to
        >> save
        >> time on repetitive code. How do I go about doing this?[/color]
        >
        > Through a process of cumulative definition and refinement. Start by
        > thinking
        > about what types of applications you want to support, then describe the
        > data
        > that these applications will require, and write objects that will support
        > the
        > necessary data operations.
        >
        >[/color]


        Comment

        • John

          #5
          Re: Company Framework

          Thanks for that. What I need is how to implement such a thing in .net
          specifically using vb.net. So I create vb.net class projects. Then I build
          them. How do I make them available to everyone?

          Thanks

          Regards


          "Alex" <pleaszze@no.me ssages> wrote in message
          news:OJ1qL9bbFH A.720@TK2MSFTNG P15.phx.gbl...[color=blue]
          > "John" <John@nospam.in fovis.co.uk> wrote in message
          > news:%23P4Vfbbb FHA.3712@TK2MSF TNGP09.phx.gbl. ..[color=green]
          >> I am new to .net and am not sure how to do this. We want to setup a
          >> company
          >> wide "framework" that includes objects, methods, properties etc. which
          >> our
          >> projects can use. The objective is to standardise on coding and also to
          >> save
          >> time on repetitive code. How do I go about doing this?[/color]
          >
          > Through a process of cumulative definition and refinement. Start by
          > thinking
          > about what types of applications you want to support, then describe the
          > data
          > that these applications will require, and write objects that will support
          > the
          > necessary data operations.
          >
          >[/color]


          Comment

          • Phill.  W

            #6
            Re: Company Framework

            "John" <John@nospam.in fovis.co.uk> wrote in message
            news:uswUNDcbFH A.2644@TK2MSFTN GP10.phx.gbl...[color=blue]
            > Thanks for that. What I need is how to implement such a thing in .net
            > specifically using vb.net. So I create vb.net class projects. Then I build
            > them. How do I make them available to everyone?[/color]

            Structure your classes things using sensible Namespaces.

            Strongly Name every Assembly using a single, centrally held
            Strong-Naming KeyFile.

            Set the Version information (in AssemblyInfo.vb ) explicitly
            - DO NOT allow the version to change every time you rebuild.

            Build a mechanism to get these common assemblies into the
            Global Assembly Cache on each machine (Development /and/
            Production).

            [Tightly] restrict the number of people who can make changes to the
            Framework classes. A single rogue change could break a whole
            swathe of applications at a stroke (Painful experience; don't go there).

            HTH,
            Phill W.


            Comment

            • Ray Cassick

              #7
              Re: Company Framework

              Kudos on all of these. Very good points.

              I will also add that this can be a VERY difficult thing to do unless you
              already have a good amount of existing applications that have suffered from
              the lack of having a framework available. What I mean to say is that
              starting from scratch without having an idea as to exactly what objects you
              need and how they are going to be structured can literally take years to get
              right.

              I am going through this right now and I can tell you it is a bear. You can
              get so far and then see that something really needs to be changed and then
              you get to work out what changes end up cascading from those... It works
              much better if you have some existing apps to go back to and review how they
              are working, what objects they use and how they use them. That at least
              gives you a starting point.

              Maybe you want to start out with the part of the framework where you can
              start to see some good value quicker. Start out by developing the parts of
              the framework that control things like config storage and retrieval,
              security access to apps and data, etc...











              "Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
              news:d8c6kq$o5j $1@yarrow.open. ac.uk...[color=blue]
              > "John" <John@nospam.in fovis.co.uk> wrote in message
              > news:uswUNDcbFH A.2644@TK2MSFTN GP10.phx.gbl...[color=green]
              > > Thanks for that. What I need is how to implement such a thing in .net
              > > specifically using vb.net. So I create vb.net class projects. Then I[/color][/color]
              build[color=blue][color=green]
              > > them. How do I make them available to everyone?[/color]
              >
              > Structure your classes things using sensible Namespaces.
              >
              > Strongly Name every Assembly using a single, centrally held
              > Strong-Naming KeyFile.
              >
              > Set the Version information (in AssemblyInfo.vb ) explicitly
              > - DO NOT allow the version to change every time you rebuild.
              >
              > Build a mechanism to get these common assemblies into the
              > Global Assembly Cache on each machine (Development /and/
              > Production).
              >
              > [Tightly] restrict the number of people who can make changes to the
              > Framework classes. A single rogue change could break a whole
              > swathe of applications at a stroke (Painful experience; don't go there).
              >
              > HTH,
              > Phill W.
              >
              >[/color]


              Comment

              Working...