• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

.NET technology stacks for web apps

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    I'd be wary of getting into newish MS technologies that may turn out to be fads.

    I'm not yet convinced any of the following will still be around in 5 years:

    MVC, Entity Framework, Silverlight

    I stick to the core technologies that have been around for the best part of 10 years or more (ASP.Net with web forms, C# or VB.Net, and SQL Server using stored procedures). Strange how the apps I write and maintain using those are quicker to build, less complex, more stable, and easier to maintain than those using the newer 'reinventing the wheel' technologies.

    Maybe I'm just bored of having to learn new technologies every ~2 years when they don't really offer much reward.
    Feist - 1234. One camera, one take, no editing. Superb. How they did it
    Feist - I Feel It All
    Feist - The Bad In Each Other (Later With Jools Holland)

    Comment


      #12
      NHibernate using the relatively new Fluent Fluent NHibernate mapping method for your datamodel.
      Using the two above you can get all the data persistance stuff out of the way in a matter of minutes. Plus Fluent NHibernate does away with all the fiddly xml config files or code attributes (you also get compile time validation of your mappings, which can save a lot of wasted time in my experience)

      Using a powerful ORM like NHibernate gives you database independence as you just change the configuration to point to a different database type.

      Use Ninject Open source dependency injector for .NET - Ninject if you need a dependency injector

      MVC is the way to go for ASP.NET apps these days. Probably best to use RAZOR Introducing for your view engine as its very easy to use and get into.

      All the stuff I mentioned is open source, so no licensing issues.

      Hope this is of use.

      Comment


        #13
        Originally posted by PAH View Post
        I'd be wary of getting into newish MS technologies that may turn out to be fads.

        I'm not yet convinced any of the following will still be around in 5 years:

        MVC, Entity Framework, Silverlight

        I stick to the core technologies that have been around for the best part of 10 years or more (ASP.Net with web forms, C# or VB.Net, and SQL Server using stored procedures). Strange how the apps I write and maintain using those are quicker to build, less complex, more stable, and easier to maintain than those using the newer 'reinventing the wheel' technologies.

        Maybe I'm just bored of having to learn new technologies every ~2 years when they don't really offer much reward.
        WHS!
        sufficiently advanced stupidity is indistinguishable from malice - Asimov (sort of)

        there is no art in a factory, not even in an art factory - Mixerman

        everyone is stupid some of the time - trad.

        Comment


          #14
          Originally posted by PAH View Post
          I'd be wary of getting into newish MS technologies that may turn out to be fads.

          I'm not yet convinced any of the following will still be around in 5 years:

          MVC, Entity Framework, Silverlight

          I stick to the core technologies that have been around for the best part of 10 years or more (ASP.Net with web forms, C# or VB.Net, and SQL Server using stored procedures). Strange how the apps I write and maintain using those are quicker to build, less complex, more stable, and easier to maintain than those using the newer 'reinventing the wheel' technologies.

          Maybe I'm just bored of having to learn new technologies every ~2 years when they don't really offer much reward.
          even though the article I posted about this is very old it makes the same point, where is the value in learning a framework that will be superseded soon
          sufficiently advanced stupidity is indistinguishable from malice - Asimov (sort of)

          there is no art in a factory, not even in an art factory - Mixerman

          everyone is stupid some of the time - trad.

          Comment


            #15
            Originally posted by 2BIT View Post
            WHS!
            +1

            Silverlight already seems to be quietly being killed off (note how little interest was shown at last years developer conferences).

            Entity framework is nice but any of the ORM systems are fine at removing databases from the issue. Granted I hate llbgen pro as I've had serious explained issues with it on a system I inherited but they do perform a decent job (unlike linq which I ranted about earlier).

            MVC I'm unsure about as it does separate business logic totally from the presentation layer. However I remember a presentation on frameworks for php and mod_perl doing the exact same thing 10 years ago and they never took off.

            It could be a fad but if you have to support three different types of devices (computers, tablets and mobiles) it may have an actual purpose.

            Personally give me webforms and a decent code generator (to do the leg work) any day
            merely at clientco for the entertainment

            Comment


              #16
              I would go with MVC 3 and Razor. Try out code-first development with entity framework, I think it's still at ctp stage but looks really promising. Just design your domain model then let it generate the database (with a little tweaking), though Ive not put anything into production with it yet. Otherwise using Linq to SQL its pretty easy to knock up a data access layer. Looks good on the CV anyway.

              Not sure about MVC being a fad, the pattern has been around for a while, just MS went down a different path and are just catching up now. Anyway clients are asking for it now so its worth learning in my humble opinion.

              Comment


                #17
                Originally posted by PAH View Post
                I'd be wary of getting into newish MS technologies that may turn out to be fads.

                I'm not yet convinced any of the following will still be around in 5 years:

                MVC, Entity Framework, Silverlight

                I stick to the core technologies that have been around for the best part of 10 years or more (ASP.Net with web forms, C# or VB.Net, and SQL Server using stored procedures). Strange how the apps I write and maintain using those are quicker to build, less complex, more stable, and easier to maintain than those using the newer 'reinventing the wheel' technologies.

                Maybe I'm just bored of having to learn new technologies every ~2 years when they don't really offer much reward.
                I agree 100%. It wouldn't be so bad if the new technologies were actually faster. But every new data access technique from Microsoft is slower than the previous one.

                Comment


                  #18
                  Originally posted by PAH View Post
                  I'd be wary of getting into newish MS technologies that may turn out to be fads.

                  I'm not yet convinced any of the following will still be around in 5 years:

                  MVC, Entity Framework, Silverlight
                  MVC is a pattern not a library, it's used in many/most modern in-vogue libraries across the board... including heavy-weights like Spring. So learning the idiom is not a waste whatever. As for Silverlight well this is unclear. It is the key way to write apps for Windows Mobile but the desktop direction of MS is uncertain with different claims being made.

                  Learning technologies isn't a waste but laying your reputation only on what libraries you know is. You will find work as a good developer who only knows the 'boring' parts but you will miss some opportunities at the same time. Nobody can know everything and ultimately you have to make choices. As much as anything it depends if you LIKE learning stuff and playing with it, or just want to be able to create production code and get paid for solid work.
                  Originally posted by MaryPoppins
                  I'd still not breastfeed a nazi
                  Originally posted by vetran
                  Urine is quite nourishing

                  Comment


                    #19
                    Originally posted by d000hg View Post
                    MVC is a pattern not a library.
                    I meant MS's current implementation of MVC as an alternative to their existing ASP.Net webforms.

                    I can see where MVC is likely to be highly regarded as the better approach, in Agile environments where a test based approach is preferred.

                    Originally posted by d000hg View Post
                    Learning technologies isn't a waste but laying your reputation only on what libraries you know is. You will find work as a good developer who only knows the 'boring' parts but you will miss some opportunities at the same time. Nobody can know everything and ultimately you have to make choices. As much as anything it depends if you LIKE learning stuff and playing with it, or just want to be able to create production code and get paid for solid work.
                    Maybe I'm a burn out. Been doing this so long I no longer get excited when a new technology comes along. Especially when they appear to me convoluted and just add another layer to achieve the same thing as the older tech.

                    e.g. every solution I've worked on in the last 10 years required getting data out of a database and displaying it on a web page. While that data is in a SQL database and the front end requires HTML as it's core I prefer to keep it simple. Besides I can do in one day using my old tech what it takes other people days or weeks to do in the new stuff, when you take into account the time they spend tracking and fixing bugs, and having meetings about burning down stuff. Who's agile now.

                    Maybe this new stuff is about job creation and keeping bob at arms length. That would explain a lot. I just prefer the simple/easy life.
                    Feist - 1234. One camera, one take, no editing. Superb. How they did it
                    Feist - I Feel It All
                    Feist - The Bad In Each Other (Later With Jools Holland)

                    Comment


                      #20
                      Originally posted by PAH View Post
                      Maybe I'm a burn out. Been doing this so long I no longer get excited when a new technology comes along. Especially when they appear to me convoluted and just add another layer to achieve the same thing as the older tech.
                      You should be careful what you say as following that argument to its logical conclusion Classic asp is acceptable for the job.

                      I think the problem here is that it depends on what the purpose of the website is. To provide information to internal users webforms are fine. If its going to be accessed by the outside world and you want tons of ajax on it to make it all singing all dancing then MVC will be a better bet.

                      It does seem to be a lot of extra work tho.
                      merely at clientco for the entertainment

                      Comment

                      Working...
                      X