-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Using Vue
In general, the Open Library website tries to work for fundamental use cases (e.g. borrowing, want to read button, search) without any modern browser enhancements or javascript. The rational is, the website should work for as many people as possible. By focusing on a non-js experience by default, it forces us to leverage basic html patterns and make sure that we have well defined APIs that the front-end is POSTing or GETting to/from. In general, other than the Library Explorer experience (which is a self-contained demo) and the librarian merge UI, we don't build core pages in vue and vue is typically used as a progressive enhancement (in a way that graceful degrades when a patron doesn't have javascript, so the rest of the page works).
Some website features are non-essential enhancements (like the Read Stats) whose very purpose is to present a view in a rich way using javascript. Also, some components/widgets for specific audiences, like our librarian tools, may enable advanced functionality that is made much easier using js + vue.
To be continued!
As of 2023-02-15, we began migrating from vue 2 -> 3 and there are technical consequences of this which will be documented here. We'll also link to the issue documenting this migration.
Getting Started & Contributing
- Setting up your developer environment
- Using
git
in Open Library - Finding good
First Issues
- Code Recipes
- Testing Your Code, Debugging & Performance Profiling
- Loading Production Site Data ↦ Dev Instance
- Submitting good Pull Requests
- Asking Questions on Gitter Chat
- Joining the Community Slack
- Attending Weekly Community Calls @ 9a PT
- Applying to Google Summer of Code & Fellowship Opportunities
Developer Resources
- FAQs: Frequently Asked Questions
- Front-end Guide: JS, CSS, HTML
- Internationalization
- Infogami & Data Model
- Solr Search Engine Manual
- Imports
- BookWorm / Affiliate Server
- Writing Bots
Developer Guides
- Developing the My Books & Reading Log
- Developing the Books page
- Understanding the "Read" Button
- Using cache
- Creating and Logging into New Users
- Feature Flagging
Other Portals
- Design
- Librarianship
- Communications
- Staff (internal)
Legacy
Old Getting Started
Orphaned Editions Planning
Canonical Books Page