Archive for the ‘Interesting stuff’ Category

xmas

Merry Christmas! And some JavaScript :-)

I’d like to wish Merry Christmas for everyone, and a successful New Year! Also I wanted to present here a few nice JavaScript effects related with Christmas. – js1k is a challenge for developers, and here a beautiful effect of Christmas Tree: http://js1k.com/2010-xmas/demo/856 – jQuery let it snow http://www.thepetedesign.com/demos/let_it_snow_demo.html – snow but using Zepto.js https://github.com/madrobby/zepto/blob/gh-pages/let-it-snow/index.html […]

painting

HTML5 Canvas, JavaScript and operations on images

Some time ago we got a small job. The subject: small research and creation of simple on-line editor for images, which should be editable from HTML5 Canvas and JavaScript level. Then the user should be able to save / send the final image. Today we present the basic elements and some examples related to this […]

icon5

A simple Halloween game in JavaScript – rapid development with jQuery

I love this atmosphere of Halloween! Having a free moment, I decided to create a simple game to fully feel the atmosphere. Halloween game in JavaScript It’s about the time not complicated requirements. For the project (and writing about on this blog) I had not too much time. Therefore, the aim was to create a […]

deeper

Object reflection in JavaScript

Today a small reflection about the object reflection. I’ll try to be concise. Object reflection in JavaScript Reflection of objects is not just a curiosity, but also a tool, which we can meet more often than we think. And it may turn out to be this, what we need when we stuck with some issue. […]

jquery-logo-x

jQuery tips and tricks

In today’s article we’ll do a small review of interesting jQuery tips. The framework itself gives the programmer a gigantic possibilities, that still can be extended through tricks and best practices. jQuery tips This time we focus more on practice and examples, rather than theory. Tip 1. Determine the size of our document In details, […]

wtf

JavaScript WTF – strange elements of JS

This article is a little different. Namely, we revise the strange elements of JavaScript. Sometimes is called JavaScript WTF 🙂 Some are just funny, others cause debugging a bit longer. So let’s remember them, when our code starts to do weird things. JavaScript WTF Certainly much depends on the browser (implementation of JavaScript). In newer […]

mouse

Mouse and keyboard in JavaScript

Welcome to the article, in which we will try to comprehensively but succinctly talk about working with the mouse and keyboard in JavaScript. We will also see how popular frameworks can help us. Handling mouse and keyboard in JavaScript Considerations we should start with events, because processing data from basic input devices will be based […]

Like-a-boss-128

Happy programmers’ day 2014!

Hello World and Happy programmers’ day 2014 for everyone! Yes, today is our – programmers day! We are celebrating programmers on the 256th day (2^8, Math.pow(2, 8)) of the Year! So I wish us all the best, bug-free code, easy deadlines, amazing projects, great customers / managers. But, wait, where’s your TP(S) report? 🙂 No […]

html5_e

HTML5 Canvas and JavaScript. Introduction.

Introduction to HTML5 we start by one of the most important elements, namely HTML5 Canvas. We’ll talk briefly about programming in JavaScript in the context of the Canvas element (and other elements in further articles). HTML5 Canvas HTML5 gives us many new opportunities, including the new Canvas element, which is part of the HTML5 specification. […]

adobe-air-logo

Adobe AIR tutorial: an application to backup files on the server

Some time ago I decided to write a simple application to backup files quickly, and place them on my server. I created with program using Adobe AIR (and PHP for a small backend). Adobe AIR tutorial – creating a real application We will read here, among others, about Drag&Drop, communication with the server, and handle […]