JSON and ASP.NET

This is a bit different from my normal PHP and MySQL related posts, but I found this interesting so I though I’d pass it along.

If you’re familiar with ASP.NET you probably know that every page has a presentation layer (a lax form of XML) and a business layer (C# or Visual Basic). This is a brilliant way of organizing a website because it separates your data (the presentation layer) from your complex logic (the business layer). This gives you several advantages (not by any means an exhaustive list):

  1. Complicated logic is easier to understand when it isn’t cluttered with HTML tags
  2. Because the presentation and the business layers are loosely linked, changes in one often don’t require a change in the other
  3. Object oriented principles can be used in both the presentation, and the business layer, promoting code reuse

[More]