Software creative always looking for a challenge

Posts Tagged: javascript

Introduction to Backbone Part 2 – Server-side

I finally found the time to complete the second part of my introduction to backbone.

You can find the complete source code here: https://github.com/yagudaev/backbone-twitter-part2.

I have been really busy with 0idle among other things like moving to Vancouver. But thanks to a 30 day procrastination therapy challenge (watch video and join) I finally finished it :).

Enjoy!

Introduction to Backbone Part 1 – Client-side

I decided to do a screencast showing off how to use backbone.js. There are two parts to the screencast, the second of which will be posted next week.

The first part covers the client-side aspect of backbone.js which consists of Models, Collections and Views.

You can find the complete source code here: https://github.com/yagudaev/backbone-twitter-part1.

Comparing Object in Javascript

Compare Objects in Javascript Cover

As you start writing unit-test you will undoubtedly discover the challenges of comparing object in Javascript. In this short article we will look at how to do object comparison in Javascript to make our unit tests easier to work with. We will take a look at one popular unit-testing framework, Mocha.js, but the lessons here can be applied to other frameworks like QUnit and JSTestDriver as well.
More…

SnippetSky: Store, manage and share bits of code

snippetsky-cover

We  are thrilled to announce SnippetSky is now available for public beta. We have poured our hearts and souls into it to make it the best experience possible. We used SnippetSky to help us make SnippetSky (inception anyone :)), and we love it. We hope you do too.

So what is the mysterious new site? Simply put, SnippetSky is a place for your bits and pieces of code to live and be shared on the web. As developers, we often run into some neat and elegant code on either at work, on the web, while viewing source or just pair programming with our peers. This code does not often fit a clumsy source control system. It is too small. Nor does it belong in some distant corner of your file system. It is a beautiful creator we like to call a snippet, and it belongs on SnippetSky. More…

Reborn: Simplicity and Focus

The Big Bang

As you may have noticed the site has a fresh new look now. But it is more than that, much more. I now have a more focused approach to the content and a simpler website to navigate through.

Many of my personal heroes — including the super heroes listed on the bottom — have an incredible sense of focus, which contributes in no small part to their success. I have been hearing about the need to focus a lot lately. More…

Getting Reliable z-index Cross-Browser

Javascript Code

It is not as easy as you might think to get the correct z-index of an element using a javascript call like $(element).css(‘z-index’). The problem is how browser vendors apply the z-index to an element. But, no worries I have created a jsfiddle page to demonstrate the problem and more details on how it works will follow. More…

Snow in JavaScript

snow-cover

Winter is finally over, but we can still make nice digital snow to cool us down during hot summer days. We will start by considering the path snow flakes take before they hit the ground, then we will find out how to implement it using mathematics. Finally we will implement this idea using Object Oriented Programming in JavaScript. More…