delegator Documentation
|
|
- Agatha Walton
- 6 years ago
- Views:
Transcription
1 delegator Documentation Release Daniel Knell August 25, 2014
2
3 Contents 1 Getting Started Installation Quickstart Tutorial Mapping File License Reference Delegator Errors Parsers i
4 ii
5 Delegator is a standalone library for request delegation in node.js inspired by pythons selector. It provides a component for RESTful dispatching of requests to callbacks based on the URI path and HTTP request method as well as a connect middleware for automatic dispatching. There is a very simple format for path matching expressions and there is also support for an external mapping file that can be used to express the mappings outside of your JavaScript code. Contents 1
6 2 Contents
7 CHAPTER 1 Getting Started 1.1 Installation There are multiple options for installing delegator in your node.js application, the package.json method is recommended package.json Add artisan-delegator to the dependencies section of your packages.json { "dependencies": { "artisan-delegator": "latest" and then install dependencies with $ npm install npm You can install artisan-delegator manually using npm $ npm install artisan-delegator 1.2 Quickstart Connect.js Delegator twins well with connectjs, by using the Mapping File you can create a minimal app.js such as the following. app.js: var delegator = require( artisan-delegator ), connect = require( connect ), app = connect() ; 3
8 app.use(connect.logger( dev )); app.use(connect.static( public )); app.use(delegator({ filename: dirname + /uri.map )); app.listen(3000); The view functions for the app can then be bound to in the mapping file, which will handle the importing and everything for you. uri.map: /hello/{name GET./lib/views:hello And lastly we need to implement our view function itself in the file specified in the mapping file. lib/views.js: exports.hello = function(req, res) { res.writehead(200, { Content-Type : text/plain ); res.end( Hello + req.params.name +! ); With this we have a fully functional app, which we can run via node. $ node app.js Vanilla Delegator can also be used stand alone, which may be more appropriate for small single file projects. var http = require( http ), delegator = require( artisan-delegator )() ; delegator.add( /hello/{name, { GET: function(req, res) { res.writehead(200, { Content-Type : text/plain ); res.end( Hello + req.params.name +! ); ); http.createserver(function(req, res) { delegator(req, res, function(err) { var status = err && err.status 404 ; res.writehead(status, { Content-Type : text/plain ); res.end( NOT FOUND ); ); ).listen(3000); 4 Chapter 1. Getting Started
9 1.3 Tutorial Introduction Delegator is a middleware for node.js that uses the request HTTP path and method to determine which callback to trigger. When a path is added the path expression is converted into a regular expression, when the delegator.delegator() instance receives a request it checks each regular expression against the request path until it finds a match and checks that a callback is defined for the requests HTTP method, if both of these are satisfied then the parameters from the regular expression match are added to the request objects params property and the request is forwarded. If no match can be found then the next method is called passing an error when a regular expression match was found, but a callback was not Path Expressions Path Expressions are strings provided to the parser to be compiled into regular expressions, by default an instance of delegator.parser.simpleparser() is used. Using the default parser you can extract parameters from the URI pathname via place holders in the path expression, these place holders take the form of {PARAMNAME:DATATYPE for named parameters and {:DATATYPE for positional. When not provided the datatype will fall back to the default and thus the shorthand {PARAMNAME and { can be also be used. A full list of datatypes provided by the default parser can be found in the delegator.parser.simpleparser() documentation. d.add( /collection/{:digits/{docname:chunk.{filetype:chunk, { GET: foo ); The path expression format also supports optional sections enclosed in [ and ] characters, these can be nested, and can also contain parameter placeholders. d.add( "/recent-articles[/{topic[/{subtopic]][/], { GET: recent_articles ); Custom Data Types / Parsers The parser is easily overridden, all that is required is an object with exposes a parse method. This method must take a single argument and return a new object containing an expr property containing the compiled regular expression and a keys property containing an array of key names to be extracted from the regular expression matches. The following example is a crude implementation of a parser to handle rails style expressions such as /foo/:bar/baz and extract the segments starting with a colon. var parser = { parse: function(expr) { var result = { keys: [] ; result.expr = new RegExp( ^ + expr.replace(/\/\:([^\/]+)/, function(m, key) { result.keys.push(key); return /(.*) ; ) + $ ); 1.3. Tutorial 5
10 return result; Custom pattern types can also be added to the default parser at instantiation. parser = delegator.parser.simpleparser({ patterns: { mytype : MYREGEX ); Adding Mappings There are three methods of adding mappings to the delegator. One by One Single path expressions can be added using the delegator.add() method. d.add( /foo, { GET : get_foo, POST : create_foo ); In Batch The delegator.batch() method will import multiple mappings at once. var mappings = [ ( /foo, { GET : foo ), ( /bar, { GET : bar ) ]; var d = new Delegator({ mappings: mappings ) d.batch(mappings) Mapping Files Mappings can be loaded from a Mapping File using the delegator.load() method. var filename = dirname + /uri.map ; var d = new Delegator({ filename: filename ); d.load(filename); Matching Matching against the path expressions in a delegator instance takes two forms, there is the generic delegator.match() method and the connect.js middleware delegator.middleware() method. var match = d.match(pathname, method); d.middleware(req, res, next); 6 Chapter 1. Getting Started
11 The delegator.match() method will return a delegator.match() object which will contain a callback method and the parameters extracted form the path. When using the connect.js middleware, the parameters will be added to the passed request object under the params key. 1.4 Mapping File Delegator can load mappings from an external file, allowing the configuration of mappings to be separated from your JavaScript code. uri.map: # homepage / GET./lib/views:index # widget api /widget/{id:word GET./lib/views:widget_read PUT./lib/views:widget_save DELETE./lib/views:widget_delete /widget GET./lib/views:widget_list POST./lib/views:widget_create The format is read line by line, ignoring any text after a # character, all blank lines are ignored, any lines without preceding white space are treated as path expressions, and any line with preceding white space is treated as a HTTP method to callback mapping. The mapping file can either be passed to the delegator.delegator() instance at instantiation via the filename option: var handler = new Delegator({ filename: dirname + /uri.map ); var middleware = delegator({ filename: dirname + /uri.map ); or used to add additional mappings to an existing instance via the delegator.load() method: handler.load( dirname + /uri.map ); All filenames should be expressed as full paths. 1.5 License The MIT License (MIT) Copyright 2012 Daniel Knell, Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software ), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software Mapping File 7
12 THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PAR- TICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFT- WARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 Chapter 1. Getting Started
13 CHAPTER 2 Reference 2.1 Delegator A delegator object allows a request to be delegated to an alternative callback based on URI path and HTTP method Standard Options wrap A function to wrap around callbacks. prefix A prefix for path expressions. parser A parser for path expressions Delegator Class class delegator.delegator(options) The constructor supports additional options: filename A filename to pass to delegator.load(). mappings A mappings array to pass to delegator.batch(). parser A parser for path expressions. var delegator = new Delegator() ; delegator.add( /, { GET: function(req, res, next) { //... ); http.createserver(function (req, res) { var match ; try { match = delegator.match(req.url, req.method); req.params = match.params; 9
14 match.callback(req, res); catch (e) { console.log(e); ); options (object) A dictionary of options. delegator.parser The default path expression parser to use when adding routes. Value delegator.parser.simpleparser() delegator.prefix The default path expression prefix to use when adding routes. Default delegator.wrap The default wrapper for callback functions. Default null delegator.length The number of mappings in the delegator. delegator.add(path, callbacks[, options]) path (string) A path expression. callbacks (object) A dictionary of methods to callbacks. options (object) A dictionary of options. Throws delegator.errors.parsererror Return type delegator.mapping() delegator.match(path, method) Find a matching endpoint for a path and HTTP method. Throws path (string) A URI path method (string) A HTTP method. delegator.errors.notfounderror delegator.errors.methodnotallowederror Return type delegator.match() delegator.batch(mappings, options) Add multiple mappings to the delegator. mappings (array) An array of objects with path and method objects. 10 Chapter 2. Reference
15 options (object) A dictionary of options. Throws delegator.errors.parsererror delegator.load(filename, options) Load mappings from a Mapping File. filename (string) The path to a mappings file. options (object) A dictionary of options. Throws delegator.errors.parsererror delegator.middleware(req, res[, next]) A connect.js compatible middleware. req (object) A node.js http.request() like object. res (object) A node.js http.response() like object. next (function) A function to be called when a methods unavailible Mapping class delegator.mapping(expr, keys, callbacks) The constructor supports additional options: mapping.expr A regular expression. mapping.keys An array of key names for the regular expression groups. mapping.callbacks A dictionary of methods to callbacks. mapping.match(path) Test if a mapping matches a path and return the params. path (string) A path to match against. Returns A dictionary of parameters or null when non matching Matches class delegator.match(params, callback) The constructor supports additional options: match.params A dictionary of parameters. match.callback A callback function Delegator 11
16 2.1.5 Factory delegator(options) A factory method to instantiate a delegator.delegator(). and return delegator.middleware(). var delegator = require( artisan-delegator ) ; app.use(delegator({ filename: dirname + /url.map )); options (object) A dictionary of options. Returns A connect.js compatible middleware. 2.2 Errors This module implements the error classes thrown by other parts of the library Not Found class delegator.errors.notfounderror([message]) Bases: Error() Thrown when a match cannot be found for the current request. message (string) The error message text error.message The error message text Default Not Found error.code The http status code. Value 404 error.name The name of the error. Value NotFoundError Method Not Allowed class delegator.errors.methodnotallowederror([message]) Bases: Error() Thrown when a match can be found for the current request, but does not contain a callback for the http method. message (string) The error message text 12 Chapter 2. Reference
17 error.message The error message text Default Method Not Allowed error.code The http status code. Value 405 error.name The name of the error. Value MethodNotAllowedError Parser class delegator.errors.parsererror(message) Bases: Error() Thrown when a pattern can not be parsed by the current parser. message (string) The error message text error.message The error message text Default Parser Error error.name The name of the error. Value ParserError Mapping File class delegator.errors.parsererror(message) Bases: Error() Thrown when a mapping file can not be parsed. message (string) The error message text error.message The error message text Default Mapping File Error error.name The name of the error. Value MappingFileError 2.2. Errors 13
18 2.3 Parsers This module implements the parsers used to convert string path expressions into regular expressions used in the matching stage of request delegation Simple Parser class delegator.parser.simpleparser(patterns) Parser to turn path expressions into regular expressions with a list of group names. parser.parse( /hello/{name:chunk ) == { expr: /^\/hello\/([^\/.]+)/$, keys: [ name ] Additional patterns can be passed in as a dictionary to the constructor, by default the following are defined: word \w+ alpha [a-za-z]+ digits \d+ number \d*\.?\d+ chunk [^/\.]+ segment [^/]+ any.+ patterns (string) A dictionary of names and regular expression patterns matching parser.defaultpattern The pattern to use when non provided. Default chunk parser.patternstart The start character for pattern matching. Default { parser.patternend The start character for pattern matching. Default parser.optionalstart The start character for pattern matching. Default [ parser.optionalend The start character for pattern matching. Default ] parser.parse(pattern) Parse a string into a regular expression 14 Chapter 2. Reference
19 string (pattern) the pattern string to parse Throws delegator.errors.parsererror For invalid patterns. Returns A dictionary containing the regular expression and an array of keys If you can t find the information you re looking for, have a look at the index or try to find it using the search function: genindex search 2.3. Parsers 15
Elegans Documentation
Elegans Documentation Release 0.1.0 Naoki Nishida April 29, 2014 Contents i ii CHAPTER 1 Description Elegans is a 3D plotting library written in JavaScript. With Elegans, you can generate charts in JavaScript,
More informationutidylib Documentation Release 0.4
utidylib Documentation Release 0.4 Michal Čihař Nov 01, 2018 Contents 1 Installing 3 2 Contributing 5 3 Running testsuite 7 4 Building documentation 9 5 License 11 6 Changes 13 6.1 0.5....................................................
More informationgit-pr Release dev2+ng5b0396a
git-pr Release 0.2.1.dev2+ng5b0396a Mar 20, 2017 Contents 1 Table Of Contents 3 1.1 Installation................................................ 3 1.2 Usage...................................................
More informationTailor Documentation. Release 0.1. Derek Stegelman, Garrett Pennington, and Jon Faustman
Tailor Documentation Release 0.1 Derek Stegelman, Garrett Pennington, and Jon Faustman August 15, 2012 CONTENTS 1 Quick Start 3 1.1 Requirements............................................... 3 1.2 Installation................................................
More informationTestworks User Guide. Release 1.0. Dylan Hackers
Testworks User Guide Release 1.0 Dylan Hackers April 10, 2019 CONTENTS 1 Testworks Usage 1 1.1 Quick Start................................................ 1 1.2 Defining Tests..............................................
More informationThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1. License The MIT License (MIT) Copyright (c) 2018 gamedna Ltd Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
More informationmp3fm Documentation Release Akshit Agarwal
mp3fm Documentation Release 1.0.1 Akshit Agarwal July 27, 2013 CONTENTS 1 Introduction to MP3fm 3 1.1 Features.................................................. 3 2 Libraries Used and Install 5 2.1 Libraries
More informationagate-sql Documentation
agate-sql Documentation Release 0.5.3 (beta) Christopher Groskopf Aug 10, 2017 Contents 1 Install 3 2 Usage 5 3 API 7 3.1 Authors.................................................. 8 3.2 Changelog................................................
More informationSensor-fusion Demo Documentation
Sensor-fusion Demo Documentation Release 1.2 Alexander Pacha Aug 13, 2018 Contents: 1 Euler Angles 3 2 Installation 5 3 Contribute 7 4 License 9 i ii Sensor-fusion Demo Documentation, Release 1.2 This
More informationImagination Documentation
Imagination Documentation Release 1.5 Juti Noppornpitak July 01, 2013 CONTENTS i ii Copyright Juti Noppornpitak Author Juti Noppornpitak License MIT Imagination
More informationX Generic Event Extension. Peter Hutterer
X Generic Event Extension Peter Hutterer X Generic Event Extension Peter Hutterer X Version 11, Release 7.7 Version 1.0 Copyright 2007 Peter Hutterer Permission is hereby granted, free of charge, to any
More informationDependency Injection Container Documentation
Dependency Injection Container Documentation Release v1.0.0 Filipe Silva Dec 08, 2017 Contents 1 Getting started 3 1.1 Introduction...............................................
More informationdisspcap Documentation
disspcap Documentation Release 0.0.1 Daniel Uhricek Dec 12, 2018 Installation 1 Requirements 3 1.1 Build depedencies............................................ 3 1.2 Python depedencies...........................................
More informationInstagram PHP Documentation
Instagram PHP Documentation Release 0.1.0 Marvin Osswald Feb 12, 2018 Contents 1 Overview 3 1.1 Requirements............................................... 3 1.2 Installation................................................
More informationImagination Documentation
Imagination Documentation Release 1.9 Juti Noppornpitak August 26, 2016 Contents 1 How to Install 3 2 Architecture 5 3 Release Notes 7 4 MIT License 9 5 Reference 11 5.1 Getting Started..............................................
More informationinflection Documentation
inflection Documentation Release 0.3.1 Janne Vanhala Oct 29, 2018 Contents 1 Installation 3 2 Contributing 5 3 API Documentation 7 4 Changelog 11 4.1 0.3.1 (May 3, 2015)...........................................
More informationsensor-documentation Documentation
sensor-documentation Documentation Release 0.0.1 Apoorv Jagtap October 15, 2016 Contents 1 Contents: 1 1.1 Introduction............................................... 1 1.2 Velodyne VLP - 16............................................
More informationSopaJS JavaScript library package
SopaJS JavaScript library package https://staff.aist.go.jp/ashihara-k/sopajs.html AIST August 31, 2016 1 Introduction SopaJS is a JavaScript library package for reproducing panoramic sounds on the Web
More informationwebbot Documentation Release Natesh M Bhat
webbot Documentation Release 0.0.1 Natesh M Bhat Oct 06, 2018 Contents: 1 Quick demo code ^_^ 3 1.1 Installation................................................ 3 1.2 License..................................................
More informationDellve CuDNN Documentation
Dellve CuDNN Documentation Release 1.0.0 DELLveTeam May 02, 2017 Contents 1 Install Requirements 3 2 Dellve CuDNN Framework 5 3 Dellve CuDNN Operations 7 4 API Reference 11 5 Contributing 13 6 Licensing
More informationFeed Cache for Umbraco Version 2.0
Feed Cache for Umbraco Version 2.0 Copyright 2010, Ferguson Moriyama Limited. All rights reserved Feed Cache for Umbraco 2.0 Page 1 Introduction... 3 Prerequisites... 3 Requirements... 3 Downloading...
More informationBME280 Documentation. Release Richard Hull
BME280 Documentation Release 0.2.1 Richard Hull Mar 18, 2018 Contents 1 GPIO pin-outs 3 1.1 P1 Header................................................ 3 2 Pre-requisites 5 3 Installing the Python Package
More informationStatsd Metrics Documentation
Statsd Metrics Documentation Release 1.0.0 Farzad Ghanei Aug 05, 2018 Contents 1 Metrics 3 1.1 metrics Metric classes and helper functions............................ 4 2 Client 7 2.1 client Statsd client.........................................
More informationretask Documentation Release 1.0 Kushal Das
retask Documentation Release 1.0 Kushal Das February 12, 2016 Contents 1 Dependencies 3 2 Testimonial(s) 5 3 User Guide 7 3.1 Introduction............................................... 7 3.2 Setting
More informationdublincore Documentation
dublincore Documentation Release 0.1.1 CERN Mar 25, 2018 Contents 1 User s Guide 3 1.1 Installation................................................ 3 1.2 Usage...................................................
More informationThe RX Document Version 1.0 X11 Release 6.4
Version 1.0 X11 Release 6.4 Arnaud Le Hors lehors@x.org X Consortium, Inc. Abstract This document describes the RX MIME type and how it can be used to provide a means to execute remote applications, such
More informationPyCon APAC 2014 Documentation
PyCon APAC 2014 Documentation Release 2014-01-12 Keith Yang July 06, 2014 Contents 1 PyCon APAC 2014 3 1.1 Getting Started.............................................. 3 1.2 Setting up the database..........................................
More informationdocxtemplater Documentation
docxtemplater Documentation Release Edgar Hipp August 30, 2015 Contents 1 Goals 3 1.1 Why you should use a library for this.................................. 3 2 Platform Support 5 3 Dependencies 7 4
More informationJava Relying Party API v1.0 Programmer s Guide
Java Relying Party API v1.0 Programmer s Guide 4 June 2018 Authors: Peter Höbel peter.hoebel@open-xchange.com Vittorio Bertola vittorio.bertola@open-xchange.com This document is copyrighted by the ID4me
More informationpuppet-diamond Documentation
puppet-diamond Documentation Release 0.3.0 Ian Dennis Miller Mar 21, 2017 Contents 1 Overview 3 2 Introduction 5 3 User Guide 9 4 About 15 i ii Puppet-Diamond is framework for creating and managing an
More informationDaedalus Documentation
Daedalus Documentation Release 0.1.0 Joshua Estes Sep 27, 2017 Contents 1 Installation 3 1.1 With Composer.............................................. 3 1.2 Global Install with Composer......................................
More informationMatPlotTheme Documentation
MatPlotTheme Documentation Release 0.1.2 James Yu July 31, 2014 Contents 1 Contents 3 1.1 Overview................................................. 3 1.2 Gallery..................................................
More informationjumpssh Documentation
jumpssh Documentation Release 1.0.1 Thibaud Castaing Dec 18, 2017 Contents 1 Introduction 1 2 Api reference 5 3 Changes 15 4 License 17 5 Indices and tables 19 Python Module Index 21 i ii CHAPTER 1 Introduction
More informationPHP-FCM Documentation
PHP-FCM Documentation Release 0.0.1 Edwin Hoksberg Apr 09, 2018 Contents 1 Overview 3 1.1 Requirements............................................... 3 1.2 Running the tests.............................................
More informationXStatic Documentation
XStatic Documentation Release 1.0.1 Thomas Waldmann Sep 18, 2018 Contents 1 What is XStatic 1 1.1 The Idea................................................. 1 1.2 Pros....................................................
More informationPiexif Documentation. Release 1.0.X. hmatoba
Piexif Documentation Release 1.0.X hmatoba January 29, 2017 Contents 1 About Piexif 3 1.1 What for?................................................. 3 1.2 How to Use................................................
More informationdeepatari Documentation
deepatari Documentation Release Ruben Glatt July 29, 2016 Contents 1 Help 3 1.1 Installation guide............................................. 3 2 API reference 5 2.1 Experiment Classes........................................
More informationNode.js. Node.js Overview. CS144: Web Applications
Node.js Node.js Overview JavaScript runtime environment based on Chrome V8 JavaScript engine Allows JavaScript to run on any computer JavaScript everywhere! On browsers and servers! Intended to run directly
More informationSpotter Documentation Version 0.5, Released 4/12/2010
Spotter Documentation Version 0.5, Released 4/12/2010 Purpose Spotter is a program for delineating an association signal from a genome wide association study using features such as recombination rates,
More informationAsthma Eliminator MicroMedic Competition Entry
Asthma Eliminator 2013 MicroMedic Competition Entry Overview: Our project helps people with asthma to avoid having asthma attacks. It does this by monitoring breath pressure and alerting the user if the
More informationPiexif Documentation. Release 1.0.X. hmatoba
Piexif Documentation Release 1.0.X hmatoba Oct 06, 2017 Contents 1 About Piexif 3 1.1 What for?................................................. 3 1.2 How to Use................................................
More informationpydocstyle Documentation
pydocstyle Documentation Release 1.0.0 Amir Rachum Oct 14, 2018 Contents 1 Quick Start 3 1.1 Usage................................................... 3 1.2 Error Codes................................................
More informationInptools Manual. Steffen Macke
Inptools Manual Steffen Macke Inptools Manual Steffen Macke Publication date 2014-01-28 Copyright 2008, 2009, 2011, 2012, 2013, 2014 Steffen Macke Permission is granted to copy, distribute and/or modify
More informationTransparency & Consent Framework
Transparency & Consent Framework Consent Manager Provider JS API v1.0 Table of Contents Introduction... 2 About the Transparency & Consent Framework... 2 About the Transparency & Consent Standard... 3
More informationCuteFlow-V4 Documentation
CuteFlow-V4 Documentation Release 4.0.0 Timo Haberkern Nov 15, 2017 Contents 1 Contributing 3 1.1 Contributing Code............................................ 3 1.2 Contributing Documentation.......................................
More informationtwstock Documentation
twstock Documentation 1.0.1 Louie Lu 2018 03 26 Contents 1 twstock - 1 1.1 - User s Guide.............................................. 1 1.2 API - API Reference...........................................
More informationMicroservices with Node.js
Microservices with Node.js Objectives In this module we will discuss: Core Node.js concepts Node Package Manager (NPM) The Express Node.js package The MEAN stack 1.1 What is Node.js? Node.js [ https://nodejs.org/
More informationMCAFEE THREAT INTELLIGENCE EXCHANGE RESILIENT THREAT SERVICE INTEGRATION GUIDE V1.0
MCAFEE THREAT INTELLIGENCE EXCHANGE RESILIENT THREAT SERVICE INTEGRATION GUIDE V1.0 Copyright IBM Corporation 2018 Permission is hereby granted, free of charge, to any person obtaining a copy of this software
More informationjosync Documentation Release 1.0 Joel Goop and Jonas Einarsson
josync Documentation Release 1.0 Joel Goop and Jonas Einarsson May 10, 2014 Contents 1 Contents 3 1.1 Getting started.............................................. 3 1.2 Jobs....................................................
More informationOPi.GPIO Documentation
OPi.GPIO Documentation Release 0.3.1 Richard Hull and contributors Jan 01, 2018 Contents 1 Installation 3 2 API Documentation 5 2.1 Importing the module.......................................... 5 2.2
More informationBluetooth Low Energy in C++ for nrfx Microcontrollers
Bluetooth Low Energy in C++ for nrfx Microcontrollers 1st Edition Tony Gaitatzis BackupBrain Publishing, 2017 ISBN: 978-1-7751280-7-6 backupbrain.co i Bluetooth Low Energy in C++ for nrfx Microcontrollers
More informationDjango Mail Queue Documentation
Django Mail Queue Documentation Release 3.1.0 Derek Stegelman Jan 27, 2018 Contents 1 Quick Start Guide 3 1.1 Requirements............................................... 3 1.2 Installation................................................
More informationIndustries Package. TARMS Inc.
Industries Package TARMS Inc. September 07, 2000 TARMS Inc. http://www.tarms.com Copyright cfl2000 TARMS Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this model
More informationmqtt-broker Documentation
mqtt-broker Documentation Release 1 Tegris April 09, 2016 Contents 1 Table of Contents 3 1.1 Getting Started.............................................. 4 1.2 Frontend Console.............................................
More informationinvenio-formatter Documentation
invenio-formatter Documentation Release 1.0.0 CERN Mar 25, 2018 Contents 1 User s Guide 3 1.1 Installation................................................ 3 1.2 Configuration...............................................
More informationOpen Source Used In Cisco Configuration Professional for Catalyst 1.0
Open Source Used In Cisco Configuration Professional for Catalyst 1.0 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on
More informationaiounittest Documentation
aiounittest Documentation Release 1.1.0 Krzysztof Warunek Sep 23, 2017 Contents 1 What? Why? Next? 1 1.1 What?................................................... 1 1.2 Why?...................................................
More informationFirebase PHP SDK. Release
Firebase PHP SDK Release Jul 16, 2016 Contents 1 User Guide 3 1.1 Overview................................................. 3 1.2 Authentication.............................................. 3 1.3 Retrieving
More informationWeb Application Development
Web Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie SERVER SIDE JAVASCRIPT PART 1 Outline 1.
More informationXEP-0099: IQ Query Action Protocol
XEP-0099: IQ Query Action Protocol Iain Shigeoka mailto:iain@jivesoftware.com xmpp:smirk@jabber.com 2018-11-03 Version 0.1.1 Status Type Short Name Deferred Standards Track Not yet assigned Standardizes
More informationCatbook Workshop: Intro to NodeJS. Monde Duinkharjav
Catbook Workshop: Intro to NodeJS Monde Duinkharjav What is NodeJS? NodeJS is... A Javascript RUNTIME ENGINE NOT a framework NOT Javascript nor a JS package It is a method for running your code in Javascript.
More informationSW MAPS TEMPLATE BUILDER. User s Manual
SW MAPS TEMPLATE BUILDER User s Manual Copyright (c) 2017 SOFTWEL (P) Ltd All rights reserved. Redistribution and use in binary forms, without modification, are permitted provided that the following conditions
More informationThe XIM Transport Specification
The XIM Transport Specification Revision 0.1 Takashi Fujiwara, FUJITSU LIMITED The XIM Transport Specification: Revision 0.1 by Takashi Fujiwara X Version 11, Release 7 Copyright 1994 FUJITSU LIMITED Copyright
More informationTWO-FACTOR AUTHENTICATION Version 1.1.0
TWO-FACTOR AUTHENTICATION Version 1.1.0 User Guide for Magento 1.9 Table of Contents 1..................... The MIT License 2.................... About JetRails 2FA 4................. Installing JetRails
More informationclipbit Release 0.1 David Fraser
clipbit Release 0.1 David Fraser Sep 27, 2017 Contents 1 Introduction to ClipBit 1 1.1 Typing in Programs........................................... 1 2 ClipBit Programs 2 2.1 Secret Codes...............................................
More informationRTI Connext DDS Core Libraries
RTI Connext DDS Core Libraries Getting Started Guide Addendum for Database Setup Version 5.3.1 2018 Real-Time Innovations, Inc. All rights reserved. Printed in U.S.A. First printing. February 2018. Trademarks
More informationGuest Book. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
License Guest Book Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
More informationThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Simple Robot Simulator 2010 (SRS10) Written by Walter O. Krawec Copyright (c) 2013 Walter O. Krawec Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
More informationAdditional License Authorizations for HPE OneView for Microsoft Azure Log Analytics
Additional License Authorizations for HPE OneView for Microsoft Azure Log Analytics Product Use Authorizations This document provides Additional License Authorizations for HPE OneView for Microsoft Azure
More informationCS 4961 Senior Design. Planetary Surface Flyover Movie Generator. Software Design Specification
CS 4961 Senior Design Planetary Surface Flyover Software Design Specification Document Prepared by: Shawn Anderson Fidel Izquierdo Jr. Angel Jimenez Khang Lam Christopher Omlor Hieu Phan 02 December 2016
More informationMEAS HTU21D PERIPHERAL MODULE
MEAS HTU21D PERIPHERAL MODULE Digital Humidity and Temperature Digital Component Sensor (DCS) Development Tools The HTU21D peripheral module provides the necessary hardware to interface the HTU21D digital
More informationLua Script Logic. Timestamp (ms) Network interface #1. Volume
11 January 2017 LSX LUA SCRIPTING EXTENSIONS (v1.0 and v2.0) 1 DESCRIPTION The AudioScience Lua scripting extensions allows an AudioScience network interface to automatically perform a user-specified set
More informationXEP-0363: HTTP File Upload
XEP-0363: HTTP File Upload Daniel Gultsch mailto:daniel@gultsch.de xmpp:daniel@gultsch.de 2018-04-21 Version 0.6.0 Status Type Short Name Proposed Standards Track NOT_YET_ASSIGNED This specification defines
More informationNODE.JS SERVER SIDE JAVASCRIPT. Introduc)on Node.js
NODE.JS SERVER SIDE JAVASCRIPT Introduc)on Node.js Node.js was created by Ryan Dahl starting in 2009. For more information visit: http://www.nodejs.org 1 What about Node.js? 1. JavaScript used in client-side
More informationXEP-0206: XMPP Over BOSH
1 di 15 31/01/2011 19:39 XEP-0206: XMPP Over BOSH Abstract: Authors: Copyright: Status: Type: This specification defines how the Bidirectional-streams Over Synchronous HTTP (BOSH) technology can be used
More informationKEMP Driver for Red Hat OpenStack. KEMP LBaaS Red Hat OpenStack Driver. Installation Guide
KEMP LBaaS Red Hat OpenStack Driver Installation Guide VERSION: 2.0 UPDATED: AUGUST 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP
More informationXTEST Extension Library
Version 2.2 XConsortium Standard Kieron Drake UniSoft Ltd. Copyright 1992 by UniSoft Group Ltd. Permission to use, copy, modify, and distribute this documentation for any purpose and without fee is hereby
More informationXEP-0044: Full Namespace Support for XML Streams
XEP-0044: Full Namespace Support for XML Streams Robert Norris mailto:rob@cataclysm.cx xmpp:rob@cataclysm.cx 2002-08-26 Version 0.1 Status Type Short Name Deferred Standards Track N/A A description of
More informationXEP-0033: Extended Stanza Addressing
XEP-0033: Extended Stanza Addressing Joe Hildebrand mailto:jhildebr@cisco.com xmpp:hildjj@jabber.org Peter Saint-Andre mailto:xsf@stpeter.im xmpp:peter@jabber.org http://stpeter.im/ 2017-01-11 Version
More informationWe are assuming you have node installed!
Node.js Hosting We are assuming you have node installed! This lesson assumes you've installed and are a bit familiar with JavaScript and node.js. If you do not have node, you can download and install it
More informationIntroduction to Express.js. CSC309 Feb. 6, 2015 Surya Nallu
Introduction to Express.js CSC309 Feb. 6, 2015 Surya Nallu What is Express.js? Web application framework for Node.js Light-weight and minimalist Provides boilerplate structure & organization for your web-apps
More informationXEP-0087: Stream Initiation
XEP-0087: Stream Initiation Thomas Muldowney mailto:temas@jabber.org xmpp:temas@jabber.org 2003-05-22 Version 0.1 Status Type Short Name Retracted Standards Track si A common method to initiate a stream
More informationCopyright by Object Computing, Inc. (OCI). All rights reserved. Strata
Overview npm install [-g] strata var strata = require('strata'); Node.js streaming HTTP server Based on Web Server Gateway Interface (WSGI) - a Python standard at http://wsgi.org Rack - a Ruby Webserver
More informationDATAGATE MK2. Box Contents. Additional Features (licenses) Features. Safety
DATAGATE MK2 Box Contents Datagate Mk2 (pn: 70044) Straight connect Ethernet lead (pn:79102) IEC power cord (country dependent plug) This User manual Features 8 DMX ports isolated up to 1500V Gigabit Ethernet
More informationFolder Poll General User s Guide
Document version 11 Product Release version 3.0 Folder Poll General User s Guide MyAssays Ltd. 2016 www.myassays.com Contents Trademarks... 4 Copyright... 4 Additional Software Licensing Notices... 5 Online
More informationNDIS Implementation Guide
NDIS Implementation Guide Last Update: February 2016 Interactive Reporting Pty Ltd ABN 68 128 589 266 8/248 Miller Street NORTH SYDNEY NSW 2060 Ph: (61 2) 8011 1511 Email: info@bi4cloud.com Website: www.bi4cloud.com
More informationZSI: The Zolera Soap Infrastructure User s Guide. Release 2.0.0
ZSI: The Zolera Soap Infrastructure User s Guide Release 2.0.0 July 31, 2006 Copyright c 2001, Zolera Systems, Inc. All Rights Reserved. Copyright c 2002-2003, Rich Salz. All Rights Reserved. COPYRIGHT
More informationUser Guide. Calibrated Software, Inc.
User Guide Calibrated Software, Inc. Copyright 2008 Calibrated Software, Inc. All rights reserved. www.calibratedsoftware.com Your rights to the software are governed by the accompanying Software License
More informationabstar Documentation Release Bryan Briney
abstar Documentation Release 0.3.1 Bryan Briney Apr 26, 2018 Contents 1 Getting Started 3 2 Usage 7 3 About 13 4 Related Projects 15 5 Index 17 i ii AbStar is a core component of the Ab[x] Toolkit for
More informationLANDISVIEW Beta v1.0-user Guide
LANDISVIEW Beta v1.0 User Guide Andrew G. Birt Lei Wang Weimin Xi Knowledge Engineering Laboratory (KEL) Texas A&M University Last Revised: November 27, 2006 1 Table of Contents 1. Introduction 2. Installation
More informationdocxtemplater Documentation
docxtemplater Documentation Release Edgar Hipp January 25, 2017 Contents 1 Goals 3 1.1 Why you should use a library for this.................................. 3 2 Platform Support 5 3 Dependencies 7 4
More informationdocxtemplater Documentation
docxtemplater Documentation Release Edgar Hipp January 25, 2017 Contents 1 Goals 3 1.1 Why you should use a library for this.................................. 3 2 Platform Support 5 3 Dependencies 7 4
More informationVMware vcenter Log Insight Manager. Deployment Guide
VMware vcenter Log Insight Manager Deployment Guide VERSION: 6.0 UPDATED: JULY 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP Technologies
More informationJavaScript Libraries User's Guide
FUJITSU Software Interstage Application Server JavaScript Libraries User's Guide Windows/Solaris/Linux B1WS-1049-02ENZ0(00) November 2013 Preface Purpose of This Document This document provides information
More informationThe XIM Transport Specification
The XIM Transport Specification Revision 0.1 XVersion 11, Release 6.7 Takashi Fujiwara FUJITSU LIMITED ABSTRACT This specification describes the transport layer interfaces between Xlib and IM Server, which
More informationNTLM NTLM. Feature Description
Feature Description VERSION: 6.0 UPDATED: JULY 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP Technologies logo are registered
More informationBackend Development. SWE 432, Fall 2017 Design and Implementation of Software for the Web
Backend Development SWE 432, Fall 2017 Design and Implementation of Software for the Web Real World Example https://qz.com/1073221/the-hackers-who-broke-into-equifax-exploited-a-nine-year-old-security-flaw/
More informationCompound Text Encoding
Compound Text Encoding Version 1.1.xf86.1 XFree86 4.0.2 XFree86, Inc. based on Version 1.1 XConsortium Standard XVersion 11, Release 6.4 Robert W. Scheifler Copyright 1989 by X Consortium Permission is
More informationThis book contains code samples available under the MIT License, printed below:
Bluetooth Low Energy in ios Swift by Tony Gaitatzis Copyright 2015 All Rights Reserved All rights reserved. This book or any portion thereof may not be reproduced or used in any manner whatsoever without
More informationPyDotPlus Documentation
PyDotPlus Documentation Release 2.0.2 PyDotPlus Developers Sep 12, 2017 Contents 1 Quick Guide 3 2 API Reference 5 2.1 API Reference.............................................. 5 2.1.1 GraphViz Module........................................
More information