Eli Perelman

New JS Logo (logo.js) Badges

I have put together a small set of JS logo badges based on the original JS logo by voodootikigod on GitHub. I was looking for a more stylized version of the logo.js suitable for display as a badge on sites and couldn’t really find anything, so I made these for anyone to use. They are under the same license as the originals, available in 512x512, 256x256, 128x128, and 64x64 sizes:

JS Logo Badges download

UPDATE

Some have asked for a sticker of this badge, so here you go! All proceeds from the sale of this sticker will be donated to TeamJS for Feeding America:

JS Logo Badge Sticker on RedBubble

JS badges

JavaScript API Design

Consuming third-party JavaScript APIs (some like to call them SDKs) from some authors can be somewhat of a pain. Many are poorly documented, unintuitive to work with, and don’t provide enough hooks to be useful in many situations. Today I’m going to go over my guide for building great JavaScript APIs.

A jQuery User’s Guide to REST

Being a JavaScript developer often means that you are left out of any discussions related to server-side code or architecture. Eventually this could present a usability or maintainability problem, and I’d like to bring up why you should care in regards to the topic of REST.

Keeping Your JavaScript Object-Oriented

It’s commonly known that JavaScript is technically an object-oriented language, even though it doesn’t seem to follow some of the same language constructs as C# or Java and friends.

Create a Deferred Wrapper Around jQuery Ajax

In the applications I help build, jQuery is a large part of our custom framework that makes it all possible. In our framework, we always had a wrapper around jQuery’s $.ajax so we could have our own success and failure logic, and to abstract away some of the lower level code from developers that didn’t really need to know about the implementation.

Now, when jQuery 1.5 came out with the changes to ajax that included the Deferred syntax, it soon became apparent that our current implementation of the ajax wrapper was no longer suitable. With deferred methods available from anywhere, we could no longer control the data that became the arguments of those methods.