AngularJS Directives in Traction


It’s good to be back to write a full-fledged blog post after almost 1.5 years. You may be wondering where I was and what I was doing during that period. Well, nothing, it’s just that I was quite busy with my books on AngularJS 1.x. Although the first book named AngularJS UI Development by Packt has been released in October 2014 which is received quite well. For my second book, Manning Publications approached me to write a book especially on AngularJS Directives after getting impressed by The Hitchhiker’s Guide to the Directive blog post. I’m glad that lots of people found the blog post very useful but there were many things had not been covered and could be added. So I decided to take the responsibility to write this book. However, It has been cancelled recently due to the fact that Angular 1.x directives wouldn’t have a strong market any longer and spending few more months to finish it off is not worthy as there will not be enough time for marketing because of the advent of Angular 2.0. So with the consent of Manning, I’ve decided to publish all the chapters on my blog for free.

Why is that strange blog title? It’s because I’m not allowed to use any of the Manning brandings such as their “in action” verb or Cover image but I’m hopeful that they will be fine with the above title with the prefix “Tr”.

Before we jump in, let me take a pleasure to say few good things…

Packt vs Manning

I’m fortunate enough to work with two radically different publishers but great in their own way. I can only say that I really enjoyed the process with both of them and have a good analogy to prove my point on a positive note. I see Packt Publishing like a mother who supports, cares, and gives you more freedom on how and what to write about in a book. Even if you make any mistake, she would react such a way that you would not get hurt, instead, encourages you to make an improvement the best possible way. Whereas Manning Publications is like a father, still loves you as much as your mother does, but little strict for your own good. He always makes sure that the kid will not get wasted with mother’s appreciations and supports, hence, often expects more and better things. There are lots of things one could say when using mother-vs-father analogy but I’ll control myself by considering you understood my intentions. So I’ll end it with a simple statement, “you can not leave one for the other”.

Table of Content

There are good books and blog posts (including mine) are written already on AngularJS Directives but I believe Directives are the integral part of AngularJS ecosystem and will be even in Angular 2.0. So I’ll take a shot at it in my style:

  1. AngularJS Directives: A forerunner of Web Components
  2. AngularJS Fundamentals: A Crash Course
  3. Testing the Beast: Unit testing and E2E testing
  4. Building your first HTML element using the API
  5. Understanding Scope in Directives for better context
  6. Crafting directives to handle Complex Scenarios
  7. Bringing directives to Life

Git Book

Read it online,
http://codef0rmer.gitbooks.io/angularjs-directives-in-traction-the-book

Feel free to provide feedback,
https://github.com/codef0rmer/angularjs-directives-in-traction-the-book

Source Code

The full source code is available on Github at https://github.com/codef0rmer/angular-directives-in-traction.

If you found this article useful in anyway, feel free to donate me and receive my dilettante painting as a token of appreciation for your donation.
Advertisement

4 thoughts on “AngularJS Directives in Traction

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.