-
Speed Up Your JavaScript
posted in JavaScript on 2012-04-26 -
read more comments
As an interpreted language, JavaScript is filled with hidden performance issues that conspire to slow down your code and ruin the user experience. Learn exactly what is fast, what is slow, and what you can do to squeeze that last bit of performance out of your JavaScript code.
-
Test-Driven development in JavaScript with Buster.JS
posted in JavaScript on 2012-04-26 -
read more comments
Buster.JS is a new JavaScript testing framework. It does browser testing by automating test runs in actual browsers (think JsTestDriver), as well as Node.js testing. It has a bunch of great features.
-
JavaScript object creation
posted in JavaScript on 2012-03-04 -
In this article, Keith Peters discusses object creation in JavaScript using prototypal inheritance as an alternative to the new operator. Check out here.
comments
-
Testing Facebook application
posted in JavaScript on 2011-11-29 -
read more comments
I had a lot of work these days and didn't have time to blog here, but I think that the tips in this article are very useful. The number of Facebook applications is increasing every day. We all know that the testing (debugging) of our code is really important. That's why I decided to share my experience in this area.
-
Filtering data with jQuery
posted in JavaScript on 2011-10-11 -
We are working with data every day and there is a part of our applications, which is responsible for presenting the information to the user. Sometimes we need to show a lot of records and then we are using pagination or additional server requests to filter the data. A little JavaScript code could change the things a lot - fast data filtering and better user experience.
read more comments
-
Google Chrome debug console tips
posted in JavaScript on 2011-10-04 -
read more comments
My personal opinion is that the console of Google Chrome is one of the best tools for debugging of JavaScript applications. Paul Irish gave us some very useful tips.
-
JSConf.eu 2011
posted in JavaScript on 2011-09-11 -
comments
The European JavaScript conference is really close. It's scheduled for 01 and 02 of October. I wish I could be there. I hope that the videos from the lectures will be shared online, as this happened for the last year. I strongly recommend to watch them. There are available here http://blip.tv/jsconfeu.
-
GoogleMaps JS API: address to coordinates transformation
posted in JavaScript on 2011-06-01 -
When we are talking about maps, Google is an absolute leader. Their GoogleMaps tool is free, well documented and works really good. What I didn't find directly in the documentation is how to get the exact location based on plain text. I.e. to convert an address to google.maps.LatLng object. That's why I wrote a simple function that did this job.
read more comments
-
Another IE surprise
posted in JavaScript on 2011-05-19 -
We all know that the usage of InternetExplorer brings a lot of problems for us (the developers). Did you know that there is a JavaScript method createStyleSheet that you can call only 31 times.
read more comments
-
A few things you don't know about JavaScript
posted in JavaScript on 2011-05-18 -
A couple of days ago, I found very useful page about JavaScript called "JavaScript Garden". Check out here.
comments
JavaScript Garden is a growing collection of documentation about the most quirky parts of the JavaScript programming language. It gives advice to avoid common mistakes, subtle bugs, as well as performance issues and bad practices that non-expert JavaScript programmers may encounter on their endeavours into the depths of the language.
-
OOP in JavaScript (part 2)
posted in JavaScript on 2011-02-22 -
I already wrote an article on this topic (Object Oriented Programming in JavaScript (Extending / Inherit classes)), but last few days I realized that there are some things that I didn't explain.
read more comments
-
Javascript: handling with crossdomain requests
posted in JavaScript on 2011-01-19 -
Ajax is a powerful tool for loading new content or data asynchronously. The well known problem is that we can't make requests to other hosts. In other words if your code is located at aaa.com you can't load bbb.com/getData.php. There are several solutions available.
read more comments
-
Javascript: handling keyboard shortcuts with jQuery
posted in JavaScript on 2011-01-19 -
Last few years the JavaScript frameworks are big part of our web sites. I strongly recommend the usage of tools like jQuery or MooTools, because they will save you a lot of time and problems. These days I needed to create a keyboard shortcut for one of the projects that I'm working on. I wanted to catch the Ctrl+Shift+F9 combination. It was just a few lines of code and I decided to share it with you.
read more comments
-
JavaScript: managing events (dispatch, listen)
posted in JavaScript on 2011-01-06 -
As a huge fen of the flash platform, I always like to work with events. The events system in ActionScript3 is really helpful when we are building a big application with many modules and we want to keep them independent. JavaScript hasn't native support of events, but we can still use them.
read more comments
-
GoogleMaps API v3: convert LatLng object to actual pixels
posted in JavaScript on 2011-01-07 -
It is not so easy as it looks like. You should get the map object's projection and the map's zoom to be able to calculate it.
read more comments
-
CSS styles doesn't work on dynamically created elements in IE
posted in JavaScript on 2010-12-28 -
Again, IE proves that is full with bugs. Simple but effective solution.
read more comments
-
Delegation in JavaScript
posted in JavaScript on 2010-12-27 -
I think that the delegation is an important part of every programming language. It is also possible in JavaScript.
read more comments
-
Object Oriented Programming in JavaScript (Extending / Inherit classes)
posted in JavaScript on 2010-12-23 -
As you probably know JavaScript is not exactly OOP based language. Of course there are some ways to handle with this and you can still create classes and inherit them. It is much much better to use classes. Your application will be well structured and split to modules.
read more comments
-
Javascript: autocomplete country script
posted in JavaScript on 2010-12-06 -
We are all filling registration forms. It's really nice when the page helps us to do that faster. The script, that I'm going to show you, is designed to be used for a country field.
read more comments
-
Cloning JSON object in JavaScript
posted in JavaScript on 2010-10-04 -
Simple and easy solution.
read more comments
-
Validating date in JavaScript
posted in JavaScript on 2010-06-27 -
A very simple way to validate date in JavaScript.
read more comments