Find a post...

DNN-Connect Blogs

Microsoft embracing and endorsing AngularJS

Developers following the true gospel of Microsoft have a tendency of using MSDN Magazine and Microsoft-Giveaways as their true source of information. This was the correct approach in the past when anything related to Mac or Linux was N/A (not applicable) for us true believers. This approach has kept many believers away from AngularJS...but not any more!

BTW: While the PC had 95% market share and IE4 ruled, we were right in ignoring the trivial few percent of heathen Jobs-Witnesses and Thorwaldiens, who believed in the resurrection of design and command lines. By ignoring them, we saved lots of time and harrowing discussions - resulting in world peace...

...until it turned out that the others were right too!

Microsoft used to be the system. Now it's one of many. It used to control a majority of the client devices, then became arrogant like IBM did - before Microsoft took over. And now it learned the same hard lessons: others are taking over.

And so the pantheon of Microsoft-Excecutives held a bunch of board meetings and decided that the only way to manage such a poly-religious system is to find a culture experienced with such poly-theism. Some guy probably read the Ramayana from a free sample on his kindle Microsoft-Surface-RT, got enlightened and spoke:

"let's get an Indian guy to fix this!"

So they went and got Satya Nadella (సత్య నాదెళ్ల - I love these squiggly characters :). And oh-boy fix it he did!

Did you know Satya was actually running Microsoft "Cloud Operations" before becoming CEO? His systems couldn't compete if they only ran Microsoft-stuff. So they opened to run everything. Have you noticed how often node.js is mentioned on MSDN Magazine or on Azure-articles? There's even a dedicated node.js developer center for Azure!

And he extended this strategy to all of Microsoft. I love it :)!

So what does this mean?

Microsoft stopped trying to force a Microsoft-Lock-In solution on us. The future is open...and compatible. For example, Microsoft dropped the old XML preference against JSON. It also means that Microsoft isn't pretending to have the better DHTML, better AJAX, better Data-Binding any more, but that it's now promoting what works - not what binds you to them.

What works on the client - like node.js on the server? Is it the Microsoft-inspired knockoutJS? Or is it the Google-inspired AngularJS? It's ironic that Microsoft originally promoted JavaScript based development around 1997 - while pretending that Internet-Explorer was part of Windows, but then "forgot" all about it once they reached market dominance. Now Google is promoting the same thing - just without the vendor-lock-in.

Some great new AngularJS endorsements from Microsoft:

You'll notice the compact timing - as if a Microsoft internal directive was changed around the middle of this year saying:

"you can play with the cool kids now, no more promoting knockoutJS"

Why should we DNN-Disciples care?

We cannot learn all possible technologies - our time is too limited. We're actually forced to use similar technologies to become more effective as a community. Choosing the right technology is therefor crucial - also because our Open-Source contributions will be copied by others - and if our published "best-practice" examples used weak tool, then beginners will copy this - and fail on the market. So it's our responsibility to choose wisely. Not based on ideology like "Google's behind it" but based on criteria like "What works best" and "What has widespread adoption"

So I hope that - now that Microsoft has changed sides - you too will "see the light" :) and give AngularJS a try. I guarantee: if you start with AngularJS, you'll start to get excited after 30 minutes - and after the first 2 hours you'll be hooked :)

Material to get started with AngularJS and DNN

  1. If you want to read or learn more - check out my blog series about AngularJS
    1. JavaScript MVC 1.1 - You need a good JavaScript MVC Framework
    2. JavaScript MVC 1.2 - Why AngularJS beats the **** out of knockoutJS
    3. JavaScript MVC 1.3 - Views/Templates with knockoutJS and AngularJS
    4. JavaScript MVC 1.4 - Learn AngularJS Fundamentals in 1 Hour
    5. My JavaScript MVC 2x series on App-Views, App-Controllers, App-ViewModels and App-Initialization
  2. If you want to get your hands dirty right away, have fun with the following AngularJS Apps
    1. Media/Press releases App - see live, get App
    2. Simple FAQ Tutorial App - see demo, get App
    3. An simple contact form, built with various Angular best-practices - get App (may be a bit advanced for first steps)
    4. and other AngularJS Apps with WebAPI tutorials and more

With love from Switzerland,

Daniel Mettler grew up in the jungles of Indonesia and is founder and CEO of 2sic internet solutions in Switzerland and Liechtenstein, an 20-head web specialist with over 600 DNN projects since 1999. He is also chief architect of 2sxc (2SexyContent - see forge), an open source module for creating attractive content and DNN Apps.

Daniel Mettler learned programming with the bible translation computer of his parents, deep in the jungles of Indonesia. Since he was only 12 years old at that time and the BIOS only had a version of BASICA, that's what got him started. With 16 he went back to Switzerland and learned German and basic city-survival skills. Equipped with this know-how he founded 2sic internet solutions in 1999 which was focused on web solutions on the Microsoft platform. After a few self-developed CMSs 2sic switched to DNN in 2003 and has been one of the largest partners (17 employees, 700+ projects) in Europe. Daniel is also the chief architect behind the open source 2sxc, a strong promoter of standardization (boostrap, patterns, AngularJS, checklists, etc.) and loves to eat anything - dead or alive. His motto: if the natives eat it, it game.

Hosting liberally provided by

Philipp Becker 6024 7
Geoff Barlow 551 4
DNN-Connect 431 6
Peter Donker 5119 30
Christopher Hammond 692 2
Olivier Jooris 423 1
Daniel Mettler 12062 88
Clint Patterson 1 1
Jos Richters 65 1
James Rosewell 332 2
Will Strohl 1548 27
Ernst Peter Tamminga 439 4
Barry Waluszko 2892 2
Declan Ward 509 1
Gifford Watkins 724 9
Torsten Weggen 2794 3