Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to modularize & integrate the reader #13

Open
j15e opened this issue May 15, 2013 · 1 comment
Open

How to modularize & integrate the reader #13

j15e opened this issue May 15, 2013 · 1 comment

Comments

@j15e
Copy link
Member

j15e commented May 15, 2013

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 :

  • (p1) intégrer le javascript/css/assets à notre application
  • (p1) injecter le contenu du livre
  • (p2) overwriter des actions ou append des actions de la liseuse de base
  • (p2) paramètres de config qui change la liseuse de base

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
Copy link
Member Author

j15e commented May 15, 2013

cc @renaudleo @cloutierlp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant