Interchange 6 - Open Source Shop Machine

3,313 views

Published on

Beim letzten deutschen Perlworkshop haben wir den Mangel an einsatzbereiten "Produkte" als ein Marketingproblem von Perl identifiziert. Wir haben zwar eine große Auswahl an möglichen Lösungen, aber für klassische Aufgabenstellungen wie Blog, CMS, Shop usw. fehlen die echten "Produkte" um mit anderen Programmiersprachen konkurrieren zu können.

Wir wollen das für den Bereich eCommerce/Onlineshop ändern und gestalten die altgediente Perlsoftware Interchange von Grund auf neu und planen ein fertiges, einfach zu installierendes Produkt zur Verfügung zu stellen.

Dabei kommt natürlich "Modernes Perl" zum Einsatz, z.B. Moo, DBIx::Class und Dancer.

Dieser Vortrag berichtet über den aktuellen Stand der Dinge.

Published in: Software
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,313
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Interchange 6 - Open Source Shop Machine

  1. 1. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Interchange 6 - Open Source Shop Machine Stefan Hornburg (Racke) racke@linuxia.de 16. Deutscher Perl-Workshop, Hannover, 28. März 2013 racke Interchange 6 - Open Source Shop Machine
  2. 2. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Shopsoftware Magento Shopware Oxid racke Interchange 6 - Open Source Shop Machine
  3. 3. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration PHP Cauldron racke Interchange 6 - Open Source Shop Machine
  4. 4. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Standard Stack DBIx::Class Moo Dancer Template::Flute Solr racke Interchange 6 - Open Source Shop Machine
  5. 5. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Custom Stack DBIx::Class Moo Dancer Web::Simple Template::Flute Template Toolkit Solr Elastic Search racke Interchange 6 - Open Source Shop Machine
  6. 6. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Status Quo Interchange6::Schema (Businesslogik) Dancer::Plugin::Interchange6 racke Interchange 6 - Open Source Shop Machine
  7. 7. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Interchange6::Schema Produkte, Attribute, Preise, Bestand Benutzer, Adressen Warenkorb, Sitzungen Bestellungen, Zahlungen Steuern, Versand (in Arbeit) racke Interchange 6 - Open Source Shop Machine
  8. 8. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Payment Module Ablauf Payment Module Business::OnlinePayment unterstützt viele Anbieter nicht sehr modern 3D secure, Redirect racke Interchange 6 - Open Source Shop Machine
  9. 9. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Payment Module Ablauf Alternativen AnyMerchant https://metacpan.org/pod/AnyMerchant keine Entwicklung racke Interchange 6 - Open Source Shop Machine
  10. 10. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Payment Module Ablauf Payment Module Business::OnlinePayment::IPayment (1&1) Silent CGI Business::OnlinePayment::FirstData Connect (in Arbeit) racke Interchange 6 - Open Source Shop Machine
  11. 11. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Payment Module Ablauf PaymentOrder erzeugen $payment_order = $schema−>r e s u l t s e t ( ’ PaymentOrder ’ ) −>create (%payment_data ) ; racke Interchange 6 - Open Source Shop Machine
  12. 12. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Payment Module Ablauf Zahlung erfolgreich Status und Transaktionscode aktualisieren $payment_order−>update ( { status => ’ success ’ , auth_code => $bop_object−>authorization , } ) ; Bestellung abschließen Email(s) versenden racke Interchange 6 - Open Source Shop Machine
  13. 13. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Payment Module Ablauf Zahlung fehlgeschlagen Status aktualisieren $payment_order−>update ( { status => ’ f a i l u r e ’ , } ) ; racke Interchange 6 - Open Source Shop Machine
  14. 14. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Keywords Routes Configuration Hooks Dancer::Plugin::Interchange6 Keywords Routes Configuration Hooks racke Interchange 6 - Open Source Shop Machine
  15. 15. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Keywords Routes Configuration Hooks Keywords shop_schema shop_product, shop_address, ... $product = shop_product(’F0001’); shop_cart shop_charge shop_setup_routes racke Interchange 6 - Open Source Shop Machine
  16. 16. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Keywords Routes Configuration Hooks Routes Produkt Navigation Warenkorb Checkout Konto racke Interchange 6 - Open Source Shop Machine
  17. 17. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Keywords Routes Configuration Hooks Produkt Produkt “Dancer und DBIx::Class” sku 978-0815-0815 uri Dancer-DBIx-Class racke Interchange 6 - Open Source Shop Machine
  18. 18. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Keywords Routes Configuration Hooks Navigation Kategorien http://www.cart.pm/Programming/Perl/Dancer Produktfilter http://www.cart.pm/Programming/Perl/Dancer/ Author/racke/Sort/price racke Interchange 6 - Open Source Shop Machine
  19. 19. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Keywords Routes Configuration Hooks Fallback Routes any qr { . ∗ } => sub { # check f o r matching product . . . # check f o r matching navigation . . . # display not_found page status ’ not_found ’ ; forward 404; } ; racke Interchange 6 - Open Source Shop Machine
  20. 20. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Keywords Routes Configuration Hooks Routes Configuration Interchange6 : : Routes : cart : template : checkout−g i f t i n f o u r i : warenkorb navigation : template : l i s t i n g records : 20 racke Interchange 6 - Open Source Shop Machine
  21. 21. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Keywords Routes Configuration Hooks Hooks hook ’ before_navigation_display ’ => sub { my $nav_tokens = shift ; # load l i s t of brands my $brands = shop_navigation−>search ( { type => ’ manufacturer ’ , active => 1 } ) ; $nav_tokens−>{brands } = [ $brands−>a l l ] ; } ; racke Interchange 6 - Open Source Shop Machine
  22. 22. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Demo Shop Wireframes https://github.com/interchange/ Interchange6-Demo-Shop HTML (in Arbeit) Flowers hacking shop https://github.com/interchange/Flowers racke Interchange 6 - Open Source Shop Machine
  23. 23. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Administration ERP API OpenERP Magento kompatibel TableEditor https://github.com/interchange/TableEditor racke Interchange 6 - Open Source Shop Machine
  24. 24. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Mitarbeit kleines Entwicklerteam Github IRC #interchange freenode #dancer racke Interchange 6 - Open Source Shop Machine
  25. 25. Übersicht Interchange6 Stack Status Quo DBIx::Class Payment Dancer Plugin Demo && Administration Infos Slides: http://www.linuxia.de/talks/pws2014/ interchange6-de-beamer.pdf racke Interchange 6 - Open Source Shop Machine

×