Javascript_Title

 

Browse other topics:

Python Product Development Github
Django Future of Work Engineering Team
Open Source Technical Staffing Freelance Developers
Cloud Services Web Development Technology Business
Software Development Tools   App Development

 

jsDelivr

 

jsDelivr API - From a Casual Experiment to Success

 

I've been working with Dmitriy of jsDelivr for roughly a year now. jsDelivr is one of the leading JavaScript CDNs out there. It utilizes multiple CDN providers and VPSs and then performs load balancing so that the assets get served in a swift manner. Recent post at Mozilla Hacks covers the technology in good detail. Early on we integrated jsDelivr as a part of JSter, a library catalog I help to develop and maintain. CDNperf was our first bigger project together. The idea was to provide visibility to JavaScript CDN performance. That's it.

 

Node.js Deployment

 

Tutorial: How to Deploy Node JS Applications, With Examples

 

Node is a really refreshing way to program, and it's turned me from a JavaScript hater into a fan. Everything is event-driven, it's highly scalable, and, with Socket.IO, you can make very cool, interactive and collaborative applications. It's also quick, it has a great package manager, and there is a healthy and young community. The biggest problem I've encountered so far is that because it's so young and development is so active, there isn't very much documentation about how to deploy it yet, so this guide will help you with what I've learned so far.

 

jq JSON

 

How to Handle JSON Like a Boss

 

JSON data is ubiquitous, constantly flowing between web services. But when you have a largish blob of the stuff how do you inspect it's structure or quickly extract the piece you need? Enter the handy little utility jq. jq is a tool to query, filter, reshape, and otherwise be your JSON swiss army knife. Let's dive into how it works.

 

JSONLint

 

Storing Multi-Line Strings in JSON

 

(JSON is an extremely rigid schema. It's great, but it has a couple of shortcomings, the largest of which is the inability to store multi-line strings. This can be particularly annoying for storing things like structured text and public keys in JSON for later interaction with JavaScript code in the browser or on the server in Node. Fortunately, there is a quick and hacky solution!

 

Progress.js

 

Political JavaScript: progress.js

 

As you surely noticed, there was a coordinated black-out of various websites on January 18th in protest of SOPA/PIPA (if you don't know why these are bad, you must be living under a rock, and you should read the EFF's reasons why those bills threaten online free speech). To help others participate in the protest, I wrote a small piece of JavaScript which other website and blog owners could embed on their sites to blackout their pages on the 18th, and display a short message about why they were protesting and what to do about it.

 

CasperJS

 

Start testing your app with CasperJS

 

We have invested a lot of time in our unit and acceptance testing, but we also need to test our application after deployment or on a staging infrastructure. We have looked into several tools, including Selenium and Testacular, but found that CasperJS provides the perfect mix of being easy to use and being powerful enough for our purposes. While we are still starting to integrate it into our workflow we want to show you the power it provides and introduce you to its power already.

 

Ember vs Angular

 

EmberJs vs AngularJs - A Comparison

 

So you want to build a single page web application (SPA), and you want to pick a framework to do it with. There are a plethora of them out there - TodoMVC lists 15 "pure Javascript" implementations and a total of over 60 MV* frameworks. How do you confidently pick from them all?

 

How JavaScript Works

 

Reimplementing JavaScript To Understand How It Works

 

Nobody truly understands how the world works. It is too complex. Instead, we build models that we believe are close to how the real thing works. We then use those models to discover new things and expand our understanding of how the world works.

 

JavaScript SDK

 

Multi-Dimensional Querying - Parse.com JavaScript SDK

 

All right, so let me clear the air at the start. This really isn't "Multi-dimensional" in the sense that you can use one query line of code to get your desired results, but it is a way you can query a Pointer relation in your Class with data from the other Class the Pointer is pointing to.

 

JavaScript Libraries

 

How do I find JavaScript libraries?

 

It is always a chore to find a JavaScript library when you need one. Google, unfortunately, gets you so far. With luck, you might come by one of those "X Best Y Libraries" type blog posts. If you get really lucky it might not be out of date yet. Fret not! If you know where to start looking from things can get considerably easier. I happen to have some inside intel on the topic.

 

JavaScript Audio Waveform

 

Client-Side JavaScript Audio Waveform Visualizer

 

Good news! User 'fixplz' has completed a gig to make a client-side waveform visualizer. The code is written in CoffeeScript (which converts into JavaScript) and the source code is available here on GitHub. This is the coolest thing we've seen funded yet on Gun.io!

 

Embedded JavaScript

 

Passing Arguments To Embedded JavaScript

 

So, you're writing an embedded script and you want to pass some arbitrary arguments and parameters to your javascript. How do you do it? This quick little tutorial will show you two examples, one using the HTML5 data attribute, and the other using the query string.

 

Backbone.js

 

Building Backbone.js apps with Backlift

 

It is always a chore to find a JavaScript library when you need one. Google, unfortunately, gets you so far. With luck, you might come by one of those "X Best Y Libraries" type blog posts. If you get really lucky it might not be out of date yet. Fret not! If you know where to start looking from things can get considerably easier. I happen to have some inside intel on the topic.