moon phase

Nigel McBryde

Warmed by the Drift

Archive for the ‘Javascript’ Category

Javascript Map

Saturday, January 24th, 2009

screenshot1Back in 2006 I decided to teach myself some Javascript and one of  my projects for doing this was to create a simple draggable map window. This was about the time that Google maps was starting to gain awareness, which may have been what inspired the exercise. It was a fun activity, great way to exercise my math skills, and taught me about DOM manipulation with Javascript. It was a hard going at the time and although I’m sure I didn’t do it in a very efficient, correct, or scalable way I was happy with the outcome. Check out the live demo here.

Notes:

The image I used originally was a little boring so I updated it to this cool pixel-art piece by Yuriy Gusev.

I never coded it to work in Internet Explorer, so you have to view it in FireFox or Chrome for now.

Learning jQuery: book review

Saturday, November 1st, 2008

Having gained the reputation as one of the web’s best loved JavaScript libraries, jQuery is reaping the benefits of widespread recognition and adoption by seriously heavy online players such as google, Digg, and Mozilla. If you haven’t yet jumped on the bandwagon, now is a great time to do so. Learning jQuery is a book that aims to take you step by step from budding JavaScripter to client-side scripting guru. The book assumes that the reader has ‘the basics of HTML and CSS, and should be comfortable with the syntax of JavaScript’.

The beginning of the book makes no assumptions about the reader other than those stated, and explains the technology thoroughly, from basics such as DOM manipulation and selectors moving quite quickly into more advanced techniques. As you get into the book you quickly fall in love with the ease and simplicity with which you can accomplish complicated tasks by simply chaining together simple methods.

The book’s authors, Jonathan Chaffer and Karl Swedberg, know this stuff backwards and teach with authority and attention to detail. There is nothing much in the book you couldn’t find online for free if you are willing to hunt around, but if you really need a start-to-finish paper copy then you will likely find a great deal to learn between the covers of this book.

GrowthGraph Website

Sunday, September 21st, 2008

Recently I finished the website for the business I have spent the last year creating: GrowthGraph. The website was a simple enough affair, designed in Illustrator and coded from scratch using code igniter, including the checkout process.

The website was designed to be clean, simple, appealing, and to fit nicely with the overall look an feel of the business.