mhusm / XD-MVC

A library for building cross-device applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XD-MVC

XD-MVC brings cross-device capabilities to MVC frameworks. It can be used as a plain JavaScript library. In addition, we provide an integration with Polymer. XD-MVC consists of a server-side and a client-side part. For communication among devices, both a peer-to-peer (based on PeerJS) and a client-server (based on Socket.io) version exist. In addition, a hybrid version is enabled by default, which will use PeerJS for clients that support it and fall back to Socket.io for those that do not. The hybrid version is used by default, however, you are free to choose another version that suits your needs best. You can also choose to only use the device-to-device communication library (d2d.js) that is part of this project. This is a research prototype, use in production is not recommended.

Structure

Note that the structure of this project has changed. The project has been split over multiple repositories. The code in this one will no longer be maintained and will be removed in the future.

  • The server-side part is located at XD-MVC-Server.
  • The client-side part is located at XD-MVC-Client.
  • A gallery example built with Polymer is located at XD-Gallery.
  • A maps example built with JavaScript is located at XD-Maps.
  • A maps example built with Polymer is located at XD-MapsPolymer.
  • A webcam viewer example built with Polymer is located at xd-webcam.
  • An interactive drawing board example built with Polymer is located at xd-graffiti.
  • A Chat example using d2d is located at D2D-Chat.

Supported Browsers

The framework uses some experimental JavaScript features, hence it may not work equally well in all browsers. The best support is reached for Chrome. If peer-to-peer communication is used, that is the only browser that is fully supported due to issues of PeerJS with other browsers. If client-server or hybrid communication is used, also Firefox and Safari should work. For applications built with Polymer we have seen best results with Chrome, however, thanks to polyfills all modern browsers should be suppported. Internet Explorer support has not been tested.

About this Project

XD-MVC is under development at the Globis Group at ETH Zürich. The project is coordinated by Maria Husmann. Fabian Stutz, Silvan Egli, and Marko Zivkovic have contributed to XD-MVC.

About

A library for building cross-device applications

License:GNU General Public License v3.0


Languages

Language:JavaScript 71.8%Language:HTML 28.2%