-
Notifications
You must be signed in to change notification settings - Fork 0
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
Install publications (*.jwpub
file)
#6
Comments
So |
Since |
Last night I was trying to reverse engineer the Library App API and got some interesting finds, let me share with anyone reading this:
|
This commit finish current catalog/publication collection implementation, as described for #6. It will enable install publications easy BREAKING: `PubCatalog` is completely deprecated
After some tests, everything about installing publications (for the long I know) is working fine. Old publications support also added, but I don't know if it will work nice on reading, but let see when finish feature/ui-development. |
This commit finish current catalog/publication collection implementation, as described for #6. It will enable install publications easy BREAKING: `PubCatalog` is completely deprecated
This commit finish current catalog/publication collection implementation, as described for #6. It will enable install publications easy BREAKING: `PubCatalog` is completely deprecated
Migration proposal
Last talked in commit 792d8b0, I have a migration proposal for database rust crate.
sqlite
crateThis is a very simple crate that exposes a API for database handling using sqlite. The current version being used by OWL is
0.28.0
, while the latest version is0.36.1
. The crate is usable, but updating it could be a hard task, since there's very little documentation available, and a lot of the code seems like a spaghetti mess, with SQLite statements everywhere and some neaty shortcuts.Pros
PubCatalog
responsability;Cons
microrm
crateMaybe we can say that
microrm
crate is quite advanced. It usessqlx
instead of being a standalone package, with this, it can be easier to maintain since there's isn't a lot of updates that change the code API. Is better documented, better maintained and it automatically refers data to object models.Pros
PubCatalog
turns into a database cluster instead of database caller;Cons
Conclusion
Even that
microrm
requires more coding thansqlite
, it seems like a very plausible reason to make the migration. It will help into making OWL code more organized and efficient. A development branch will be created for this.The text was updated successfully, but these errors were encountered: