microsoft, web standards and oss
DESCRIPTION
TRANSCRIPT
Microsoft, Web Standards
and Open Source Software
Mahdi Taghizadeh
http://mahdi.mp
@mahdi
Is Microsoft evil?
Is there a war?
No! We are a community
Microsoft and Web
• 1998 - Active Server Pages
• 2002 - ASP.NET 1.0
ASP.NET Markup Generation
• Non-standard markup generation in earlier versions of
ASP.NET
• Lack of control over markup
• Complicated and heavy markup generated by ASP.NET
WebForms Controls
ASP.NET 2.0 and Visual Studio 2005
• XHTML and Accessibility Standards in ASP.NET 2.0 and VS 2005
• Standard HTML Markup Code Generation
ASP.NET MVC
• Full control over markup
• No ASP.NET Control
• No automatic markup code generation.
• New View Engine: Razor; Goodbye <asp:blahblah />!
ASP.NET 4 and Visual Studio 2010
• Clean, Standards-Based, CSS-Friendly Markup
• FIXED: Auto-generated ID attributes within HTML make it hard to
write JavaScript and style with CSS
• FIXED: Use of tables instead of semantic markup for certain
controls (in particular the asp:menu control) make styling ugly
• FIXED: Some controls render inline style properties even if no style
property on the control has been set
• FIXED: ViewState can often be bigger than ideal
* Scott Guthrie’s blog post on this: http://mahdi.ws/LeJ6DU
HTML5/CSS3 Support in ASP.NET/VS2010
• Web Standards Update for Visual Studio 2010 SP1 in June 2011
• Adding HTML5 intellisense and validation to VS2010
• JavaScript intellisense updated to reflect many of the new browser
capabilities such as Geolocation and DOM storage
• Comprehensive CSS3 intellisense and validation based on the
latest specifications from W3C
• CSSCop – FxCop for stylesheets
HTML5/CSS3 Support in ASP.NET
vNext: ASP.NET 4.5 and Visual Studio 2012
• New Bundling and Minification Support
• HTML5 Updates
• Better IDE intellisense
• Better CSS and Javascript editor
Microsoft, IE10 and Web Standards
• IE10 Test Drive. http://ie.microsoft.com/testdrive
• The Web Standards Project’s Acid3 Test
http://ie.microsoft.com/testdrive/benchmarks/acid3
Microsoft and OSS
Microsoft and OSS
Steve Ballmer: “Linux is a cancer” 2001, In an interview with the Chicago Sun-Times
#fail
Microsoft and Open Source Software
• .NET Framework License has been Shared Source from V1.0
• Microsoft is no longer against Open Source
• ASP.NET MVC source code released to public from V1.0
• Microsoft contributions to open-source jQuery project
• CodePlex - Open Source Project Hosting
• Microsoft Openness: microsoft.com/openness
( @OpenAtMicrosoft)
Microsoft and Open Source Software
• IronPython
• Windows Azure Services for PHP, Node.js, Java, Apache,
MongoDB, Solr, CouchDb, etc as well as support for additional
Operating Systems (e.g.: Linux) and OSS language libraries for
building cloud applications
• Availability of open source softwares and technologies like PHP,
MySQL, WordPress, Drupal, etc in Microsoft Web Platform
• Funding in open source projects like Orchard, Umbraco, etc.
• Nuget as a centralized package management for open source
.NET developers
• Microsoft and Big Data: Hadoop on Windows
Il faut être absolument moderne.
J. N. Arthur Rimbaud (1854 – 1891)
Thank you!
Mahdi Taghizadeh ■ http://mahdi.mp ■ @mahdi