Coder Social home page Coder Social logo

firesharkstudios / butterfly-client Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 2.0 669 KB

Clients (javascript and .NET) that can subscribe real-time updates from a Butterfly.Web server in C#

License: Mozilla Public License 2.0

C# 39.19% JavaScript 60.81%

butterfly-client's Introduction

Butterfly.Client Butterfly Logo

Clients (javascript and .NET) that can subscribe real-time updates from a Butterfly.Web server in C#

Install from Source Code

git clone https://github.com/firesharkstudios/butterfly-client

Butterfly.Client.Web

Overview

Butterfly.Client.Web is a plain vanilla javascript library that works with any framework and allows subscribing to channels in a Butterfly.Web server to keep local javascript arrays automatically updated.

The easiest way to install Butterfly Client is with npm...

npm install butterfly-client

You can then include the Butterfly Client with a script import like...

<script src="./node_modules/butterfly-client/lib/butterfly-client.js"></script>

Or include the classes you need with an appropriate ES6 import like...

import { ArrayDataEventHandler, WebSocketChannelClient } from 'butterfly-client'

Example

All the examples at Butterfly.Server use the butterfly-client client to communicate with a Butterfly.Web server.

See these examples to see how butterfly-client allows a web client to automatically keep local javascript arrays synchronized with a server.

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Licensing

The code is licensed under the Mozilla Public License 2.0.

butterfly-client's People

Contributors

firesharkstudios avatar

Stargazers

Roger Wood avatar  avatar  avatar  avatar maber avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

inrg neotim

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.