Posts

Showing posts with the label Angular

Ang 2 QS Dependency Tree

Image
Angular 2 | QuickStart | Dependency Tree Here's the Angular 2 QuickStart dependency tree I captured after installing the example project located here: https://angular.io/docs/ts/latest/quickstart.html This is not a good or bad thing, it just is. Since Blogger doesn't seem to let me post PDFs, here's a high resolution PDF of my screen captures of the dependency tree. There's a lot to learn just from browsing through this tree. http:/inventica.com/docs/ang2-qs-dep-tree.pdf

AngularJS And HTML5 ContentEditable

Getting Angular to Play Well With HTML5 ContentEditable HTML5 introduced a cool new attribute, which can be attached to any element to make it editable ( contenteditable="true" ). However, that's just the theory. To make that work, you have to use a data binding library (e.g. AngularJS, BackboneJS) or build your own using JavaScript. I recently created a todos application using pure JavaScript (with jQuery) with a Node/Mongo backend, i.e. without using any data binding framework. This is a good exercise to ensure that you understand JavaScript well enough before you start leaning on hefty frameworks that obscure a lot of what goes on behind the scenes. If you understand JavaScript, you'll be better able to troubleshoot and fix issues that come up when you're using frameworks. My pure JavaScript app is deployed on Heroku here . The code is on GitHub here . Once I was happy enough with the pure JavaScript application, my next goal was to redo it using Angul...