Archive for the ‘Practice’ Category

Learning AngularJS from scratch part II

Today we will continue learning the Angular JS framework, by getting to know better the most important parts of AngularJS application, as well by analyzing small practical examples. Learning AngularJS – further steps The previous part describes basic aspects of this great framework. We already know that AngularJS is a JavaScript language framework, and it […]

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

Welcome to the 2nd part of Mustache JS and Express tutorial. Today we will finish the work begun in part 1. Mustache JS and jQuery in action So far we’ve discussed the basics of work with Mustache JS library, prepared test data and the server in node.js. Now it’s time to code the front-end layer! […]

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 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 […]