Posts Tagged ‘examples’

Progress bar with CSS and HTML5 in a few lines of code

A progress bar in CSS for web project? Sure, and it without using images. Today short and to the point. Create progress bar with CSS and HTML5 We can use HTML5 and Bootstrap, or define our own CSS styles. Solution #1 — HTML5 Let’s add Twitter Bootstrap and jQuery to our web page, and a […]

JavaScript, HTML5, CSS and Data URI

What is that? The Data URI scheme is simply a way to represent the information, but in such a way the data usually kept in files (e.g. images) are available in a form of text string! Such a string has its own format, and allows developers to easily transfer the resource, e.g. between Web applications, […]

Node.js and socket.io tutorial — simple real-time comments

Previously we have written about node.js and socket.io. Today we continue the topic by developing real example. We will create a simple, efficient commenting system between users. Data processing and refreshing the list of comments will be done in real-time, for all users having our web application opened. Node.js and socket.io tutorial Step by step, […]

Node.js and socket.io — a basic tutorial

Node.js itself is great. Let’s add socket.io and have possibilities, which formerly we could only dream of. Node.js and socket.io After presenting basics of node.js and how to work with databases, it’s time to reach for even more interesting things. One of them certainly is socket.io. Simply establish a connection between our site (front end) […]

Node.js and MySQL, couple words about MongoDB

After introduction to node.js it’s time to go with more advanced and practical information. Today we play with communication between node.js and MySQL databases, and also we mention of MongoDB. Node.js and MySQL If we code using e.g. PHP, we should have LAMP installed in our system, so then we have also MySQL. Additionally we […]

Node.js introduction

JavaScript’s popularity is obvious. And solutions such as node.js have a big influence on this. For a longer time, we can see and hear a lot about this technology. We also use node from some time, and… we can do really cool things, so for sure it’s something worthy of attention. And finally I have […]

Backbone.js tutorial for beginners — part 2/2

Today, the second part of exploring the Backbone.js secrets. Backbone.js tutorial After talking about the basics and key aspects, such as models and collections, we will focus on next — Router, View and Events. Routing — Backbone.Router For what would be our application without the possibility of interaction? Backbone.Router provides routing methods for client-side pages, […]

candy.ai review

DOM Storage — JavaScript Web Storage

There is no problem with Web apps with server-side back end code, where we can for example store data in MySQL or simply — in files. Thanks to Web storage / DOM storage, our modern web application can store the data itself, and we will handle them in JavaScript. JavaScript Web Storage It is a […]

HTML5 Web Messaging

Web Messaging (or cross-document messaging) it’s the API introduced to the HTML5 specification, allowing documents from various sources / domains to communicate in a secure manner. This is the basic level of security that allows to operate over the cross-site scripting protection level. HTML5 Web Messaging The basic method is postMessage, allowing to establish communication. […]

HTML5 Cache and JavaScript — how to use HTML5 cache?

Today, a few words about the issues and possibilities offered by HTML5 Cache. Working with HTML5 Cache The back end developers can associate it with a kind of caching the pages, to speed up their loading. In the case of HTML5 Cache it’s also about some other benefits. HTML5 offers caching mechanism for applications in […]