• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML5/CSS + Canvas and JavaScript

 
David Sachdev
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the free chapters available at the book's site (see the Welcome topic) covers canvas.
 
David Sachdev
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@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
Posts: 32
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, really, I can see it now in the Downloads section (it's not so obvious). Thanks guys!
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sergey Zhuravel
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic