Did you know there’s a shiny new <template> tag making it to a browser near you? It’s true! For years, web developers have been coming up with awkward and clever hacks to do client-side templating. With the new Web Component specs, the templates piece is now included natively!
Today on Sitefinity version 7, there still isn’t a way of adding scripts and styles to MVC widgets, so I have come up with a workaround to do this… better late than never. I consider it a hack because this only works in hybrid mode and assumes the page is a Web Form. I created this as an HTML helper for MVC and can now do this on your views.
Web developers love inheritance, don’t you? Who would have thought you can inherit something so basic as an HTML element and extend it! Now you can do this using the new Web Components specifications.
With HTML5 came the introduction of semantic tags. Content could now be wrapped within much more appropriately named tags such as:
While developing web applications, it is common that you must test the site in SSL mode. Normally, this would be a pain and would require you to set up the site in IIS manually. From then on, you must attach the debugger in Visual Studio to the application pool process. There’s an easier way!
Although you could implement your own RESTful WCF Service in Sitefinity, there is a gem Microsoft dropped into the MVC 4 Beta. I am referring to Web API: a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.”
Now that Internet Explorer 9 has cooled off the press, we can alas rejoice that all new PC’s and mobile devices are supporting HTML5! This brings a new era that aims to refactor the web in a whole new way. As you will see, HTML5 provides us code slimming techniques that make our HTML source code much more easier and functional.