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.

Non-Jquery Page Transitions lightweight | Free software downloads 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 Mobile Web Apps: Loading PagesBuildMobile This is the fourth excerpt from the book “Build Mobile Websites and Apps for Smart Devices” by Earle Castledine, Myles Eftos and Max Wheeler. BuildMobile is exclusively publishing a complete chapter from the book, the chapter on Mobile Web Apps, and this section is called “Loading Pages”. Now that we’ve learned the basics of handling touch screens, and picked up a couple of quick wins by optimizing our links and forms, it’s time to roll up our sleeves and get to work on the biggest component of just about any mobile web app. Unless your application is very basic, chances are you’re going to need more than a single page, and therefore, you need to think about how to switch between pages. Putting everything on one page, and then hiding and displaying sections as requiredLoading in new pages via AjaxIncluding only the complete skeleton of the app up front, and then bringing in data as required The approach you take will depend heavily on the application. 4.1. 4.2. Let’s start on the CSS.

Related: