Dancer2::Plugin::Cart

Perl Dancer 2016 // Vienna



Andrew Baerg <andrew@pullingshots.ca>

github.com/pullingshots


Why?

Existing Database

Existing Business Logic

What if?

No Schema?

No Source of Product Data?

No Functions to calculate Shipping, Taxes, or Discounts?

No Payment Processing?

What WOULD it do?

Manage the Cart Session

Calculate Totals

Provide a Checkout Flow

Session Storage

Hooks into Everything

Inject Product Data

Adjustments to Total

Validation of Forms

Placing the Order

Ecommerce is Complicated and Unique

We can't do everything, but we CAN make it easy.

Out of the Box Demo

Hooks for Maintainability

Ecosystem of Plugins

But Why?

Doesn't everyone want an Amazon clone for their store?

NO!

not even close

simple or unique

Stripe

Live Demo

What's Next?

Dancer2::Plugin::Cart::??

D2::P::C::Shipment

D2::P::C::VAT

D2::P::C::Interchange5

D2::P::C::Stripe

Join US!

github.com/YourSole/Cart

github.com/pullingshots/Cart-Demo

Made with Slides.com