Switching From Flash To HTML5

  • Started
  • Last post
  • 31 Responses
  • kingsteven0

    I learned a lot from hacking ^^ stew's chatttr (http://chatttr.com) - basically opening the js terminal and chrome and over-writing stew's functions with my own... then went and built this: http://♔.ws (btw. the amit pitaru-ness of it all is a little tribute to my flash roots) basically 2d canvas and a lot of 'lineTo' - very similar to flash's line drawing stuff.

    I guess the difficult bit is learning all the frameworks etc. i'd recommend learning a bit of jquery (basically to target html elements so that you can manipulate them)... underscore.js (http://documentcloud.github.com... will give you alot of the methods that you use in flash that aren't standardised across js implementations.

  • vaxorcist0

    This is a good thread, thanks everyone... some of these links are new to me.... and good....

    underscore.js looks interesting, as my biggest irritation with JS / CSS DOM is the browser inconsistency effect from hell....

  • alicetheblue0

    hi vaxorcist, I am doing the same thing. Videos work better for me:

    http://teamtreehouse.com/ -tutorials plus questions at the end of each series. Found this really brilliant.

    Lynda.com - for some basics.

    http://safaribooksonline.com/Cor… - lots of books, some old videos by the masters.

    • videos are not good, you need classic stuff: reading, books.
      ********
    • I do both!alicetheblue
  • fues0

    Thanks, very useful comments so far, I really like the Easeljs framwework (and its analogy to AS3, Grant Skinner kicks ass) and Paperjs as it provides vector graphics.

  • monolith0

    easel is solid. Do not abandon your OOP knowledge just for javascript. Javascript is abomination that will be replaced in the future with newer languages that bypass many javascript issues like Dart. It is inevitable.

    For now, just learn JQuery, JQuery Mobile as it is defacto standard JS framework these days, use easel.js but also look at ext.js framework as an addition to jquery as it is using nice MVC approach.

    With these you will be able to build 99% of anything you need.

  • stewdio0

    @monolith JavaScript's prototypal inheritance model is more powerful than classical inheritance. You can mimic classical inheritance in JavaScript, but you *cannot* mimic prototypal inheritance in C++, Java, etc. JavaScript is not an abomination. It's the first descendant of Lisp, Scheme, and Self to make it mainstream. It's got bad parts of course, but its good parts are really, really good.

    Watch this video "Volume One: The early years" here to see how JS came to be and why it's smarter than you give it credit for:

    http://yuiblog.com/crockford

    • your such a retard
      ********
    • i think you meant to write "you're" instead of "your"stewdio
    • yes retard
      ********
  • monolith0

    I watched and attended Crowford's sessions. IMO there are far more negatives than positives with Javascript and why most open source powers like Mozilla and Google want it replaced with something less messy. Loose typing that's so loose that it will very easily break applications, global variables, no proper classes, hashtables, no trace of packages or name spaces. This makes a problem of every public member of every object gets exposed to every other object and can be changed where security becomes a huge problem as well.

    When you read Javascript The Good Parts you can't help but facepalm yourself over and over again when Crowford himself shows some of the most idiotic problems with Javascript.

    I don't disagree with you about prototypal inheritance being relatively powerful and stuff like closure which is very popular and well implemented in Javascript. But the language is a mess from any way you look at it. One or two good things vs quite a
    few bad things is not what I call a good compromise. This is why by default there are so many frameworks. They are attempts to try to compensate for the inadequacies of JS as a language and are trying to mimic "proper" languages.

    And I completely disagree with the whole you can achieve things in Javascript that you can in OOP and not vice versa. Class-based OO can offer things like static methods, abstract classes, interfaces, method overloading and operator overloading.

    For anyone who is serious, javascript is an abomination as a programming language. It was patched together for the past 15 years and it's a mess, maybe ECMAScript 6 will bring something better but Crowford is defending it because he's JS grandaddy so to speak and the guy is behind JSON. It's his life and he has a certain dose of arrogance.

    I mean if Javascript was such a great language Crowford wouldn't call every other book and guides for it useless.

    When someone tells you that everybody else just doesn't get it, that's a signal that there is something wrong with the language and not the world and since I'm sure you have seen Crowford's lectures and read his books the amount of absurd nonsense that happens in Javascript is what makes it an abomination and no sugar coating will change that.

    The best parts of JS IMO are well implemented closure, lambdas, dynamic objects, object literals but you can count those things on one hand. There are far more bad things that makes it a bad language.

    I'll just leave you with this saying from Crowford that says it all:
    "JavaScript became the world’s biggest programming language completely independent of its merits". JS became popular not because it's great but because it was really the only thing that was pushed on the web and now it's so widespread that you have to deal with it's problems.

    • it's Crockford instead of Crowford jesus :) Not sure why I have Crowford in my head today. I had this conversation earlier today as well with someone else and did the same thing.monolith
    • earlier today as well with someone else and I did the same thing.monolith
  • pango0

    so in what order should like learn these wizardry art?

    • < yeah .... what order say you?alicetheblue
    • wtf was i saying... :( was probably drunk. i meant other than html, what should i learn first and what second and so on...?pango
  • fues0

    bump

  • dbloc0

    someone mentioned lynda.com. That's where I started with jquery. get it for 1 month and power through the tutorial vids. I learn best with tutorials when it comes to something completely new.

  • zaq0

    Robin Nixon's HTML5 Crash Course: Learn HTML5 in 20 Easy Lessons [Kindle Edition] FREE
    http://www.amazon.com/dp/B005FCI…