This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Beginning Object Oriented Javascript Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Beginning Object Oriented Javascript Question" Watch "Beginning Object Oriented Javascript Question" New topic

Beginning Object Oriented Javascript Question

R. Harrison Campbell

Joined: Aug 26, 2006
Posts: 1
I've dabbled a bit with Javascript, but did not get in depth with it. Lately I notice many application coming out written solely in Javascript, is this book a good start to learn to take my web apps in that direction?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63534

Written solely in JavaScript? No back-end components? That would be very limited in scope.

The advances in JavaScript, JavaScript knowledge, and the JavaScript libraries that have been popping up like mushrooms have all made rich interfaces in the browser much more possible and easier to create. But the need for server-side components isn't going anywhere -- especially when database access is involved.

That said, the nature of web applications is changing, and that entails changes in the way that the server-side components are written. The emphasis on full-page responses has diminished greatly in favor of smaller packets of info: HTML fragments, XML data, JSON data, and so forth.

[Asking smart questions] [About Bear] [Books by Bear]
Stoyan Stefanov
Ranch Hand

Joined: Jul 16, 2008
Posts: 61
Hi R., you're right, we've been moving towards the client increasingly and JS is the language of the browser.

Bear is right, the future of the web pages lies in those component-type pieces and widgets that consume web services from all over the place and mash'em up. The futute is now, check iGoogle, my yahoo or foxytines planet. And since you can have web services return you JSON, you can build your app entirely on the client with JavaScript.

<a href="" target="_blank" rel="nofollow">my OOJS book</a>
I agree. Here's the link:
subject: Beginning Object Oriented Javascript Question
jQuery in Action, 3rd edition