Archive for the ‘Practice’ Category

jquery-logo-x

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_javascript_3

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

tools_2

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

power

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

udontsay-128

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

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

nodejs

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

nodejs-logo

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

tutorial-js

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

backbone

Backbone.js tutorial for beginners – part 1/2

Backbone.js is popular JavaScript library, used heavy to create single-page web applications. The library was constructed using RESTful JSON interface and model–view–presenter (MVP) pattern. The creator of Backbone.js is Jeremy Ashkenas – author of underscore.js and CoffeeScript. Backbone.js tutorial for beginners Backbone.js needs only one dependency to work: Underscore.js (>= 1.5.0). Example – working with […]