Sunday, November 23, 2014

Book Review : JavaScript Promises Essentials

Introduction

  • Today I am going to Review a Book which has been published by Packt Publishing.
  • The Book is JavaScript Promises Essentials.
  • The Author of this book is Rami Sarieddine.

JavaScript Promises Essentials


Table of Contents *


JavaScript Promises Essentials


What you will learn from this book ? *

  • Implement asynchronous programming in JavaScript
  • Get acquainted with the JavaScript Promises API
  • Choose the right JavaScript libraries to use callbacks in a non-compatible platform
  • Write chained asynchronous operations that are easy to manage
  • Master WinJS Promises for developing Windows applications
  • Differentiate between various implementations of promises in JavaScript
  • Put promises into action in your applications
  • Catch and handle errors effectively in asynchronous operations
  • Explore browser support and platform compatibility for JavaScript promises


Who this book is for ? *

  • If you are a JavaScript developer working with asynchronous operations and want to know more about promises, then this book is ideal for you.
  • Having a detailed explanation of JavaScript promises will be perfect as your next step towards adopting this new standard and using the API in your web and JavaScript applications.


Pros

  • There was never a time before when JavaScript had been this popular. Same popularity for the JavaScript promises as well. So this book will give, what you need to know about the Javascript Promises.
  • I have read the first chapter of this book and it's a really good one. So I'm going to share the thoughts of mine about this chapter with you.Let's start it.
  • In the first section the author has explained what is  Asynchronous programming in JavaScript and has described the history of AJAX and the importance of non blocking UI. This section explains about the Issues that developers face with traditional approaches to handle, asynchronous operations.After that, about the callbacks. In this section we can learn about the callbacks.More importantly,it's by using very simple examples where anyone can understand.
  • Then he moved into the  Introduction to JavaScript Promises section. In this section  we can learn about the promises, its states,how it can be used  and the usage of promises chaining.All are explained by using simple examples and step by step explanations.It's very cool. 
  • In the last section of the first chapter the author has explained Why Can't we just use a callback and Why we should care about promises when comparing it to the common way of doing things asynchronously. Simple examples have been provided for understanding the concepts more easily where even for the beginner  level of the JavaScript developers.Which is really great. 
  • Some of the code snippets have been put on the JsFiddle. Which is really cool.
  • This is a concise book (~ 90 pages), were directly targeted to the most needed materials about the JavaScript Promises .

Cons

  • I have seen a typo issue in first chapter : "Additionally, callbacks are lightweight since we need to add extra libraries." It should be corrected as "Additionally, callbacks are lightweight since no need to add extra libraries." 
  • The other complain where I have about this book is with the formatting of the Code snippets.Currently it's in Black and White (mono) way. As a reader, I would like to have a color syntax for the code snippets.If so,It'll give a huge value for the packt's books.

Reference *


Do you need to Buy this Book ?



Conclusion

  • I would like to recommend this book for all the Javascript developers,Who are willing to learn Promises in depth.
  • I have to put a special thanks for Packt Publishers,who gave me this opportunity to review this book.The Packt Publishers are doing an outstanding job in the Software Developer world by publishing this kind of up-to-date books in very specific areas.Keep up the Good work.
  • Thanks for the Author Rami Sarieddine as well for writing this kind of Instant category book.Keep up the Good work.

Sunday, November 16, 2014

Book Review : AngularJS Services

Introduction

  • Today I am going to Review a Book which has been published by Packt Publishing.
  • The Book is AngularJS Services.
  • The Author of this book is Jim Lavin.

AngularJS Services


Table of Contents

AngularJS Services

What you will learn from this book ?

  • Write Jasmine scenarios to test your AngularJS services.
  • Implement common functionality that can be leveraged by the controllers, directives, and other services in your application.
  • Build services that create, retrieve, update, and delete your application's data on external servers.
  • Incorporate third-party JavaScript libraries into your AngularJS application.
  • Move business logic to the client side to build a new class of server less applications.
  • Optimize your AngularJS application for maximum performance.

Who this book is for ?

  • If you are an intermediate JavaScript developer who is looking to enhance your understanding of single-page web application development with a focus on AngularJS services, then this book is for you.

Pros

  • I have completed around 4 chapters of this book.And it's a really good read.
  • This is a concise book (~ 140 pages), were directly targeted to the most needed materials about the AngularJS Services.
  • This book provides you with the skills and best practices needed to create AngularJS services.
  • It starts with the fundamentals of what services are and their role in a typical AngularJS application.
  • Then you will learn the development of a real-world application using services across the various application layers and then move on to create services that provide cross-cutting concerns such as messaging, logging, and authentication.
  • Next, the book covers services that provide data access showing you how to interact with external cloud-based data services and how to cache data on the client to reduce network latency.
  • The book then shows you how to write services that leverage other cloud-based services to create mashups and include functionality in your application without writing a lot of code.
  • You can also learn how to create business logic objects, rules engines, and finite state machines, which can be used to provide business logic for your application.

Cons

  • It's better if the source code of this book can put on the Plunker.Then readers can easily change the things and test lively.It'll give huge value for this book. Especially for the eBook readers.
  • The Author has mentioned lot of external libraries and about some good concepts.But unfortunately the author has not provided external links for such materials.Which is really poor. 
  • The other problem is with this book is the lack of images and charts for the concepts and the sample app's architecture. This book is having a lot of wording without proper image explanations.As a result, it's somewhat boring to read this book.
  • The other issue where I have about this book is with the formatting of the Code snippets.Currently it's in Black and White (mono) way. It should require as color syntax code for better reading experience. 

Reference


Conclusion

  • I would like to recommend this book for all the Novice and Intermediate Developers, Who are willing to learn AngularJS Services.
  • I have to put a special thanks for Packt Publishers,who gave me this opportunity to review this book.The Packt Publishers are doing an outstanding job in the Software Developer world by publishing this kind of Up-To-Date books in very specific areas.Keep up the Good work.
  • Thanks for the Author Jim Lavin as well for writing this kind of Instant category book.Keep up the Good work.