AngularJS Zero to Hero course notes (1)

I’ve been learning some AngularJS for a while now (here’s some previous posts), and have an app up live with a front end built using AngularJS (http://www.spotviz.info). I just started one of the AngularJS courses on udemy.com, ‘AngularJS: From Zero to Hero‘. The regular price for the course is $299 and you can currently pick it up for a steal in their Black Friday sale. Go take a look at the other courses too on Udemy if you’re interested.

As I work through the course I’m leaving some notes here in posts for my own benefit for future reference – they might not make entire sense without context of the other training materials, go check out the course if you’re interested.

Random getting  started notes:

ng-app – bootstraps an AngularJS app, usually applied to html or body element

ng-init – initializes value or an initialization expression

ng-model – binds form input elements to model, using bidirectional binding

Bootstrap dropdown nav menus not working? (and solution)

It’s not immediately obvious unless you’ve run into this before, but the dropdown nav menu feature of Bootstrap requires both jQuery and the bootstrap.js includes. Maybe because I normally don’t use any of the JavaScript features of Bootstrap I haven’t run into this before. It is covered in the install docs here as a requirement, but maybe I’ve not noticed this before. It must be a common issue though, here’s a question on SO.

If you leave out either of these the menu renders as expected but the dropdown doesn’t do anything. Here’s a plunkr with both .js files included as a working example (example HTML from the example here).

How true is Microsoft’s new found love for Linux?

I can’t help react to Microsoft’s new found love for Linux and Open Source with extreme suspicion. If you’ve been in the IT industry for a while then you’ll remember Steve Ballmer’s extreme vitriol for Linux, proclaiming “Linux is a cancer that attaches itself in an intellectual property sense to everything it touches“.

So where exactly does Microsoft stand? You can’t love it and hate it and the same time. Or maybe you can. I understand a change in leadership can bring a change of direction, but a radical 180 in opinion doesn’t exactly bring much confidence in their strategy. Is Microsoft finally acknowledging the rest of the world deploys their production systems to anything but Windows? Are they admitting defeat and looking for a slice of the Linux pie?

Real life story – the journey from dev to prod with containers

This story on Techcrunch, ‘I want to run stateful containers too‘ rang home with me as it reads very similar to my own learning experience playing with containers so far, although at this point I haven’t had the opportunity to take a container based system into production, but he covers a lot of the same questions as I have so far. I imagine this journey and shift in thinking from monolithic systems to container based services is a common experience for everyone starting down this path.