codicille / edsa

Web-based and multi-devices e-book reader.
Other
7 stars 0 forks source link

How to modularize & integrate the reader #13

Open j15e opened 11 years ago

j15e commented 11 years ago

Il faut penser à un moyen d'intégrer pour nous la liseuse dans notre future application et faire en sorte qu'elle soit facilement réutilisable pour d'autres.

Il y a plusieurs aspects à considérer et on va y aller par étapes, ex :

Idées possibles (on pourrait en faire une ou plusieurs...)

1 Integrate as a gem

Move some stuff to /lib & create a gem with stuff that should be shared with any app using this reader.

1.1 Integrate directly with frameworks (rails, sinatra, etc)

https://github.com/rails/sprockets-rails https://github.com/spohlenz/tinymce-rails

2 Integrate as a JS library ala jquery-ui

build downloable version and/or publish an npm package

3 Integrate as an iframe

j15e commented 11 years ago

cc @renaudleo @cloutierlp