This is an overview session that touches onto all kinds of new developments in the wide field of web design. This talk is mainly focussed on client side technologies (HTML, CSS, JavaScript) and outlines the news of the past months. If you have not been following the buzz lately, this is a good session to get you up to speed.
6. HTML 5: Structural Elements
<section>, <nav>, <article>, <aside>,
‣
<footer>, <figure>, <header>, <dialog>
Behave like spans; use display:block
‣
For structuring pages
‣
Allows for nice CSS:
‣
– footer { font-size: 0.75em; color: gray; }
6 Konstantin Käfer
7. HTML 5 in action
Doctype: <!DOCTYPE html>
‣
Most browsers support any tags
‣
Except our beloved Internet Explorer
‣
<section> <section></section>
<h2>Alpha</h2> <h2>Alpha</h2>
<p> <p>
Section Alpha Section Alpha
</p> </p>
</section> </section><//section>
7 Konstantin Käfer
10. HTML 5: Storing data
Database Storage API: Plain SQL
‣
Local Storage: key-value pairs
‣
Session Storage: key-value pairs
‣
Supported by Mozilla, WebKit, Opera
‣
10 Konstantin Käfer
11. HTML 5: <canvas>
Already supported by Mozilla, WebKit, Opera
‣
Arbitrary 2D drawing
‣
Can be emulated with VML in IE
‣
Applications:
‣
– http://code.google.com/p/flot/
– http://wiki.github.com/sorccu/cufon/about
– http://ejohn.org/blog/processingjs/
11 Konstantin Käfer
12. Canvas Fonts
Alternative to images replacement and sIFR
‣
Use <canvas> and VML to render fonts
‣
Several libraries
‣
– http://typeface.neocracy.org
– http://cufon.shoqolate.com
Converts font files to proprietary format
‣
12 Konstantin Käfer
13. HTML 5: Miscellaneous
Drag-and-Drop
‣
Cross-document message exchange
‣
Data grids
‣
Undo manager
‣
Web sockets
‣
<video>, <audio> tags
‣
13 Konstantin Käfer
14. Google Gears
Offline applications
‣
Worker pools
‣
(for compute-intensive applications)
Databases
‣
(not fully compatible with HTML 5)
Geolocation
‣
14 Konstantin Käfer
22. WebKit’s CSS enhancements
Transforms: Rotating, Scaling, Morphing, ...
‣
Transitions: Animate between two states
‣
Animations: Define keyframes and timelines
‣
Demo
‣
22 Konstantin Käfer
23. Client side XSLT <xsl:value-of>
Title:$name
Date:$curdat
Transform XML documents
</xsl:value-o
‣
to HTML
XSLT Code
XML Input
Use the same XML for
‣
Web Services
XSLT Processor
Result Document
23 Konstantin Käfer
26. Server side JavaScript
Has been possible for a long time (CGI)
‣
Interpreters got extremely fast
‣
http://groups.google.com/group/serverjs
‣
26 Konstantin Käfer
27. Thanks! Questions?
Konstantin Käfer
mail@kkaefer.com
27 Konstantin Käfer