Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Quite a few changes actually. Besides the video, you can now "draw" shapes on a virtual canvas - which could be quite handy if you ask me.
It also allows for "storage" on the visitor's client browser for storing more than simple cookie data.
It seems to me like they are reinventing the wheel.
Why don't they develop a GNU alternative to Flash rather than this dumb HTML5 Collective rubbish!
Also, isn't that drawing SVG?
HTML 5 is a mark-up language that is going to provide slower browser experiences, more internet ignorance, and act as a platform for other slow standards such as using SVG, CSS3 and dumb video **** to replace far faster browser tools, like Flash. The idea of using as much scripting, XML and plain-text as possible just seems dumb as *censored* from all points of call and yet this is still regarded as an upgrade. If people really have an issue with Flash then by all means, make a W3C blessed binary standard for rich media, don't try and replace it with more scripting which shouldn't be given as a utility due to its potential for lazy use and inefficiency!
The idea of using as much scripting, XML and plain-text as possible just seems dumb as *censored* from all points of call and yet this is still regarded as an upgrade.
Exactly, a scripting language language can never have as much power and speed as flash because flash is compiled (to byte code I think). All this will do is add another layer and more complexity to something that doesn't need it in the first place.
You seem to have a problem with something or other, so I'd suggest you go bang your head off a wall or something. If we can't have a civilised debate over the good and bad points of HTML5 then go elsewhere.
MS tried to create an alternative, although not free, it barely skimmed the top off Adobe's market share.
HTML 5 is a mark-up language that is going to provide slower browser experiences,
more internet ignorance
and act as a platform for other slow standards such as using SVG, CSS3 and dumb video **** to replace far faster browser tools, like Flash.
If people really have an issue with Flash then by all means, make a W3C blessed binary standard for rich media, don't try and replace it with more scripting which shouldn't be given as a utility due to its potential for lazy use and inefficiency!
Also, what does GNU have to do with HTML5 and the W3C, anyway?
HTML5 is a step forward, and more or less a natural extension of what we have.
Sharepoint and SilverLight are actually rather commonly used in enterprises over flash now. WPF itself is actually pretty bloody good for UI designing; better than HTML&CSS for sure. It particularly shines with data binding and data templates. I imagine a lot of the problem is that it requires the rather expensive IIS server.
But as far as performance is concerned it hardly makes a difference, since Javascript is compiled to machine code on-the-fly for the local machine with most browser's interpreters; much akin to java.
most web developers know barely anything about coding web-pages, much less how to script using all the features plugged into HTML 5.
Even if well-formed HTML 5 is almost as fast as Flash, most people won't be able to provide this and HTML 5 will take a very long time to become adopted.
and a pain for large companies that want to look groovy and use HTML 5.
I think the problem for HTML5 is javascript libraries like jQuery, Prototype, Mootools etc. They make designing interactive and animated websites very easy.
Also, with most websites using some form of server-side technology, web developers have no choice but know how to code.
No, not necessarily. Just the storage thing, I think, uses Javascript.
I noticed a lot of scripting in CSS 3 too, is that not JavaScript or EcmaScript?
CSS 3 Javascript? Nope! CSS 3 is the same as CSS 2 with added effects.
This is only a recent development
(half the reason Chrome caught developer's eyes so early on was its amazing out-of-this-world JavaScript performance)
var s = e = new Date();while (e.getTime() - s.getTime() < 500){ e = new Date();}
var s = e = new Date();while (e.getTime() - s.getTime() < 1){ e = new Date();}
var s = e = new Date();for( var i = 0; e.getTime() - s.getTime() < 500; i++){ e = new Date();}
var img = document.createElement('IMG');img.src = 'http://url_i_want_to_load.png';img.loaded = false;img.onload = new Function('e', 'this.loaded = true');while( !img.loaded ){ CodeToTrickChromeIntoThinkingThisCodeDoesSomethingUseful();}
I'm not sure what about scripts between the CSS...
That's irrelevant. It's here now.
If you ask me, Chrome's javascript interpreter, or at least it's implementation of certain behaviours, is broken.
Doesn't matter, that wasn't my point. My point in that line was that JavaScript requires more attention from the computer than Flash.
Maybe, but when they were first developing Chrome it ran JavaScript the fastest by far.
I'd take a more security auditable and less black-box implementation using HTML5 over Flash any day.
It doesn't matter how fast your code runs if it doesn't work.
If there was a W3C binary alternative it wouldn't technically be black-box, would it?
Well obviously it worked enough...
it may not even have been as bad as IE was at the time with JavaScript.
I've never had issues with Microsoft's Javascript implementation. I have with Chromes.
compiled to machine code on-the-fly
The difference in speed would result from this. Even if javascript is compiled, it's compiled on-the-fly where as flash is already precompiled to byte code resulting in faster execution.
Anyway, the main point of the post was comparing HTML5 to flash and even if HTML5 has its pluses, it will never compare to flash performance-wise.
Surely a lot of animation is done without much ActionScript use? I don't think anyone's trying to say ActionScript runs faster than JavaScript.
I'm not sure why we're so worried about speeds anyway - we're only talking milliseconds in the difference.
Firstly, BC, I think you need to get over yourself.
Secondly, even if you use ActionScript all over an animation or for a site, it's still not taking up most of the processing time.
It's sort of like saying that not all Windows applications have a WinMain() function. It's only right if you don't look beneath the surface; all Windows applications have a WinMain function, just most languages and libraries hide it beneath their runtimes. Similar with ActionScript; just because you didn't add it yourself doesn't mean it isn't there.
must you can create one if you like but one will be added automatically if you don't.
//a.javapublic class a{ public a(int parameter){ }}//b.javapublic class b extends a}