GithubHelp home page GithubHelp logo

cloudxtreme / d.o Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crdrost/d.o

0.0 1.0 0.0 116 KB

d.o (pronounced dee dah doh) is a public-domain javascript library which provides things like asynchronous code includes with comments and data-management functions, and to tell you what line and column your JSON text stops being valid JSON.

Home Page: http://code.drostie.org/d.o/

JavaScript 81.03% Python 18.97%

d.o's Introduction

The d.o library is presently unstable and the docs that I've written for it will have to wait for me getting my site up. I should warn you that this isn't going to happen in the near future. You've my apologies.

It's designed to solve a whole bunch of miscellaneous data management problems:

	build : makes it easy to build and manage a DOM tree.
	jasper : makes it easy to write a data model and sanitize objects against it.
	json : makes it easy to parse JSON and serialize to it, without an eval() call.
	library : makes it easy to load libraries and dependencies in javascript.
	transcode: makes it easy to transcode strings and binary data.

The library.js file itself makes it very easy to include d.o files. To use it, you will need to write a /manifest file/ that says exactly where to find your other files. It should be included after library.js . For example, it might say:

	d.o.library.paths = {
		"d.o build": "http://mysite.example/static/js/d.o/build.js",
		"d.o jasper": "http://mysite.example/static/js/d.o/jasper.js"
	};

Code can then be called from the library after its requirements have been loaded:

	d.o.library({
		require: ['d.o build'],
		callback: function () {
			d.o.build(["#content", ["p", " Some text."]]);
		}
	});


d.o's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.