vu2srk / flyer Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ashwinraghav/flyer
This is a javascript library/ruby library (sort of what it is) that will help to keep content consistent across browsing sessions.
This project forked from ashwinraghav/flyer
This is a javascript library/ruby library (sort of what it is) that will help to keep content consistent across browsing sessions.
Optran is a lightweigt ruby asynchronous server and javascript client component that can help you build operational transformation into your web application. What is Operational Transformation? The internet is CRUD. In an incredible surprise move, consider 2 users editing the profile of the same employee record. There are 2 parts to the user experience that are not deterministic: 1) The last person to click the save button wins the battle overwriting everything that the other users has written. 2) The users are not aware that there is a simultaneous edit happening and their work could potentially be overwritten. A complete solution to this would be to have a "Google docs" like document editing feature built all over your application that would support elegant concurrent editing. If you are looking for a full-fledged, editor like interface, https://github.com/pita/etherpad-lite is a good choice. On the other hand, a simplistic solution like, getting changes from users to be concurrently visible on all other clients that are simultaneously editing the document can be effective too. This is what OpTran does. A convenient part of Optran is that it can be plugged relatively easily into existing web applications. Also, keeping states consistent between clients is the responsibility of a separate server component. Hence, your scaling schemes should remain unaffected. Steps to incorporate Optran(I will gemify this soon): 1) clone this git repo 2) gem install em-websocket 3) 'ruby sock_server.rb' should start the web-socket server on port 8080 of your machine 4) The javascript file in js/optran.js contains a statement var wsUri = "ws://localhost:8080". Change this to the IP address of the machine where step-2 was carried out. 5) Copy this javascript file into the public folder of your web application If you have suggestions on how this can be made more pluggable, send out a mail to ashwinraghav at gmail.com. Thats is you are ready to go. Take a look at the examples in the examples folder to see how to get started. At present, flyer is compatible with only browsers that support web-sockets that lies at the core of how it works. Credits Ashwin Raghav Mohan Ganesh Kevin Sullivan Univ of Virginia
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.