• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Will this book include server side javascript ?

 
Mohamed Iqzas
Ranch Hand
Posts: 72
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Javascript is lovely even though i have worked less with it. I dont know the in depth details of javascript. I dont know about the model in which program is run and executed in Javascript. For example in Java, the compiler converts our code into byte code and then there is JVM which executes the byte code , objects are stored in heap, Garbage collector takes care of memory management, String literal pool is used for efficiency, and then a lot about collections and so on...

Does this book deal with the core usability of javascript or also the serverside javascript , ajax coding, and may be jquery?

These days these topics (serverside javascript , ajax coding, jquery) qualify automatically when we just say Javascript.
 
Michael Swierczek
Ranch Hand
Posts: 125
1
Clojure Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just as a note, jQuery is becoming less important now that Microsoft Internet Explorer 9 and newer editions is out. There's a great website on accomplishing things without jQuery if you don't need to support older Internet Explorer versions: http://youmightnotneedjquery.com/

I think jQuery is great, I've used it a lot. But by avoiding it, you can more easily use other third party Javascript libraries that do not interoperate well with jQuery.

 
Kent O. Johnson
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael,
thank you for posting on this topic. I had not considered the possibility that jQuery would go by the wayside. I hope to discover what the future of JavaScript holds so I can learn the best things for the coming years.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My experiences are somewhat different. I find that with very few exceptions, modern frameworks either interoperate well with jQuery, or even use jQuery as a platform.
 
Michael Swierczek
Ranch Hand
Posts: 125
1
Clojure Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would recommend weighing Bear Bibeault's input more heavily than mine on this. I was going by what I had read in one web editorial - at my current job and my previous one we use jQuery and no other Javascript libraries, so I have no sense for how well jQuery fits into the global javascript landscape.
 
Elisabeth Robson
author
Ranch Hand
Posts: 173
6
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mohamed,
Head First JavaScript Programming is all about the language, and while we do talk about how to use JavaScript to create programs in the browser (e.g. interacting with the DOM, etc), we don't get into server-side programming at all, nor do we get into Ajax or APIs on the client side (that's what Head First HTML5 Programming is for).

So it's really about learning the language JavaScript really well, and much of what you learn will be applicable to both client- and server-side programming.

And we don't cover jQuery at all (except a couple of pages in the appendix).

Elisabeth
 
Mohamed Iqzas
Ranch Hand
Posts: 72
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Elisabeth for clarifying about the book.

Bear as usual , words of wisdom
 
paul nisset
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jquery has a method/directive called 'noconflict' .
This is used in working with third party libraries that also use the '$' operator.
You can then use 'JQuery' ,ie. ,as library identifier or define a new symbol to identify the JQuery call.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some clarifications:

It's jQuery (not JQuery, case counts).

And, the .noConflict() method does not need to be called in order to use the name jQuery -- that's always defined. What the method does is to restore the value of the name $ back to whatever it was before jQuery reassigned it to itself.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic