What will be new in HTML 5.0 ?

Filed Under (dom, html, javascript, tags, w3c) by The Chef on 05-09-2007

Tagged Under :

The 5Th major revision of the core language of the World Wide Web, HTML is out. In this version, new features are introduced to help Web application authors, new elements are introduced based on research into prevailing authoring practices, and special attention has been given to defining clear conformance criteria for user agents in an effort to improve interoperability.
This revision tries to ease web developers work in creation of web applications.
The work is focused mainly on there ways:

Web Forms 2.0 is targeted to the common needs of web authors. Advanced widgets like RTF controls, menus and toolbars are the domain of Web Applications 1.0. These drafts are in active development. Web Forms 2 is nearing maturity; proposals are currently being discussed and specified for Web Applications 1.

Web Controls 1.0 is intended to add functionality to Javascript and CSS that aid the creation of custom widgets. However, this will be influenced by the design and implementations of XBL2, and so will not be available in the near future.

The DTD will be gone and the pages will be validated using a conformance checker.

Some new interesting tags will be <video> and <audio>. A video element represents a video or movie. An audio element represents a sound or audio stream.

Another new tag will be <canvas>. The canvas element represents a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, or other visual images on the fly.

Authors should not use the canvas element in a document when a more suitable element is available. For example, it is inappropriate to use a canvas element to render a page heading: if the desired presentation of the heading is graphically intense, it should be marked up using appropriate elements (typically h1) and then styled using CSS and supporting technologies such as XBL.

For more dynamic pages the <command> and <menu> tags were introduced.
If you are interested in more details about this new specification check w3 document.

How to format the XML document created using php

Filed Under (php, xml) by The Chef on 22-06-2007

Tagged Under : , ,

When using php DOMdocument to generate xml files, the output is sometimes messy and difficult to read by a human. To tell php to output a nicely formatted xml file use this code:

$dom = new DOMDocument( ’1.0′, ‘iso-8859-1′ );
$dom->formatOutput = true;
…..
…..

That’s all. Now when you are looking at the page source you’ll have a nicely formatted xml.

Enjoy !

Intel 80 core processors

Filed Under (intel 80-core processor) by The Chef on 16-06-2007

Tagged Under : ,

Ever since Intel showed off its 80-core prototype processor, people have asked, “Why 80 cores?”
There’s actually nothing magical about the number, Bautista and others have said. Intel wanted to make a chip that could perform 1 trillion floating-point operations per second, known as a teraflop. Eighty cores did the trick. The chip does not contain x86 cores, the kind of cores inside Intel’s PC chips, but cores optimized for floating point (or decimal) math.
Other sources at Intel pointed out that 80 cores also allowed the company to maximize the room inside the reticle, the mask used to direct light from a lithography machine to a photo-resistant silicon wafer. Light shining through the reticle creates a pattern on the wafer, and the pattern then serves as a blueprint for the circuits of a chip. More cores, and Intel would have needed a larger reticle.
Page 8 of 10« First...678910