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 HTML5/CSS + Canvas and 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 "HTML5/CSS + Canvas and JavaScript" Watch "HTML5/CSS + Canvas and JavaScript" New topic
Author

HTML5/CSS + Canvas and JavaScript

David Sachdev
Ranch Hand

Joined: Oct 18, 2011
Posts: 32
JavaScript frameworks have come into favor as of late for application development I believe in part because they help provide the write-one, run anywhere (as far as the client is concerned) while still providing a rich client. With the adoption of HTML5 and Canvas do you see the dependence on JavaScript weakening or growing stronger as the technology choice on the web tier gets solidified? What about JavaScript frameworks such as Sencha's ExtJS that try to be everything - do you think they won't play as nicely with HTML5, or do you imagine that they will just be a user of HTML5 under the covers?

Also, I'm curious to know how in-depth the book goes into Canvas. I've seen some amazing things created with it, but haven't really taken the dive yet myself.

Thanks
David Sachdev
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61221
    
  66

One of the free chapters available at the book's site (see the Welcome topic) covers canvas.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Sachdev
Ranch Hand

Joined: Oct 18, 2011
Posts: 32
Bear Bibeault wrote:One of the free chapters available at the book's site (see the Welcome topic) covers canvas.


Thank you for that info! Going to read the Welcome message now!
Sergey Zhuravel
Greenhorn

Joined: Jan 27, 2012
Posts: 10
@Bear Could you please help me to find were I can see free chapters available at the book's site? And I can see in the table of contents this - Advanced <canvas>: gradients, shadows, and animation so I'm not sure that the book covers Canvas fully... Maybe Rob will clarify this.
David Sachdev
Ranch Hand

Joined: Oct 18, 2011
Posts: 32
Sergey Zhuravel wrote:@Bear Could you please help me to find were I can see free chapters available at the book's site? And I can see in the table of contents this - Advanced <canvas>: gradients, shadows, and animation so I'm not sure that the book covers Canvas fully... Maybe Rob will clarify this.


You can see on the Welcome page the link to the Book's page - and from there it has Samples from Chapter 1 and Chapter 3:

http://manning.com/crowther/HH5aCSS3_SampleCh-01.pdf

http://manning.com/crowther/HH5aCSS3_SampleCh-03.pdf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61221
    
  66

Sergey Zhuravel wrote:@Bear Could you please help me to find were I can see free chapters available at the book's site?

The links are right there on the page, labeled Sample Chapter 1 and Sample Chapter 3.
Sergey Zhuravel
Greenhorn

Joined: Jan 27, 2012
Posts: 10
Oh, really, I can see it now in the Downloads section (it's not so obvious). Thanks guys!
Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 295
    
    5

There's half a chapter on Canvas, it's meant as an introduction - basic shapes, text, fills and animation. There's more stuff on Canvas in my next book (currently in MEAP), HTML5 in Action, where it is used to build a simple video game and also do processing on video as it's playing. Really, though, it's an API which provides access through JavaScript to raw bitmap data so the sorts of things you can do are almost limitless. I think there are already other books on the market which focus exclusively on Canvas for hundreds of pages.


Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
Sergey Zhuravel
Greenhorn

Joined: Jan 27, 2012
Posts: 10
Yeah, I think Rob is right. It's impossible to cover all points of the Canvas in one chapter. So more special book needed for this. I think the Canvas is one of the most used things of HMTL5 in the future. Not Flash or JavaFx, HTML5 is the future!

@Rob, you mentioned your new book (HTML5 in action), I think it will be great book, somekind like Spring in Action, but could you please say when you are going to finish this book? And will we have the opportunity to win a copy of this book?
Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 295
    
    5

I think currently our target for HTML5 in Action publication is January, I'm sure there will be any number of promotions for it but I've not checked out the marketing plan as yet (too busy trying to finish it off!).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML5/CSS + Canvas and JavaScript