-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Discussion] Coordinating with involved parties, and possible roadmap #5
Comments
@JayPanoz quick thought on: "Build improvements mean removing the requireJS dependency, using webpack" |
Very interested in this as well. |
Ah thanks, my bad. I assumed you did (because I’m lazy and didn’t check that in the fork/branch) but was wrong. |
@JayPanoz Those changes sound terrific! By the way require.js was never meant to be the build system... it was only for the examples, and we actually used uglify and gulp for Subway Library. I was thinking whatever applications used this would have their own build systems that would import it and bundle it themselves. Also, I think it would be really great to get to a point where future improvements can be worked on in a shared repo instead of worked on independently and contributed after the fact. |
@aslagle Ah thanks! Good to know. I guess lots of people have kept it as-is with require.js because it just worked. We went ahead with it, partly because most examples were using it, and have had very positive feedback so far e.g. “it’s simple and fast” so didn’t prioritise changing the build system. In other words that was kinda delayed for full-fledged experiences with more complex features like highlights, etc. as far as we are concerned. |
Here's our list of changes:
|
@jccr Interesting, thanks! |
@JayPanoz any work on your end about CI/CD, travis, etc? |
I’m afraid not. We’ve been very “primitive” on those points for the time being, as we wanted to manage build improvements first. |
I have an intent to start on that work. I may also want to wait for build improvements first.. but I can start with what we have so far. |
AFAIC by any means do it. I personally prefer to catch up and change code/refacto if needed than delay such intents further. And do not hesitate if you want a quick look/more extensive feedback. |
👌 I actually just started then, based on the |
These are the areas I have worked on based on Readium Architecture:
|
This thread may become looong. I suggest to keep it for sharing what stakeholders of the project can add to is (what they are working on), and then define a common roadmap of integration of these codes into the common master, before it is moved to the Readium repo. I have created the complementary #7 to discuss a basic question = the definition & goals of the project. |
Thanks. Add accessibility to my list. I know it’s pretty broad but I’m unable to say how it will translate into modules/contributions yet. We must check this with publishers first. I’ll follow up in issue 7. |
Several parties are involved in “Readium Web”, which grew organically because those parties were willing to have a “Readium Web” in the first place.
Evident Point has been putting some efforts into maintaining a fork @ https://github.com/evidentpoint/webpub-viewer/tree/refactored to contribute features once things are stabilised – thanks, that’s awesome –, and Jellybooks has already shared part of what it could share a few months ago for example (cf. first merge in this repo).
However, there is more to come, and probably it would help all involved parties to know in advance what features/work others may be sharing in the near term. In the best-case scenario, we could even have a roadmap so that parties can pass the torch to one another, and get some easy wins.
I’d really like involved parties to update one another on their current status so that we can build this roadmap.
On behalf of Jellybooks, here is what we still have to contribute back to Readium:
Build improvements mean removing the requireJS dependency, using webpack, and refactoring to ease code-splitting and lazy-loading. Now, if I'm not mistaken, Bokbasen and Evident Point already did remove requireJS and switched to webpack. And it worries me a little bit in the sense I'm re-doing that on our side, and there is quite a risk of having the same feature thrice, but diverging in significant ways.
Note I’ll be super aggressive about code-splitting for business reasons in the future.
We’ll also deal with "about this book", a "share panel", fixed-layout, etc.
Finally, add Reader Lifecycle to the list.
Basically, we had to let the cloud reader know in which state is was for various reasons e.g. active, hidden (to save memory), frozen (it can’t do anything significant) and terminated (it can’t do anything). So the reader is effectively listening to browser events triggered by the user, and reacting to those events.
I pretty much had to normalise all (major) browsers there but we were able to make it reliable and it’s quite a bliss to build on top of that right now.
Lifecycle, I can share that shortly since it is one very specific component you don’t even have to use. Other things, it’s up to the community.
I’d be happy to serve as liaison and/or coordinator if needed.
My impression is that we worked on very different things and there’s no huge overlap so there may well be easy wins for the project as a whole. So I’d be happy to do the heavy administrative/organisation lifting if we can transform that into a roadmap with commits/PRs that won’t make life difficult for the next committer/Pull-Requester.
The text was updated successfully, but these errors were encountered: