Have a look at a response I posted to a similar question Asp.net MVC VS Asp.Net[^] In my opinion, MVC is a far better pattern to use for web development - once you get your head around the initial learning curve, it all becomes pretty simple :)
Dylan Morley
Posts
-
To Web Pages or not to Web Pages? -
MVC - How are you scripting..?Ineresting, how are you managing the
Model.toJSON
line? Is that a call like something from this thread? http://stackoverflow.com/questions/8502146/convert-net-object-to-json-object-in-the-view[^] So in your document ready, you're just serialising the .Net Model to a JSON view model, which is then applied to knockout?
-
MVC - How are you scripting..?Hi, A really well written article, which I recommend you look at if you haven't at is Journey through the Javascript MVC Jungle[^]. Here's my dilemma. I want all the goodness of controllers, I want strongly typed views and model binding - basically all the best bits of MVC. However, even a fairly simple page will usually require some client side script for showing\hiding elements, confirmation boxes & all that funky stuff that users expect for todays interactive web pages. You normally end up with 'page specific script' which will be a number of event handlers and bindings, with no real structure as such. Backbone, Knockout and many of the other frameworks mentioned in the article I linked address this problem, they allow you to create client side models and bring structure and cohesion to your client script. However, the way they are designed almost relegates MVC to a simple 'web API' to handle RESTful requests and respond with some JSON. You seem to end up moving logic that I believe should be in the 'server side controller' into a 'script controller', which I'm not really happy with. I want a structured script representation of my Model, that wires up all by event handlers for my View and keeps everything in a logical order. But I still want model binding, data annotations, validation and logic in my controller, everything that should be handled by MVC.Net. I want the best of both in other words :) I've read quite a bit on this subject, so I know there are many different options available to me - that's the very point of the link. I'm just interested how others developing in MVC are addressing this problem? Most of the applications I'm working on at the moment are Line Of Business, but they can still have some fairly complex client side functionality. I'm not using any framework at the moment, I'm just namespacing my script and wrapping up some jQuery (i.e. Javascript modular pattern) ... it works, just not sure if it's the best way to be doing things. Any thoughts? Cheers
-
Development LaptopYep that's a good shout, I've seen the specs on a few now & they definitely deliver what I'm after - just a bit on the pricey side for some of the models.
-
Development LaptopThat does look really nice, but apparently we're getting ripped off over here - prices seem to range from £1500 to £2000!
-
Development LaptopThanks - that's useful...I was looking at Acers. I'm well out of the loop on laptop tech, been towers all the way for me for years - so it's just good for me to hear what people are using & their experiences with different brands.
-
Development LaptopNot too bothered there, as long as it's got a high resolution & I'm happy working on a smaller screen. Plus, it's at home so I can always hook it up to my existing monitors or my 40" TV!
-
Development LaptopRight, it's time for me to buy a new laptop. This is going to be mainly for development purposes at home, so I need it to be able to handle Visual Studio, SQL, IIS, all the goodies. Mobility not an issue, it's going to be staying in the house. I know I could get more for my money in a tower, but I literally have no space for another full setup - I have a small music studio at home & use a Mac Pro there which pretty much takes over the room :) I'm happy to spend up to £1000 - I've been looking at the Dell Inspiron 15R SE...for £900 it seems like it's got a decent spec + reviews are positive. http://configure.euro.dell.com/dellstore/config.aspx?oc=n0015s10&model_id=inspiron-15r-se-7520&c=uk&l=en&s=dhs&cs=ukdhs1[^] That does have a lot of what I'm after (15" screen min, lots of RAM + decent processor). Some people seem to be saying SSD is the way to go though, & maybe go for an i5 rather than i7? Anyway, if you had a budget of £1k and needed a laptop for development, what would you be looking at?
-
Nested loopsProblem with that is the indentation gets too large and you keep having to scroll to the right.
-
Nested loopsI never go further than 26 levels, because then I've run out of variables to control the loops with. I could of course start using aa, ab, ac...but that gets confusing.
-
SOPA Black Out GOOD NOT BADHerp Derp http://twitter.com/herpderpedia[^]
-
.Net Agile Project Management ToolsThanks, interesting stuff. We wouldn't want something too bloated - we're a small-ish development team so this could be too much. I've a spare server at the moment for playing with new stuff, so I might just install the trial TFS2010 and see how it goes. Cheers
-
.Net Agile Project Management ToolsI'm sure we could be up and running with an alternative, but it's something we'd like interally as part of our development tools suite rather than hosted. We have a few machines running Apache \ Tomcat so could possibly look at one of these alternatives, however most of our web servers are Windows running IIS so a .Net implementation would be nice. Pivotal tracker used to be free but is on a scaled pricing scheme now, same with Green Hopper. Will probably look at TFS \ VSTS as an actual tool to use within the team, price and functionality seems more than reasonable for our requirements. Mainly, we enjoy using open source projects. Sometimes they require a bit of tweaking, but it lets us integrate them with our existing applications & keeps the team up to date with how other developers are tackling design decisions. I was just a bit surprised that there isn't an alternative for .Net, an MVC3 \ EF project for this could be a nice future code project article !
-
.Net Agile Project Management ToolsYeah, we're using VS2010 - Professional. I've heard good things about that actually, haven't used TFS for a while (we've been using subversion as our internal source control). Price wise, TFS2010 looks really affordable for our team, certainly something we can consider. Was interested if there were any open source options available for .Net though - in particular using MVC3 \ Entity framework etc. There doesn't *seem* to be, might be a useful little side project for me to work on :)
-
.Net Agile Project Management ToolsI'm looking around for an agile project management tool, preferably free \ open source. Lots of options available, e.g. http://www.agile-tools.net/[^] https://www.linux.com/news/software/applications/67269-comparing-open-source-agile-project-management-tools[^] These all seem to be Java \ PHP \ Ruby On Rails, can't seem to find any .Net options? Anyone know of obvious contenders I'm missing? The only free options I could find seem to be hosted \ limited to 10 users etc I'll probably write something myself if no options available, but no point starting if somethings already out there Cheers
-
Lost in TranslationSometimes I forget that not everyone is really proficient with computers, certain expressions that I use daily aren't known by everyone. We've been doing a bit of reporting work for our Marketing department. As I walk back from the kitchen past this guys desk, he calls me over and shows me a problem he was having with a report. Looked like a caching problem so I said 'Do a hard refresh' He says 'OK', then hit his F5 key really hard. I was a bit like this http://www.stylemag-online.net/wp-content/uploads/2008/10/no_country_for_old_men_blu-ray_print_02.jpg[^] Was quite funny though :)
-
Restaurant Serves Up 8,000 Calorie BurgerThat show is strangely addictive! Some of the BBQ joints he's been to in the Southern states...big portions of pulled pork + ribs, om nom nom nom.
-
IT and MarketingWe have web developers (designers) working in marketing. These are solely responsible for 'look and feel', graphics (photoshop work etc to create banners and what not), all front stuff. In terms of Infrastructure, code and development, deployment - that all sits with our IT department and goes through a change control process. The Marketing department would have to 'sign off' on a deployment, but that responsibility sits solely with us. That's not a bad way to go about it. 'Look and feel' is such a fickle area, they change their mind constantly & I'd rather have someone close to them that can knock up the designs, then send them on to us for implementation. I think if you've got actual programmers working in Marketing, IT & all deploying - who's responsible for what? Could get somewhat messy, finger pointing & blame game! :)
-
Side-by-side installation of .Net frameworks on Citrix Metaframe serversOK thanks both, that's what I expected but good to hear others with no issues Cheers
-
Side-by-side installation of .Net frameworks on Citrix Metaframe serversHi, A server farm used by our business currently only has the .Net framework up to version 2.0. I'd like to upgrade the entire farm to include all versions of the framework up to 4.0 As far as I'm aware, this shouldn't cause any issues with the servers or existing applications installed on the servers. I advised... The frameworks can be installed side-by-side with no issues and an application running on .Net would need to specifically target a particular version - an existing application running on an older version of .Net will not care that a later version of the framework is installed. Non .Net applications are not affected in any way by framework installations. However, the company responsible for rollouts in our data silo came back with the rather vague... We have experienced other clients having problems with a similar installation... Has anyone experienced any issues with installing 3.5/4.0 on top of 1.1/2.0 where existing application functionality may have broken (or any other adverse effects) I've performed installations up to version 4.0 on servers we directly support and haven't had any problems at all, I just need to convice the infrastructure guys this is low risk. Anything I'm missing here, or was my advice correct? Thanks