The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Falling (10) [Avatar] Offline
#1
I liked the first book a lot, but can the page that describes this book on Manning go over the value add of 1st edition vs 2nd edition?

What makes the second edition worth buying if you already have the 1st edition?

Thanks!
Josip Maras (30) [Avatar] Offline
#2
Hi!

The changes that we are bringing to the 2nd edition will be focused on the additions to JavaScript made by the ECMAScript 5 and ECMAScript 6 standards: changes to the scoping rules (let, const, var), new syntax for writing class-like code, promises, lambda functions, generator functions, modules... to name a few. To these new concepts, we'll give the same level of attention as was given to functions, objects, and closures in the first edition.

We'll also focus on some of the changes in the APIs provided by the browsers: Web Workers, Server-side events, Web Sockets, etc.

In essence, the book will be updated to reflect the changes in web development that have happened since the conception and release of the first edition.

Josip
Anonymous (122) [Avatar]
#3
Thanks for the info!
Anonymous (122) [Avatar]
#4
Promises ! Promises ! Can we have promises soon : )
Anonymous (122) [Avatar]
#5
Josip Maras wrote:Hi!

The changes that we are bringing to the 2nd edition will be focused on the additions to JavaScript made by the ECMAScript 5 and ECMAScript 6 standards: changes to the scoping rules (let, const, var), new syntax for writing class-like code, promises, lambda functions, generator functions, modules... to name a few. To these new concepts, we'll give the same level of attention as was given to functions, objects, and closures in the first edition.

We'll also focus on some of the changes in the APIs provided by the browsers: Web Workers, Server-side events, Web Sockets, etc.

In essence, the book will be updated to reflect the changes in web development that have happened since the conception and release of the first edition.

Josip


Hi Josip,

I've enjoyed reading the first edition of the book but since then a lost has happened. What has changed the JavaScript world is Node.js. I know that you can write a whole book on that subject, many already have done so.

Are you going to write a chapter on Node? Will JavaScript on the Server Side be treated?

Regards,

Albi.
Josip Maras (30) [Avatar] Offline
#6
Anonymous wrote:Promises ! Promises ! Can we have promises soon : )


The current plan is to release promises somewhere during summer, and we plan to give them A LOT of attention smilie

------

The focus of this book is JavaScript in the browser, so we won't place significant focus on Node.js (but if space permits, there will be an appendix with an overview and some pointers on it). That being said, JavaScript is JavaScript, so a lot of concepts from the book (how identifier resolution works, closures, deep understanding of OO, promises, other ES5 and ES6 details, etc.) that we'll use in the browser are exactly the same in Node, so in my opinion, there is at least 80% (a rough estimate) of book content dedicated to techniques and concepts that are common for both the server (node) and the browser.

Josip
azibi (3) [Avatar] Offline
#7
Promises?? ES6??

image
Chris Rickard (1) [Avatar] Offline
#8
I also think the 1st edition is the best book on advanced JavaScript to date. From the comments in this post and in comparing the table of contents it looks like 2nd edition is intended as complimentary rather than a replacement. Is this an accurate observation?
Josip Maras (30) [Avatar] Offline
#9
Hi Chris,

It sort of depends.

The changes in the table of content reflect the current state of JavaScript in the browser: we've added new ES6 features and have restructured the book so that these features fit in naturally. In addition, the browsers have changed a lot, so the later parts of the book (that deal a lot with cross-browser problems, especially with IE6, 7) have been thoroughly revised.

So, if you're stuck with ancient browsers you can think of this book as complimentary, but if you aren't, then it's a replacement.

Josip