earth2marsh + javascript   356

Google Analytics Easy Dashboard Javascript Library
"This library is designed to create an easy way to build a custom Google Analytics Dashboard on your own page. The library is built on top of the Google Analytics Core Reporting and Chart Tools APIs and does all the heavy lifting of handling authorization, issuing queries, and transforming the results into pretty visualizations.

"
analytics  dashboard  google  javascript  library  google:analytics 
8 days ago by earth2marsh
Front-end Unit Testing with JavaScript | Danny Croft - Web Developer made in Wales but working in London 
"PhantomJS is a headless WebKit with JavaScript API. CasperJS is a navigation scripting & testing utility that runs on top/alongside of PhantomJS.

If you’re thinking “headless WebKit??!!?”, then it might be easier for you picture PhantomJS as a web inspector console that can be injected into any web page that you want, then accessed and used.

CasperJS makes it alot easier for you to navigate around a web page testing as you go. To be fair, my explanations don’t do these two tools enough justice. Please visit http://phantomjs.org/ and http://casperjs.org/ for a better explanation and more advanced features that aren’t covered here.

"
javascript  tdd  testing  unit  tests  casper  phantom 
11 days ago by earth2marsh
Stanford Javascript Crypto Library
"The Stanford Javascript Crypto Library (hosted here on Stanford's server or here on GitHub) is a project by the Stanford Computer Security Lab to build a secure, powerful, fast, small, easy-to-use, cross-browser library for cryptography in Javascript.
SJCL is easy to use: simply run
sjcl.encrypt("password", "data")
to encrypt data, or
sjcl.decrypt("password", "encrypted-data")"
cryptography  stanford  javascript 
12 days ago by earth2marsh
Esprima
"Esprima (esprima.org) is an educational ECMAScript (also popularly known as JavaScript) parsing infrastructure for multipurpose analysis. It is also written in ECMAScript.

"
javascript  parser 
13 days ago by earth2marsh
Crossfilter
"Crossfilter is a JavaScript library for exploring large multivariate datasets in the browser. Crossfilter supports extremely fast (<30ms) interaction with coordinated views, even with datasets containing a million or more records; we built it to power analytics for Square Register, allowing merchants to slice and dice their payment history fluidly."
data  javascript  visualization  library  d3  square 
20 days ago by earth2marsh
BetterExamples.js
alternative to js fiddle and bin
javascript  examples  code  demos 
20 days ago by earth2marsh
heatmap.js | HTML5 Canvas Heatmap Library
"a JavaScript library that can be used to generate web heatmaps with the html5canvas element based on your data. Heatmap instances contain a store in order to colorize the heatmap based on relative data, which means if you're adding only a single datapoint to the store it will be displayed as the hottest(red) spot, then adding another point with a higher count, it will dynamically recalculate. The heatmaps are fully customizable - you're welcome to choose your own color gradient, change its opacity, datapoint radius and many more. The library is dual-licensed under the MIT and the Beerware license, feel free to use it in your projects. "
canvas  heatmap  javascript  library 
20 days ago by earth2marsh
Rainbow - Javascript Code Syntax Highlighting
"Rainbow is a code syntax highlighting library written in Javascript.
It was designed to be lightweight (1.4kb), easy to use, and extendable.
It is completely themable via CSS."
code  highlighting  javascript  syntax  webdev 
20 days ago by earth2marsh
URI Parsing with Javascript — Gist
"var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";

parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000""
url  parser  parsing  javascript  uri  webdev 
20 days ago by earth2marsh
ScottHamper/Cookies
"a small client-side javascript library that makes managing cookies easy. In addition to its simple API, Cookies.js will automatically parse a JSON encoded string value back into its native data type when accessed, and cache the result. For users of AMD loaders, Cookies.js will define itself, otherwise a global variable will be created."
cookies  javascript  js  library  libraries 
24 days ago by earth2marsh
sindresorhus/screenfull.js
"Simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen. Smoothens out the browser implementation differences, so you don't have too."
javascript  library  libraries  fullscreen  api  crossbrowser 
24 days ago by earth2marsh
Wizek/Tree
"I got fed up with QUnit which I was using to test the client side of one of my projects. It proved to be very unreliable when it came to async handling. I looked around for alternatives and to my surprise, I couldn't find anything more satisfying than what I was already using. Then came the idea: What if I'd write my own Unit Testing framework for JavaScript?"
async  javascript  frameworks  tdd  testing  unit 
4 weeks ago by earth2marsh
fredwu/jquery-endless-scroll
"endless scrolling (or infinite scrolling or pagination) is a popular technique amongst modern websites such as Google Reader and Live Image Search, whereby instead of paging through items using traditional pagination links, the page just keeps loading with new items attached to the end.

Endless Scroll not only helps you build highly customisable infinite scrolling effects, it also offers features not commonly seen. Such features include:

The ability to up-scroll and prepend content to the beginning of the page
The ability to limit the number of available 'pages', i.e. data truncation
And there are more exciting features in the works, including SEO-friendly URLs!"
infinite  scroll  scrolling  endless  javascript  webdev  jquery  plugins 
4 weeks ago by earth2marsh
Caret Navigation in Web Applications
super in-depth piece on the trickiness of cursor movement in browser ui elements.
cursor  development  webdev  javascript  programming  google  tasks  tricks 
4 weeks ago by earth2marsh
JavaScript Enlightenment | by Cody Lindley | 1st Edition | ECMA-262, Edition 3
"This book is not about JavaScript design patterns or implementing an object-oriented paradigm with JavaScript code. It was not written to distinguish the good features of the JavaScript language from the bad. It is not meant to be a complete reference guide. It is not targeted at people new to programming or those completely new to JavaScript. Nor is this a cookbook of JavaScript recipes. Those books have been written.

It was my intention to write a book to give the reader an accurate JavaScript worldview through an examination of native JavaScript objects and supporting nuances: complex values, primitive values, scope, inheritance, the head object, etc. I intend this book to be a short and digestible summary of the ECMA-262, Edition 3 specification, focused on the nature of objects in JavaScript.

If you are a designer or developer who has only used JavaScript under the mantle of libraries (such as jQuery, Prototype, etc), it is my hope that the material in this book will transform you from a JavaScript library user into a JavaScript developer."
javascript  ebook  ebooks  books  webdev  free 
5 weeks ago by earth2marsh
Code: Flickr Developer Blog » Building an HTML5 Photo Editor
Widget Encapsulation
During our initial foray into the online editor space, we took a straightforward approach by having API users launch our editor in a new page or window. This simplified integrations and allowed us to own the editing experience.

When we rebuilt our editor in JavaScript, we took the opportunity to re-architect our API as well. Our first big change was making the editor embeddable. This meant that third party developers could load the editor on their own sites, maintaining user engagement while controlling their experience. We built out customization options that allowed the site owner to decide which tools appeared in the editor. A real estate site, for example, might not want its users adding mustache stickers to appliances in photos.
aviary  embed  iframe  Flickr  code  Javascript 
5 weeks ago by earth2marsh
php:zerobin [sebsauvage]
absolutely genius.

from Pinboard Network RSS Improver http://pipes.yahoo.com/pipes/pipe.info?_id=b22b9c9acee5906aab7e8a7645a247a9 ZeroBin is a minimalist, opensource online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES.Source: http://pinboard.in/
iftttGR  cryptography  encryption  javascript  php  pastebin  genius 
6 weeks ago by earth2marsh
Understanding MVVM – A Guide For JavaScript Developers
from AddyOsmani.com | Articles for developers http://addyosmani.com/blog MVVM (Model View ViewModel) is an architectural pattern based on MVC and MVP, which attempts to more clearly separate the development of user-interfaces (UI) from that of the business logic and behaviour in an application. To this end, many implementations … Continue reading →
iftttGR  MVC  MVVM  Javascript  development  webdev 
6 weeks ago by earth2marsh
Introducing Backbone Routes
"At DailyMuses, we depend heavily on Backbone and concurrent routers call for a single page in order to have a better way to organize our codebase. Since I am coming from the Rails background, when I first tried to tackle this problem, I immediately thought of the way how Rails handles multiple routes with config/routes.rb. Hence, I created Backbone Routes.

With Backbone Routes, you will have a central place to control all your routing logic for your Backbone app."
backbone  javascript  plugins  routing  webdev  ruby 
7 weeks ago by earth2marsh
Introduction to JavaScript Source Maps - HTML5 Rocks
"Have you ever found yourself wishing you could keep your client-side code readable and more importantly debuggable even after you've combined and minified it, without impacting performance? Well now you can through the magic of source maps.

Basically it's a way to map a combined/minified file back to an unbuilt state. When you build for production, along with minifying and combining your JavaScript files, you generate a source map which holds information about your original files. When you query a certain line and column number in your generated JavaScript you can do a lookup in the source map which returns the original location. Developer tools (currently WebKit nightly builds, or Google Chrome Canary) can parse the source map automatically and make it appear as though you're running unminified and uncombined files. As of writing Firefox has a blocked status for Source Map support. See MozillaWiki Source Map entry for more details."
debugging  html5  javascript  source  maps 
9 weeks ago by earth2marsh
APIConnect - A simplified Javascript interface for working with APIs
"APIConnect is a Javascript class that provides a simple way to interact with APIs, specifically those hosted on other domains. Setup is as simple as creating the instance, specifying the domain, connecting the route, and running it. APIConnect works in all major browsers with jQuery as its only dependency, and is now available on npm!"
api  client  interface  javascript  jquery  library 
9 weeks ago by earth2marsh
Backlift: Backbone.js hosting made easy
"You don't have to write a line of backend code. After you've uploaded your files with backlift push backlift will:

Automatically set up a database that works with backbone's default sync mechanism.
Package your templates, scripts and css files.
Host your site and provide an admin interface.
Log your ajax requests for debugging."
backbone  development  hosting  javascript  apps 
9 weeks ago by earth2marsh
Websites are clients, too! | Foursquare Engineering Blog
"To get there, we had to overcome the challenges associated with cross-domain (technically, cross sub-domain) communication between foursquare.com (web) and api.foursquare.com (API). Although we could theoretically make our API available on the same domain, doing so would undermine the security and production isolation benefits of our current setup.

Our API supports CORS, but not every browser we want to support does. To work around this we used a common technique in which an iframe hosted on api.foursquare.com is embedded on the foursquare.com web pages. The iframe executes a simple JavaScript statement setting document.domain to foursquare.com — notably the same as the web domain. Through the magic of the same-origin policy, this technique enables inter-frame communication while still allowing the iframe to make AJAX requests back to its original domain, in this case, api.foursquare.com. When we need to make api requests we can just use the iframe’s XMLHttpRequest object from foursquare.com pages."
ajax  api  backbone  javascript  app  architecture  clients  foursquare  apis  cors 
9 weeks ago by earth2marsh
How we decreased sign up confirmation email bounces by 50% - Kicksend Blog
from Pinboard Network RSS Improver http://pipes.yahoo.com/pipes/pipe.info?_id=b22b9c9acee5906aab7e8a7645a247a9

So we recorded and setup detailed notifications for every email bounce, to make sure that we are always aware of what’s happening (thanks Mailgun!). And we soon started to see patterns. People would misspell their email addresses and be unaware of it, resulting in a delivery failure and a lost user. And it got even more interesting - most of these invalid email addresses were a result of a misspelled domain; “hotmail.con”, “gnail.com”, “yajoo.com”. A clear opportunity for improvement.

You can get the Mailcheck.js plugin at Github. Neat.Source: http://pinboard.in/
iftttGR  javascript  jquery  plugins  plugin  email  form  validation  ux  bounce  rate  library 
9 weeks ago by earth2marsh
skattyadz/JavaScript-RGB-Password
super-clever: show three boxes to the right of a password field whose colors depend on a hash of the text entered. That way the user has a visual checksum on their hidden text. Another interesting tweak is using grayscale to indicate when the password rules have not been met (too few chars, no numbers, etc)
color  generator  javascript  password  checksum  awesome  webdev  inspiration 
10 weeks ago by earth2marsh
The Way of Node
"Node is a platform.
Node is JavaScript.
Node is callbacks & Streams.
Node is not pretending it is blocking when it is not.
Node is not going to include that module.
Node is for building.
Node is a community.
Node is faster.
Node is fun."
node  nodejs  dev  javascript  principles  culture 
10 weeks ago by earth2marsh
bartaz/impress.js
"It's a presentation framework based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com."
prezi  presentations  presentation  opensource  github  javascript  css  html5 
10 weeks ago by earth2marsh
Scriptular
from Delicious/network/earth2marsh http://www.delicious.com/network/earth2marsh "Scriptular is a javascript regular expression editor." (What's also nice is that there's a quick-reference sidebar, too.)
iftttGR  javascript  regex  regexp  tool  development  webdev 
11 weeks ago by earth2marsh
Dashboard (Grahpene)
"A D3.js, Backbone.js based Graphite Dashboard Toolkit."
backbone  dashboard  monitoring  javascript  webdev  d3  protovis 
11 weeks ago by earth2marsh
EpicEditor Docs
"EpicEditor is an embeddable JavaScript Markdown editor with some minor Markdown enhancements such as automatic link creation and code fencing."
editor  embed  javascript  markdown 
12 weeks ago by earth2marsh
The URLEncode and URLDecode Page
covers both form-urlencoding (RFC2396) and regular encading
javascript  tools  url  web  webdev  encoding  percent 
february 2012 by earth2marsh
EasyXDM – crossdomain javascript done right | Zemanta Ltd.
"EasyXDM gives you the ability to make cross-domain requests securely from a client to a server and even from a client to a client. The real beauty of it is that it can even open a socket-like device that you can use to communicate rather efficiently … in every browser. Even IE6.

Here’s what the creators have to say about it.

At the core easyXDM provides a transport stack capable of passing string based messages between two windows, a consumer (the main document) and a provider (a document included using an iframe). It does this by using one of several available techniques, always selecting the most efficient one for the current browser.
For all implementations the transport stack offers bi-directionality, reliability, queueing and sender-verification.

Using JavaScript only (no Flash, Silverlight, extra html files etc) easyXDM provides the following browsers with stacks with latency of less than 15ms: [IE6+, FF1+, Opera9+, Chrome2+, Safari4+]"
ajax  xss  xhr  client  javascript  domain  cross 
february 2012 by earth2marsh
CodeMirror: Internals
"way, was constantly running up against browser bugs. WebKit wouldn't show an empty line at the end of the document, and in some releases would suddenly get unbearably slow. Firefox would show the cursor in the wrong place. Internet Explorer would insist on linkifying everything that looked like a URL or email address, a behaviour that can't be turned off. Some bugs I managed to work around (which was often a frustrating, painful process), others, such as the Firefox cursor placement, I gave up on, and had to tell user after user that they were known problems, but not something I could help.

Also, there is the fact that designMode (which seemed to b"
browsers  javascript  performance  programming  webdev  editor  ace  code 
february 2012 by earth2marsh
Using capybara as a javascript capable replacement for Mechanize | chadcf
"Could the combo of Capybara and Capybara Webkit act as a replacement for Mechanize?

The answer? Yes. At least for what I need. They both use Nokogiri underneath so the parsing should be pretty similar.

Without further ado I present a simple script demonstrating how to write a command line screen scraper using capybara. This sample script can be run from the terminal and will perform a google search."

"However, as far as I'm aware, this is about the only way out there to fairly easily scrape a javascript powered website."
javascript  scraping  scraper  ruby 
january 2012 by earth2marsh
The Trello Tech Stack - Fog Creek Blog
Uses backbone, mustache, node, redis…

"The Trello servers serve virtually no HTML. In fact, they don’t serve much client-side code at all. A Trello page is a thin (2k) shell that pulls down the Trello client-side app in the form of a single minified and compressed JS file (including our third-party libraries and our compiled CoffeeScript and Mustache templates) and a CSS file (compiled from our LESS source and including inlined images). All of that comes in under 250k, and we serve it from Amazon’s CloudFront CDN, so we get very low-latency loads in most locations. In reasonably high-bandwidth cases, we have the app up and running in the browser window in about half a second. After that, we have the benefit of caching, so subsequent visits to Trello can skip that part.

In parallel, we kick off an AJAX data load for the first page’s data content and try to establish a WebSocket connection to the server"
stack  trello  backbone  javascript  html  html5 
january 2012 by earth2marsh
Web Actions: Identifying A New Building Block For The Web - Tantek
"Web actions are not "just" hyperlinks. Hyperlinks are nouns and they reference destinations (sometimes with an explicit relation) with an implied action of navigation. In contrast, web actions are verbs and are first and foremost about a specific action that often but not always does something with the current page or site.

"
development  javascript  web  webdev  intents  webintents 
january 2012 by earth2marsh
The Trello Tech Stack - Fog Creek Blog
Uses backbone, mustache, node, redis…

"The Trello servers serve virtually no HTML. In fact, they don’t serve much client-side code at all. A Trello page is a thin (2k) shell that pulls down the Trello client-side app in the form of a single minified and compressed JS file (including our third-party libraries and our compiled CoffeeScript and Mustache templates) and a CSS file (compiled from our LESS source and including inlined images). All of that comes in under 250k, and we serve it from Amazon’s CloudFront CDN, so we get very low-latency loads in most locations. In reasonably high-bandwidth cases, we have the app up and running in the browser window in about half a second. After that, we have the benefit of caching, so subsequent visits to Trello can skip that part.

In parallel, we kick off an AJAX data load for the first page’s data content and try to establish a WebSocket connection to the server"
stack  trello  backbone  javascript  html  html5 
january 2012 by earth2marsh
JavaScript pattern and antipattern collection
"A JavaScript pattern and antipattern code collection that covers function patterns, jQuery patterns, design patterns, general patterns, literals and constructor patterns, object creation patterns (upcoming), code reuse patterns (upcoming), DOM and browser patterns (upcoming)."
javascript  patterns  antipatterns  webdev 
january 2012 by earth2marsh
Canvas for a Text Editor? - Ajaxian
"To build on the last paragraph, we considered three different alternatives to canvas:

textarea
contentEditable
"line blocks"
The "control" argument above is one reason we dismissed textarea and contentEditable; further, we've seen a large number of other web editor implementations based on these approaches and based on playing with those and by the many horror stories floating around the Web from their authors, we were concerned that we couldn't overcome performance and compatibility problems, especially when editing large files."
bespin  html5  javascript  canvas  editing  text  editor 
january 2012 by earth2marsh
Ajax Upload; A file upload script with progress-bar, drag-and-drop.
"This plugin uses XHR for uploading multiple files with progress-bar in FF3.6+, Safari4+, Chrome and falls back to hidden iframe based upload in other browsers, providing good user experience everywhere."
file  javascript  ajax  upload  plugin  jquery 
january 2012 by earth2marsh
Interactive Smooth CoffeeScript
good interactive examples, though not obvious that they're interactive!
interactive  javascript  design  tutorial  tryme  examples 
january 2012 by earth2marsh
Fiesta: group email and private mailing list blog
Strict-Transport-Security to force SSL on repeat visits, X-Frame-Options to prevent clickjacking through frame-busting, and the (early) X-Content-Security-Policy to compartmentalize XSS vulnerabilities
webdev  web  security  javascript  code  xss  ssl  bestpractices  frames 
january 2012 by earth2marsh
visitor.js: Website Personalization Using Geolocation and Other Visitor Data
a small piece of JavaScript that provides you with information on your site's visitors, so you can target them with custom-tailored content:

Welcome visitors from Australia with a "G'day."
Refer returning visitors to your "Tutorial" section.
Provide special discounts for visitors who included "free" in their Google search.
List product prices for European visitors in Euros.
All that and more is possible with visitor.js!
javascript  visitors  customization 
january 2012 by earth2marsh
jsdev.c at master from douglascrockford/JSDev - GitHub
JSDev is a simple JavaScript preprocessor. It implements a basic macro
language that is written in the form of comments. These comments are
normally ignored, and will be removed by JSMin. But JSDev will activate
these comments, replacing them with executable forms that can be used to do
debugging, testing, logging, or tracing. JSDev scans a source looking for
and replacing patterns. A pattern is a slashstar comment containing a
command and some stuff, and optionally a condition wrapped in parens.
There must be no space between the slashstar and the <cmd>.
javascript  douglas:crockford  testing  preprocessing 
january 2012 by earth2marsh
Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates | LinkedIn Engineering
"Migrating all of our apps onto a single tech stack would've been a very expensive and time consuming project. Instead, we began to explore a unified rendering layer that is agnostic of the server-side technology: client-side templates.
Instead of using a JSP, GSP, or ERB to assemble a page server side and send back HTML, we have the server send back just the dynamic data as JSON and have the page assembled in the browser using a static client-side template served from a CDN. Moving the view logic to the browser meant that our different tech-stacks could share UI code:"
linkedin  performance  jsp  webdev  programming  frontent  javascript  linkedin  from delicious
december 2011 by earth2marsh
Blazing fast node.js: 10 performance tips from LinkedIn Mobile | LinkedIn Engineering
LinkedIn tells you how we make this mobile server fast. Here are our top 10 performance takeaways for working with Node.jsSource: http://pinboard.in/
nodejs  javascript  programming  tips  linkedin  performance  from delicious
december 2011 by earth2marsh
lib/parse-js.js at master from mishoo/UglifyJS - GitHub
"A JavaScript tokenizer / parser / beautifier / compressor.

This version is suitable for Node.js. With minimal changes (the
exports stuff) it should work on any JS platform.

This file contains the tokenizer/parser. It is a port to JavaScript
of parse-js [1], a JavaScript parser library written in Common Lisp
by Marijn Haverbeke. Thank you Marijn!

[1] http://marijn.haverbeke.nl/parse-js/"
javascript  parser  library  from delicious
november 2011 by earth2marsh
Large-scale JavaScript Application Architecture
Developers creating JavaScript applications these days usually use a combination of MVC, modules, widgets and plugins for their architecture. They also use a DOM manipulation library like jQuery. Whilst this works great for apps that are built at a smaller-scale, … Continue reading →
Modern_JavaScript_Development  decoupled  development  facade_pattern  javascript  jquery  large-scale  mediator_pattern  module_pattern  mvc  patterns  from google
november 2011 by earth2marsh
XQuery Web Application Development
Node.js is good for solving problems I dont have () #trending
nodejs  javascript  Server  Commentary  trending  from delicious
november 2011 by earth2marsh
Bookmarkleter
"You have JavaScript. You need a bookmarklet. This does that.

Features

Removes newlines, tabs, optional spaces, and comments
URL-encodes special ASCII characters: [space], %, ", <, >, #, @, &, ?
Places code in a wrapper function (if not done already)
Does not hex-encode non-ASCII characters (you should probably use String.fromCharCode for that)"
bookmarklet  javascript  converter  Utility  bookmarklets  from delicious
november 2011 by earth2marsh
fernandezpablo85/Xb - GitHub
"Suppose you want to poll a server for info. You could do a setTimeout and ask the server if there is something new every N seconds or milliseconds.

This is not very efficient, since you may be polling too often and not taking into account if the information is indeed being updated or not. This can lead to a bunch of clients making a bunch of requests too often, and all in vain since information wouldn't change.

A backoff algorithm tries to fix this somehow, delaying the polling frequency if the information on the server didn't change."
javascript  backoff  library  from delicious
november 2011 by earth2marsh
JavaScript library to persist form data across refreshes
"Imagine you're filling a complex form on site, or typing effervescent and extensive comment. And when you're almost done with that browser is crashed, or you closed tab mistakenly, or electricity is turned off, or something else break your efforts. Disgusting, huh?

With Sisyphus on site you just reopen page in your modern (with HTML5 support) browser and see all your changes at that forms. It's lightweight (2Kb) jQuery plugin uses Local Storage to prevent your work being lost. "
backup  forms  javascript  save  saving  ux  localstorage  from delicious
november 2011 by earth2marsh
On jQuery & Large Applications - rmurphey
dev shares her thoughts on moving from DOM-centric to modern javascript client-server application architecture.
jquery  javascript  architecture  development  programming  webdev  framework  dojo  application  from delicious
november 2011 by earth2marsh
Olark | Something People Want
"LightningJS allows third-party providers to deliver their Javascript in a way that is safe (each library gets its own window context while still having access to the original document), fast (does not block window.onload), and asynchronous (exposes an easy way to asynchronously call methods)."
javascript  performance  loading  separation  safety  safe  from delicious
october 2011 by earth2marsh
Using Javascript postMessage to Talk to iFrames | Viget Extend
"To javascript, iFrames are typically black boxes. Javascript now allows cross-document communication thanks to the postMessage function. Here's how I used postMessage to get the height and width of a document in an iFrame."
javascript  PostMessage  Iframes  reference  html5  from delicious
october 2011 by earth2marsh
Less Than Dot - Blog - Getting Started with JavaScript Unit Testing
"Recently I decided to start doing JavaScript code katas. I've been using JavaScript for around ten years, but there there are still a lot of aspects I don't know well or that I could use more practice in. Case in point, I had never used a unit testing framework with javascript. Having never unit tested JavaScript before, I used a scientific tool to carefully select from amongst the numerous unit testing packages available."
testing  qunit  UnitTesting  javascript  unit  tdd  howto  from delicious
october 2011 by earth2marsh
javascript sandbox console demo - joss crowcroft
"The js sandbox console is a javascript playground designed to enhance demos and homepages for javascript libraries, plugins and scripts, giving visitors an easy and chilled-out way to test-drive the functionality - without whacking open their Firebug / Dev Tools console."
javascript  sandbox  console  tools  from delicious
october 2011 by earth2marsh
« earlier      

related tags

!to_read  #!  3rdparty  accessibility  accordion  ace  addon  ads  advertising  ajax  algorithm  analysis  analytics  animation  antipatterns  anywhere  api  apis  app  apple  application  Applications  Application_Mgmt  Application_programming_interface  apps  architecture  Articles  async  asynchronous  authentication  automated  automation  aviary  awesome  backbone  backoff  backup  badge  balloons  beacon  Beautifier  beginner  bespin  bestof  bestpractices  Best_practices  billjoy  block  blocking  Blogging  Boilerplate  book  bookmark  bookmarklet  bookmarklets  bookmarks  books  bootstrap  bounce  browser  browsers  bubble  builds  bundle  bundles  button  caching  canvas  casper  chart  charting  charts  cheatsheet  checksum  chrome  clickjacking  client  clients  closures  code  codemirror  coding  coffeescript  collaborate  collaboration  collaborative  color  comics  command  Commentary  community  comparison  compile  compression  console  contacts  content  controversy  conversion  convert  converter  cookies  cool  cooltech  copy  corners  cors  crawl  crawlable  crawler  criticism  crockford  cross  crossbrowser  crossdomain  cryptography  css  culture  cursor  custom  customization  d3  dashboard  data  date  dates  debugging  decode  decoupled  default  Defaults  del.icio.us  delicious  demo  demos  describe  description  design  dev  developer  development  dhtml  diagrams  digg  diggbar  distance  documentation  dojo  dom  domain  douglas:crockford  download  drawing  ebook  ebooks  edit  editing  editor  educational  effects  email  embed  encode  encoding  encryption  endless  engine  equal  escape  event  events  Everything  example  examples  experiments  explanation  extension  extensions  facade_pattern  facebook  faq  fbjs  features  feed  file  firebug  firefox  fix  fixes  flash  flickr  form  formatter  forms  foursquare  frames  framework  frameworks  framing  free  frontent  fullscreen  functional  functions  future  gadgets  gallery  geek  generate  generator  genius  geo  geolocation  gis  git  github  gmail  google  google:analytics  Google:Earth  googleearth  googlemaps  gps  graph  graphics  graphs  greasemonkey  gui  hack  hacks  hashbang  heatmap  height  heights  highlighting  history  home  homes  hosting  housing  howto  html  html5  http  ide  ie  iframe  iframes  iftttGR  image  infinite  Inheritance  inspiration  intents  interaction  interactive  interesting  interface  intro  iphone  ipod  java  javascript  jquery  js  jsbin  jsmin  json  jsonp  jsp  keyword  koans  large-scale  latitude  learning  lectures  libraries  library  lightbox  linkedin  links  linux  lisp  list  lists  live  load  loader  loading  local  localization  localstorage  login  longitude  lookup  machinetags  mailto  maps  markdown  Mashape  mashup  math  mathematics  mediator_pattern  memory  menu  menus  Microsoft  Middleware  mixins  mobile  mock  Modern_JavaScript_Development  module  modules  module_pattern  monitoring  mootools  mozilla  mvc  MVVM  native  navigation  next  nightly  node  node.js  nodejs  notes  notification  notifications  oauth  obfuscation  object  Objective-C  offset  online  openid  opensource  optimization  oreilly  osx  page  pagination  paginator  pamela_fox  parser  parsing  password  passwords  pastebin  pattern  patterns  pdf  People  percent  performance  Person  phantom  photo  photography  php  picture  Pipes  pixels  platform  playground  plotting  plugin  plugins  png  polaroid  polyfill  polyfills  popup  PostMessage  preprocessing  presentation  presentations  Prevent  prezi  prices  Primitives  principles  print  printing  privacy  programmer  programming  protection  Protocols  protoscript  prototype  prototyping  protovis  Proxy  python  query  quix  qunit  quote  rate  re-use  realtime  record  Reddit  reference  regex  regexp  remove  replacement  replay  resize  resource  resources  rest  restful  rounded  routing  rss  ruby  safe  safety  sandbox  save  saving  scalability  scheme  Scope  scraper  scraping  screencast  script  scriptaculous  scripting  scripts  scroll  scrolling  sdk  search  searchengine  search_runtime_keys  security  selector  selectors  semicolons  seo  separation  server  Services  Service_provider  shadows  shell  shim  shims  shivs  shortcut:beautify  shortcut:jq  shortcut:jsb  shortcut:w3  shortcut:w3s  showcase  sine  slides  slideshow  slimbox  snippets  socailgraph  social  software  source  spam  speed  spellcheck  spine  square  ssl  stack  stackoverflow  standards  stanford  statistics  stats  status  storage  style  sun  support  svg  sync  synchronization  syntax  table  tables  tagging  tags  tasks  tdd  Tech  technique  technology  template  templates  templating  terminal  test  testing  tests  text  textarea  textmate  theory  this  thread  time  tips  toggle  tool  tools  tooltip  tooltips  trace  tracking  transparency  tree  trello  trending  tricks  trig  trigonometry  trulia  try  tryme  tuning  tutorial  tutorials  tweet  twitter  ubiquity  ui  unicode  unit  UnitTesting  unit_testing  upload  uri  url  urls  usability  useful  utilities  utility  utils  ux  UxD  validation  via:awhite  via:mathowie  video  videos  visio  visitors  visual  visualisation  visualization  VM  wadl  weather  web  webapp  webdesign  webdev  webintents  webkit  webservice  webservices  Web_services  widget  widgets  width  wiki  windows  wysiwyg  wysiwym  xhr  xhtml  xml  xpath  xss  yahoo  yql  yui  zip 

Copy this bookmark:



description:


tags: