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

JournalTouch checkout integration release branch #1

Open
krugar opened this issue Sep 25, 2015 · 0 comments
Open

JournalTouch checkout integration release branch #1

krugar opened this issue Sep 25, 2015 · 0 comments

Comments

@krugar
Copy link
Contributor

krugar commented Sep 25, 2015

the idea has come up to allow adding books / articles displayed in libmon-php to be added the the cart that is included in an integrated JournalTouch installation (cf bibliocoll/JournalTouch#25).

This kills my original plan to rewrite libmon as a static website generator (or configuration script thereof), as JournalTouch is moving towards sessions for data storage and libmon-php will need to integrate with that.

given that not every libmon-php installation will have JournalTouch integrated, we need to figure out a way to separate three cases:

  • no cart, no checkout, no sessions, no change (but session keep-alive?)
  • provide cart and a checkout system, but have no JournalTouch installation to integrate with
  • add the cart, and integrate with the checkout system of an existing JournalTouch installation

the latter two cases will require libmon-php and JournalTouch to initiate sessions that can be handed back and forth between both (lets assume they're running on the same machine, for now) and a common data format understood by both for display and checkout purposes.

this means the cart-sessiondata thing will need to be a module integrated (or integrate-able) into both projects but dependent on neither.

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

No branches or pull requests

1 participant