Archive for the ‘Practice’ Category

Using Mustache JS by jQuery and Express application example. Part 1/2.

In this tutorial we will create a web application using great tools – html5, Bootstrap, jQuery, Mustache JS and Express. Step by step. We will also use the ionicons. Mustache JS Not everyone (including me) likes templating systems in for example PHP. But here the situation is much different! Mustache JS is a JavaScript implementation […]

jQuery mini tips III – forms

Welcome to the next article of the jQuery mini tips series. Today we will play around selected aspects of working with the form elements. 1. Prevent to select more than one item in select multiple input Once I created a project, where I had to show UI in a little bit old-school way (similar to […]

CSS tips and tricks

When we work with CSS, we often create or find interesting solutions for various tasks or problems encountered. CSS Tips 1. Cross-browser CSS word break for too long text For example, when we are creating front-end for the on-line chat, and there we have div-s for particular messages. The user writes very long text or […]

JavaScript and jQuery mini tips II

OK, it’s time for the next JS and jQuery mini tips. Today something about Fancybox plugin, check-boxes and parsing URLs in raw text. JavaScript and jQuery tips To the point. 1. Conditional form submit using JavaScript / jQuery It’s about sending the form only if the user checked a check-box (e.g. accept the Terms of […]

JavaScript and jQuery mini tips

The next article about JS and jQ tips, but in fresh, concise form. Quick JS and jQuery mini tips 1. Clickable background image on the website It’s about the case, when we want to make a clickable background of the website, for example, as advert pointing the user to some url after click on website […]

Node.js and tutorial – simple real-time comments

Previously we have written about node.js and 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 tutorial Step by step, […]

Node.js and – a basic tutorial

Node.js itself is great. Let’s add and have possibilities, which formerly we could only dream of. Node.js and 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 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, […]