background preloader

HTML

Facebook Twitter

31 Must See HTML5 Experiments - acrisdesign.com. Projects - Made by Evan. What are the most interesting HTML/JS/DOM/CSS hacks that most web developers don't know about. 22 Tutorials for HTML5 Mobile Web Development. So as we’ve mentioned occasionally around here, we think that HTML5 app development is something that even real developers (we kid! We kid!) Should be keeping their eye on as a likely method of first resort for cross-platform development and non-AppStore distribution; and here (h/t: @Dylan_Beadle) is a LIVE! ONLINE! FREE! Course it might be worth at least keeping an eye on in the background every Tuesday the next 10 weeks: HTML5 Mobile Web Development Ready to create mobile web applications with HTML5?

First one starts in … oh, look at that, half an hour. Aaaaaand while we’re discussing HTML5 development, this looks like a good place to stash some of the looking worth a followup read links in that space we’ve noted recently about the various frameworks available: 10 Useful Frameworks To Develop HTML-Based Webapps for Touch Devices 18 Mobile Frameworks and Development Tools for Creating iPhone Apps Introducing Sencha Touch: HTML5 Framework for Mobile Getting Started With Appcelerator. Initializr - Start your HTML5 project in 15 seconds! 10 Exceptional Examples of HTML5 Canvas and Applications. 10 Great HTML5 Canvas demos This is collection of most incredibly HTML5 canvas demos. Today, during browsing web I was amazed with so big amount of various html5 demonstration. And glad to share what I was able to collect. HTML5 become more, and more powerful, it even less processor-consuming than Flash.

So, may not be far off such an event when the flash will fully shifted with html5? 1. Beautiful aquarium 2. Great light online photo editor 3. 3D Earth Spinning around its axis the earth globe 4. Asteroid belt in space 5. Nice photo gallery view (looks like polaroids shots) 6. This is most great demo, here are even set of demos – animated demonstration of various weather effects 7. js cloth 2D image at 3D environment 8. Three-dimensional molecular structures of various elements 9. Nice space drama 10. 3D Model Viewer 3D viewer of different prepared objects Conclusion Hope that our new collection of cool html5 demos was really interesting for you. HTML5-Powered Web Applications: 19 Early Adopters. HTML5, rumored as Flash killer, is a brand new web technology that raises a revolution lead by Apple in web application development.

It contains canvas element for images and animation drawings, support video and audio embedding, and includes storage database for offline web applications. Most important of all, you don’t need a plugin to get all these features, your latest browser supports that. Sounds pretty cool, but what HTML5 can do actually? Well, this post is going to satisfy your curiosity about the power of HTML5 by showing you a series of practical HTML5-powered web applications such as drawing application, chart creating application and time management application.

So there’s no technical document anymore, let your eyes witness the true potential of HTML5! 19 HTML5-Powered Web App DeviantART muro Muro is HTML5-based sketching app that works in all modern browsers, and you can dive in and start drawing on a blank canvas, all without Flash or any other plugin. HootSuite X-Worlds. Eureka! Google breakthrough makes SSL less painful. Big Security for Big Data Google researchers say they've devised a way to significantly reduce the time it takes websites to establish encrypted connections with end-user browsers, a breakthrough that could make it less painful for many services to offer the security feature. What's more, the technique known as False Start requires that only simple changes be made to a user's browser and appears to work with 99 percent of active sites that offer SSL, or secure sockets layer, protection.

"We implemented SSL False Start in Chrome 9, and the results are stunning, yielding a significant decrease in overall SSL connection setup times," Google software engineer Mike Belshe wrote in a blog post published Wednesday. "SSL False Start reduces the latency of a SSL handshake by 30%. That is a big number. " The finding should come as welcome news to those concerned about online privacy. "All of this represents a tremendous amount of work with a material gain for Chrome SSL users," Belshe said. Taming 2D Transforms in HTML5 Canvas | Carbon Five Community. This is the second post in a series on creating custom interactive visualizations in canvas. The first post is here. The canvas API contains five methods (rotate, scale, translate, transform, and setTransform) used to transform the drawing context.

We typically use the transform API when we want to rotate or scale some element of the visualization (especially text). In canvas, we don’t actually move the elements. Examples: (an HTML5 browser is required to view these) The Basic Idea Choosing the right coordinate system simplifies calculations. In the interest map project I described in a previous post, I want to use bezier curves to draw arrows using my own formula for the ratios of the arrow length, arrow head length, and arrow head height.

A Bit About The Math I’m not going to get deep into linear algebra or affine geometry, but I think a little knowledge of how transforms are implemented is required to use them effectively. Save and Restore Some Concrete Examples. WebSocket and Socket.IO. My favorite web technology is quickly becoming the WebSocket API. WebSocket provides a welcomed alternative to the AJAX technologies we've been making use of over the past few years. This new API provides a method to push messages from client to server efficiently and with a simple syntax.

Let's take a look at the HTML5 WebSocket API: its use on the client side, server side, and an outstanding wrapper API called Socket.IO. What is the WebSocket API? The WebSocket API is the next generation method of asynchronous communication from client to server. What's great about the WebSocket API that server and client can push messages to each other at any given time. AJAX technology was a clever usage of a feature not designed to be used the way it is today. WebSocket API Usage var socket = new WebSocket(' socket.onopen = function(event) { socket.send('I am the client and I\'m listening! ') Let's take a look at the individual pieces of the snippet above. WebSocket with Socket.IO. HTML5 Techniques - Ultimate Collection of Tutorials. As my experience we always close to the latest technologies as we have one step ahead on web development techniques as HTML5. HTML 5 is the advanced version of HTML.

HTML 5 is giving new techniques and advanced features/structure in designing. These new features and tags makes designing very easy to create a web page. CSS3 and HTML 5 are capable of revolutionizing the way we design websites. Both include so many new features and functions that it can be hard to wrap your head around them at times. HTML5 is giving web designers and developers new capabilities that were things of fantasy with previous versions of HTML. When saying about HTML5, developers mean the new semantic structural tags, API specs like canvas or offline storage, new inline semantic tags, etc.

In an front-end development effort to encourage our respected visitors and readers to do the same and to prepare you for the future, we’ve rounded up “HTML5 Techniques – Ultimate Collection of Tutorials“. When can I use… Chapter 35. Geolocation without GPS. [ This chapter does not appear in the book. ] I made things easy for myself in the last chapter by relying on a GPS receiver to generate latitude and longitude information. In this chapter, I throw away the GPS device (figuratively, of course), and determine my position and geographical address (my geolocation) without its help. Although this seems a daunting task, I'm encouraged by the availability of geolocation in HTML5. Even when there's no GPS receiver attached to the computer, a tiny piece of JavaScript executed by the browser can return your latitude and longitude.

I want to emulate HTML5's geolocation API in Java without having to fire-up a browser. Also, I'm going to restrict my hardware to a netbook without a GPS receiver, RFID or Bluetooth; the machine's only connection to the wider world will be through WiFi. The diagram at the top of this page shows the various ways I'll be using IP and MAC addresses in this chapter.

The PDF file for the draft chapter (276 KB). Navigation: Dr. Swarm of XeBees » HTML5 – Multithreading in JavaScript with Web Workers. Digg Sharebar defines an API that can be used for running scripts in background threads. In traditional browsers javascript was capable of running in a single thread, due to which it was difficult to run background tasks.

Also the capabilities and performance of client side applications were limited. However, there are some asynchronous functions like "setTimeout" and "setInterval" which provide nice work around for running background tasks. I have divided this blog into two parts. The way javascript handles various asynchronous ajax calls or various timer functions, it makes us feel that javascript runs in multiple threads. Let us take an example of the following script function init(){ takes 5 ms to be executed mouseClickEvent occurs takes 5 ms setInterval(timerTask,"10"); takes 5 ms } function handleMouseClick(){ takes 8 ms to be executed } function timerTask(){ takes 2 ms to be executed } Figure below shows the execution of the above script.

Lets have a look at "worker.js" script. WebSockets is cool, but what can you do today? | Clay Lenhart's Blog. WebSockets is a new feature that appears to be a great way to send messages from the server to the browser, however today there isn’t much support, both in browsers and on the server in IIS and ASP.Net. Today you can use a Comet technique (in particular, Ajax with long polling ) which is available in all browsers. Using this concept, the browser makes a standard AJAX call to the server that waits until it receives a message. Asynchronous Pages and Asynchronous Controller allow you to have long running HTTP requests without using precious ASP.Net threads.

On the server, there are two resource limits to consider with IIS and ASP.Net: HTTP request limits — in IIS7 the default limit is 5000 ASP.Net thread limits — in IIS7 the default limit is 12 x number of CPUs For a typical ASP.Net application (and ASP.Net MVC application), an HTTP request always uses an ASP.Net thread. Take for example an email web application that has jQuery code to check for new mail. $( function () { checkEmail(); } else { Introducing HTML5 Web Sockets – taking bidirectional communication on the web to the next level. For a long long time we have tried to be able to push information from the server out to the end users without having to poll the server all the time.

Background My first memory of pushing out information to the end user was a feature in Internet Explorer 4 when you could subscribe to information and get it pushed out to you. If my memory serves me correctly, it wasn’t really seamless, but nevertheless, it was my first experience of it. Therefore, in 2005 when the AJAX hype hit us all, and we got a cross-browser way to dynamically update portions of a web page, we kept on sending requests to server to check for new information since there was no way to push things from the server when it was necessary. This lead to a lot of superfluous HTTP requests, header information being sent and way too much server load.

Enter Web Sockets What we have needed, though, is a native approach, both on the client- and server-side to be able to have bidirectional communication. 2.ws.send("Some data"); Inline Code Finder. Inline Code Finder is a tool to traverse through all elements in a web page, and when it finds a HTML element with any of these, it will highlight them: Inline JavaScript eventsInline stylejavascript: links In terms of inline events and javascript: links, it is generally frowned upon, and should instead be implemented in an unobtrusive fashion.

More information and a summary report When you hover over an element with an inline event, inline styling or a javascript: link, it will show you more information about it: Inline event information Inline style information javascript: link linformation Stand-alone version At the bottom left corner of the window, you will be presented with a summary report of the number of javascript: links, inline styles and inline events in the current web page, and each type of inline event summarized. Firebug add-on Settings Keyboard shortcuts Availability It is available as a stand-alone Firefox extension, stand-alone Google Chrome extension or as a Firebug add-on. HTML5 Recipes: Rectangles - InsideRIA. Best Practices on Web Site Performance Optimization - Public - dynaTrace Community. The best way to measure the performance of your website is by looking at certain Key Performance Indicators (KPI’s) that tell you how fast or slow your web site is to the end user.

Driven by efforts from web performance specialists such as Steve Souders and companies like Google and Yahoo, the industry has learned that factors such as page load time, number of network roundtrips and transferred size are important performance indicators for a web page. With the tracing capabilities of dynaTrace AJAX Edition it is possible to extend the list of existing KPI’s to also include metrics such as Time to First Impression, Time to Fully Loaded and Time Spent in JavaScript.

This document describes a list of KPI’s that should be tracked on every page, what we consider as good and bad and what you can do to improve these KPI's. KPI’s on Load Time There are 3 interesting phases of a web site from an end-user performance perspective. Time to First Impression Time to onLoad Event Time to Fully Loaded. Best Practices for Speeding Up Your Web Site.

The Exceptional Performance team has identified a number of best practices for making web pages fast. The list includes 35 best practices divided into 7 categories. Minimize HTTP Requests tag: content 80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. One way to reduce the number of components in the page is to simplify the page's design. Combined files are a way to reduce the number of HTTP requests by combining all scripts into a single script, and similarly combining all CSS into a single stylesheet. CSS Sprites are the preferred method for reducing the number of image requests.

Image maps combine multiple images into a single image. Inline images use the data: URL scheme to embed the image data in the actual page. Reducing the number of HTTP requests in your page is the place to start. Top | discuss this rule Use a Content Delivery Network tag: server tag: css. Five Signs You Need HTML5 WebSockets. HTML5 WebSocket is an important new technology that helps you build engaging, interactive, real-time web applications quickly and reliably. Sure, HTML5 WebSockets may be the best thing since sliced bread, but is this new technology right for you? This article identifies five types of web applications that will benefit from HTML5 WebSockets. So, without further ado... give me five! Your web application has data that must flow bi-directional simultaneously. Your web application must scale to large numbers of concurrent users. Your web application must extend TCP-based protocols to the browser.

Your web application developers need an API that is easy to use. Your web application must extend SOA over the Web and in the Cloud. When the Web was first conceived, it focused on document retrieval. Now, HTML5 WebSockets deliver a full-duplex communication model for the Internet: communication between the client and server can now flow in both directions . 7 Most Useful Regular Expression Snippets. Eight Thang. Very useful HTML5 App with a size of less than 10 Kilobytes 

HTML5 Boilerplate - A rock-solid default for HTML5 awesome. HTML5: The Facts And The Myths - Smashing Magazine. HTML5 Geolocation API is scaring me. Never Mind the Bullets - BEAUTY OF THE WEB. HTML5 Local Storage – Complete Guide Tutorial. Wicked CSS 3d bar chart using only CSS3 with animations. 45 Awesome HTML5 Examples, Resources and Websites.

Jigsaw. Microdata: HTML5’s Best-Kept Secret. Offline": What does it mean and why should I care? Dive Into HTML5. Recreating Google’s bouncing balls logo in HTML5 canvas. 7 Brilliant and Highly Addictive HTML5 and JS Experiments. Periodic Table of the Elements. 20 HTML Best Practices You Should Follow.