background preloader

QUnit - Waterfox

QUnit - Waterfox

Sharrre - A plugin for sharing buttons - Waterfox jQuery: The Write Less, Do More, JavaScript Library Zombie.js SQLite - SQLite, HTML5 and Javascript - Waterfox On 29.10.2012 20:44, Rose, John B wrote: > 1) We are looking for simple examples, with source code, of a UI using HTML5 to query and add data to an SQLite database > 2) We are also looking for examples using Javascript to query an existing SQLite database. And maybe add data to an existing database. We do not care of the database is on a server or local. We just want to put together a simple mechanism using javascript as a query interface to an SQLite database. > > We have read a bit about WebSQL, Web Storage and IndexedDB. I am assuming that you are talking about client side SQLite DBs. Unfortunately, the sad reality is that Web SQL Database [1] (i.e. The main reasons (cited in various official and semi-official sources by the Mozilla guys) are: * Internet badly needs browser convergence over HTML5, but Microsoft will never include exactly SQLite in IE for Windows, (the proposed standard [1] roughly says "WebSQL in terms of query language and behavior is ... Sorry, Alek P.S.

Home YUI Test YUI Test is a complete testing framework for JavaScript and Web applications. You can use the simple JavaScript syntax to write unit tests that can be run in web browsers or on the command line, as well as functional tests to be run in web browsers. Additional tools that build on top of the JavaScript library's core functionality allow integration with build systems. Reporting Defects / Making Enhancement Requests YUILibrary.com is the proper location for reporting defects found in the YUI Test code as well as for logging enhancement requests for consideration for future updates. *Only logged in users can submit bugs and feature requests.

A Simple TODO list using HTML5 IndexedDB - HTML5 Rocks - Waterfox Introduction IndexedDB is new in HTML5. Web Databases are hosted and persisted inside a user's browser. By allowing developers to create applications with rich query abilities it is envisioned that a new breed of web applications will emerge that have the ability to work online and off-line. The example code in this article demonstrates how to create a very simple todo list manager. It is a very high level tour of some of the features available in HTML5. This tutorial is a conversion of our A Simple TODO list using HTML5 WebDatabases tutorial and serves to highlight how easy it is to make the transition to IndexedDB. What is IndexedDB? IndexedDB is an Object Store. In a traditional relational data store we would have a table of "todo" items that store a collection of the users todo data in rows. IndexedDB differs in that you create an Object Store for a type of data and simply persist Javascript Objects to that store. Why IndexedDB? Pre-requisites Asynchronous and Transactional Step 1.

jQuery Mobile testswarm Just getting started with TestSwarm? Check out the README and wiki pages first. This document describes how TestSwarm can be used in a large scale testing environment. Features: Fully automated submissions of jobs to TestSwarmThe swarm is automatically populated with browser clientsEvents can be used to create additional post-build actions (such as IRC notifications). Main frameworks: TestSwarm, Jenkins, QUnit Utilities: node-testswarm, node-browserstack, testwarm-browserstack, grunt TL;DR: → Check out the End result. Prerequisites The following prerequisites are assumed to be installed already (this document does not cover setting that up, these software packages have their own manuals): Note that none of these are claimed to be the "ultimate" tool. For example: Jenkins: It is not required for a working continuous integration environment with TestSwarm. Static clone jQuery The following is an example of such a script to make a static copy. #! MediaWiki Jenkins Jenkins job configuration: Cron

XUI | PhoneGap Mobile App Development - Waterfox XUI Intro Posted by nick on September 2, 2010 Why do we need another DOM altering, stylesheet mashing, AJAX calling toolkit. XUI Basics – Class 1 Posted by nick on September 8, 2010 Inserting text & HTML in to the DOM XUI Basics – Class 2 Posted by nick on September 15, 2010 Other options for inserting text & HTML XUI Basics – Class 3 Posted by nick on September 22, 2010 Special options for replacing/removing text & HTML XUI Style Setting Posted by nick on September 29, 2010 Set styles on tag, class or id targets XUI Add/Has/Remove class Posted by nick on October 5, 2010 Add or remove styles for a target plus check if a target has a style. XUI Events

Testing Backbone applications with Jasmine and Sinon – Part 1 – Tinned Fruit Overview This is the first in a series of articles demonstrating how to test a Backbone.js application, employing the Jasmine BDD test framework and the Sinon.JS spying, stubbing and mocking library. In this part, we’ll take a brief look at Backbone, and then move on to an introduction to some of the features of Jasmine and Sinon.JS. Along the way we’ll look at why these tools are a such good fit for testing Backbone applications. If you have never written any JavaScript tests before, you might like to take a look at Christian Johansen’s recent series of articles over at scriptjunkie. Backbone everywhere In the last few months, Backbone.js has received a fair bit of exposure, with a number of tutorials and one or two high profile implementations. Backbone’s popularity is understandable. Backbone’s MVC structure lends itself very nicely to bottom-up unit testing. About Jasmine BDD BDD emphasises shared language amongst developers and stakeholders. Specs Suites beforeEach() and afterEach() Spies

XUI - Waterfox I was recently reviewing mobile web JavaScript frameworks when I came across XUI, by Brian LeRoux and the other PhoneGap authors. XUI is a micro-framework — it’s designed to be small, portable and concise. XUI provides the following features: Element lookup through selectors Events, with support for touch screens DOM manipulation Animation through tweening XmlHttpRequest The API is available through the global x$. You might be wondering why XUI is smaller and faster than frameworks like jQuery. It’s smart of the PhoneGap developers to extract this framework, much like Sizzle was a good idea. PhantomJS

Related: