background preloader

Best Practices for a Faster Web App with HTML5

Best Practices for a Faster Web App with HTML5
While good, this article only tells part of the performance story. View html5rocks.com/features/performance for the whole picture of performance improvements. Introduction Much of HTML5 aims to deliver native browser support for components and techniques that we have achieved through JavaScript libraries thus far. Using these features, when present, can end up delivering a much faster experience for your users. Tip 1: Use web storage in place of cookies While cookies have been used to track unique user data for years, they have serious disadvantages. These two web storage objects can be used to persist user data on the clientside for the length of the session or indefinitely. Tip 2: Use CSS Transitions instead of JavaScript animation CSS Transitions give you an attractive visual transition between two states. By adding the toggling the classes of totheleft and totheright you can move the box around. Tip 3: Use client-side databases instead of server roundtrips No guarantees, though. :) Related:  others

bobby-tables.com: A guide to preventing SQL injection 50 Excellent CSS3 Techniques and Tutorials for Beautiful Design CSS3 has got a huge potential to create very elaborate and complicated details by strictly using CSS and no images. It can carry out a lot of functions as it is based on motion techniques. Many designers all over the world believe that CSS3 is a technique which has unbelievable potentiality which will be used to create wonderful designs in the years to come. At present, it is not being used varied all over the world due to a number of limitations – obsolete browsers being one of them. Many say that it would be the application of the future as it can improve the efficiency of the workflow by substituting waste workarounds as it was once used in the case of Internet Explorer 6. In the last few years we have seen many web developers who have talked about CSS (Cascading Style Sheet) and the possible designs it can create with the help of powerful animations. Create an Audio Player in HTML5 & CSS3 Filter Functionality with CSS3 CSS3 Navigation Menu with Notification Badges CSS3 Lightbox

Handlebars – SproutCore The following post refers to SproutCore 2.0, which has split off as a separate project. However, the information within this post is entirely applicable with respect to using SC.TemplateView and Handlebars in SproutCore 1.8. If you wish to use SC.TemplateView in SproutCore, you only need be aware that the many views and controls in the Desktop framework may contain templates, but should not themselves be contained within templates. When people check out SproutCore 2.0 for the first time, one question that they frequently ask is: Do I have to use Handlebars? Handlebars, if you’re not familiar with it, is a semantic templating language written entirely in JavaScript. Handlebars, unlike other templating solutions like Eco, doesn’t tempt you to embed domain logic in your HTML. So, while the answer to the question is use whatever templating system you’d like, we think Handlebars is a great option.

Augmented Reality Mobile App with HTML5 Augmented Reality is a technology to add digital information layer on top of user's view of real world, this article shows how to create a simple augmented reality app with HTML5 using Intel XDK. The app is developed with HTML5 and uses Cordova* APIs to access device's compass, accelerometer and geolocation information. It also uses Augmented Reality mode intel.xdk API to overlay HTML information on top of a Camera view. Designing the Augmented Reality App: The app shows distance of cities from the users point of view when the device is pointed in the direction of the city. Static list of places is shown when the user hold the device flat (table top) Augmented reality mode that overlays a layer with distance of cities from user's point of view when the device is held up vertically and rotated around an axis. This sample app uses a static list of random cities with latitude and longitude information. Below are screen shots of List view and Augmented Reality mode view of the app:

Les meilleurs Frameworks HTML5 Cet article est le premier d’une série sur les frameworks. Je vais sur plusieurs semaines, vous présenter les meilleurs frameworks sur les principaux langages et technologies web, tels que HTML5, CSS3, Javascript, PHP, … Donc aujourd’hui, nous allons donc découvrir les meilleurs Frameworks HTLM5 à l’heure actuelle. Il faut savoir que grace à HTML5, il est désormais possible de réaliser de nombreuses choses, comme des applications web plus précises, des animations, des jeux, du multimedia, le mobile, etc. Alors sans plus attendre, passons à ce que vous attendez tous, la liste magique !! Sencha Sencha, qui se nomme désormais Sencha Touch (actuellement en version 2), est surement le meilleur framework de développement d’applications mobile. Très simple à prendre en main, il repose sur une structure MVC, offrent des template graphiquement adaptés aux différents OS, ce qui permet de s’approcher au plus prêt des applications natives et surtout, rester instinctif pour les utilisateurs. MelonJS

22 Brilliant and Advanced jQuery Effects to WOW Your Visitors The jQuery library provides several techniques for adding animation to a web page. These include simple, standard animations that are frequently used, and the ability to craft sophisticated custom effects. In this article we've gathered 24 brilliant and advanced jQuery effects that can really surprise your visitors by their beauty and usability. 24 Brilliant and Advanced jQuery Effect iCarousel iCarousel is a beautiful and simple horizontal image slider, with a beautiful look. jQ Fancy Transitions jqFancyTransitions is an easy-to-use jQuery plugin for displaying your photos as a slideshow with fancy transition effects. BG Image Slideshow Above, you see an example of a beautiful advanced background image slideshow, recreated after the effect as seen on the website from Philadelphia. Apple-like jQuery Effect This beautiful and awesome jquery plugin, creates a zooming glass which acts as a retina display zoomer. Circulate Circulate is a very funny and interesting plugin built with jquery.

Dart : Structured web programming The Top 14: The Most Popular HTML5 Hub Articles in 2014 To mark the end of a fantastic HTML5 year we’ve decided to take a look at HTML5 Hub content that has proved to be the most popular amongst our online fans and readers. This content was contributed by YOU, the HTML5 developer community. Here is a list of the 14 most viewed articles on the HTML5 Hub in 2014. Author: Andrew Hyde Smith In response to the growing market for mobile apps several HTML5 Mobile UI Frameworks are now available to help developers create attractive and responsive apps. Author: Kyle Simpson You may be starting to notice a trend from my recent articles here on HTML5Hub. Author: Christopher Schmitt Responsive design techniques are a way for developers to adapt a site layout to a wide range of devices, from desktops to iPhones, and have it consistently look sharp and load quickly. Author: Guillaume Lecollinet You have probably heard about the growing interest in WebGL, the technology that allows for real-time 3D graphics in the browser. Author: Tyler Smith Author: Alicia Liu

A New Front-End Methodology: BEM This article is the sixth in our new series that introduces the latest, useful and freely available tools and techniques, developed and released by active members of the Web design community. The first article covered PrefixFree1; the second introduced Foundation2, a responsive framework; the third presented Sisyphus.js3, a library for Gmail-like client-side drafts, the fourth shared with us a free plugin called GuideGuide4 and the fifth presented Erskine Design’s responsive grid generator Gridpak5. Today, we are happy to feature a toolkit devised by Yandex: BEM. BEM stands for “Block”, “Element”, “Modifier”. It is a front-end methodology: a new way of thinking when developing Web interfaces. Due to the length of this article, it was split into three parts: BEM Principles Link To begin, let’s first put BEM in some historical perspective. Some parts of the BEM stack started as open source projects, while others (like the UI component library) are being gradually open sourced. Block Example

Related: