File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Will this book include server side javascript ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Will this book include server side javascript ?" Watch "Will this book include server side javascript ?" New topic
Author

Will this book include server side javascript ?

Mohamed Iqzas
Ranch Hand

Joined: Jan 02, 2012
Posts: 63

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

Joined: Oct 07, 2005
Posts: 117
    
    1

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

Joined: Feb 21, 2013
Posts: 32
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

Joined: Jan 10, 2002
Posts: 61612
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Michael Swierczek
Ranch Hand

Joined: Oct 07, 2005
Posts: 117
    
    1

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

Joined: May 14, 2004
Posts: 173
    
    6
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


Co-Author of Head First JavaScript Programming
Mohamed Iqzas
Ranch Hand

Joined: Jan 02, 2012
Posts: 63

Thanks Elisabeth for clarifying about the book.

Bear as usual , words of wisdom
paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 177
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

Joined: Jan 10, 2002
Posts: 61612
    
  67

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Will this book include server side javascript ?