Dancer and DBIx::Class



Similar documents
Table of contents. Reverse-engineers a database to Grails domain classes.

Interchange 6 - Open Source Shop Machine

Solr Bridge Search Installation Guide

SFC Featured Categories, Magento Extension Documentation

Docker Java Application with Solr, Mongo, & Cassandra: Design, Deployment, Service Discovery, and Management in Production

Drupal to WordPress migration worksheet

Interchange Future API Development. Modern PerlCommerce. Stefan Hornburg (Racke)

Mobile Solutions for Data Collection. Sarah Croft and Laura Pierik

Agile Web Development Liip.ch. Introduction to. Lukas Kahwe some content graciously stolen from Yoav

IRF2000 IWL3000 SRC1000 Application Note - Apps with OSGi - Condition Monitoring with WWH push

Premium Server Client Software

OpenMind: Know Your Customer

Certified PHP/MySQL Web Developer Course

Rails Cookbook. Rob Orsini. O'REILLY 8 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo

Paul Boisvert. Director Product Management, Magento

Maksym Iaroshenko Co-Founder and Senior Software Engineer at Eltrino. Magento non-mysql implementations

Ruby on Rails is a web application framework written in Ruby, a dynamically typed programming language The amazing productivity claims of Rails is

LedgerSMB on Mac OS X An Installation Guide

Matisse Installation Guide for MS Windows. 10th Edition

Oracle Essbase Integration Services. Readme. Release

McAfee Network Threat Response (NTR) 4.0

There and Back Again As Quick As a Flash

Request Tracker 3.8. Stefan Hornburg. Nordic Perl Workshop Oslo, 17 th April 2009

Vincent Gabriel. Summary. Experience. Senior Software Developer at Landmark Network

Zapper for ecommerce. Magento Plugin Version Checkout

JasperServer Localization Guide Version 3.5

Auditing Drupal sites for performance, content and optimal configuration

Web Hosting Control Panel Guide

Data Migration from Magento 1 to Magento 2 Including ParadoxLabs Authorize.Net CIM Plugin Last Updated Jan 4, 2016

Clustering a Grails Application for Scalability and Availability

CribMaster Database and Client Requirements

Storing SpamAssassin User Data in a SQL Database Michael Parker. [ Start Slide ] Welcome, thanks for coming out today.

Embedded/Real-Time Software Development with PathMATE and IBM Rational Systems Developer

FmPro Migrator - FileMaker to SQL Server

SVN Authentication and Authorization

Configuring an Alternative Database for SAS Web Infrastructure Platform Services

Website Pros Templates v1.0. Database Template Overview


Linas Virbalas Continuent, Inc.

How To Write A Store On A Microsoft Database On A Flash (Orchestra) On A Linux Computer (Ortho) On An Ipro (Orroster) On Your Computer Or Your Computer (For Ahem) On The

Speed Up Magento Web Store Via Magento Extension Support By: M-Connect Media. Prepared By: M-Connect Media

Edyta Jordan UI/UX Designer Full Stack Developer

2.3 - Installing the moveon management module - SQL version

Jet Data Manager 2012 User Guide

Installation Guide MAGENTO PAYMENT PLUGIN. release 1.0.1

"SQL Database Professional " module PRINTED MANUAL

Databases and SQL. Homework. Matthias Danner. June 11, Matthias Danner Databases and SQL June 11, / 16

Project management integrated into Outlook

Product Name: Recurring & Subscription Payments Version: Document Type: Help doc Author: Milople Inc.

Top Navigation menu - Tabs. User Guide 1. &

Web development with Lua Programming Language

APP ANALYTICS PLUGIN

Marketplace Plug-in User Guide

3. USB DRIVER Installation of USB driver Driver for Infinity SD Data Logger. INFINITY Series Acquisition Tools Manual

Chances of changes in Magento 2.0 extension development. Gerhard Fobe Netresearch App Factory

skype ID: store.belvg US phone number:

Security and Control Issues within Relational Databases

RSA Event Source Configuration Guide. EMC Avamar

Cross Platform Software Release Capabilities

Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide

skype ID: store.belvg US phone number:

Avaya Inventory Management System

10CS73:Web Programming

CMS and e-commerce Solutions

Using ODBC with MDaemon 6.5

Open Source Content Management System JOOMLA

Informatica Corporation Proactive Monitoring for PowerCenter Operations Version 3.0 Release Notes May 2014

Benchmark Performance Test Results for Magento Enterprise Edition

Fairsail REST API: Guide for Developers

Command Center :29:23 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Magento Quotation Module User and Installer Documentation Version 2.2

SAPIP GUI INSTALLATION. Table of Contents

Magento Customization With Extensions. Ashley Schroder aschroder.com

Magento OpenERP Integration Documentation

ASULPUNTO Magento unicenta opos integration extension Version 1.0.0

The release notes provide details of enhancements and features in Cloudera ODBC Driver for Impala , as well as the version history.

Using GABRIEL Excel to XML Templates

Using SAS ACCESS to retrieve and store data in relational database management systems

Vanilla44 New Features

4D v11 SQL Release 3 (11.3) ADDENDUM

DataLogger Kepware, Inc.

Emerald. Network Collector Version 4.0. Emerald Management Suite IEA Software, Inc.

NGASI AppServer Manager SaaS/ASP Hosting Automation for Cloud Computing Administrator and User Guide

CREDENTIALS DOCUMENT. T M E. info@visionfactor.com.au W.

SAP Mobile Platform Intro

Criteo Tags & Feed Extension for Magento

OpenCanary Documentation

Replacing a MealTime Point of Sale Computer

SAS 9.3 Drivers for ODBC

3] Alert Configuration for User Login Failure and Incorrect Guest Details [HIA]

Mastering Magento Theme Design

Transcription:

Stefan Hornburg (Racke) @linuxia.de March 25, 2014

ecommerce Software Database Administration ecommerce Software Magento Interchange6

ecommerce Software Database Administration Database Administration phpmyadmin phppgadmin

ecommerce Software Database Administration Features Different database systems MySQL, PostgreSQL higher level of abstraction modern frontend concise source code

ecommerce Software Database Administration Login

Usage UTF-8 Create schema dynamically DBIx::Class without Dancer Plugin use Interchange6 : : Schema ; $schema = Interchange6 : : Schema >connect (... ) ; $schema >r e s u l t s e t ( User ) >search ( {.. } ) ;

Usage UTF-8 Create schema dynamically DBIx::Class with Dancer Plugin use Dancer : : Plugin : : DBIC ; schema >r e s u l t s e t ( User ) >search ( {.. } ) ; r e s u l t s e t ( User ) >search ( {.. } ) ; r s e t ( User ) >search ( {.. } ) ;

Usage UTF-8 Create schema dynamically p l u g i n s : DBIC : d e f a u l t : dsn : dbi : mysql : interchange6 user : pass : nevairbe schema_class : Interchange6 : : Schema

Usage UTF-8 Create schema dynamically Multiple Schemas p l u g i n s : DBIC : d e f a u l t : dsn : dbi : mysql : interchange6 user : pass : nevairbe schema_class : Interchange6 : : Schema legacy : dsn : dbi : mysql : interchange5 user : pass : nevairbe schema_class : Interchange5 : : Schema

Usage UTF-8 Create schema dynamically Multiple Schemas use Dancer : : Plugin : : DBIC ; schema ( legacy ) > r e s u l t s e t ( UserDb ) >search ( {.. } ) ;

Usage UTF-8 Create schema dynamically UTF-8 for MySQL p l u g i n s : DBIC : d e f a u l t : dsn : dbi : mysql : interchange6 user : pass : nevairbe schema_class : Interchange6 : : Schema options : mysql_ enable_ utf8 : 1

Usage UTF-8 Create schema dynamically Create schema dynamically schema_class missing in configuration DBIx::Class::Schema::Loader test and development

Engines Example table Serializer Overview configuration serialization session expiration

Engines Example table Serializer Engines Templates TT, Xslate, Flute,... Sessions Storable, Database, DBIC Logger File, Syslog Serializer JSON, YAML, XML

Engines Example table Serializer session name of session engine (DBIC) session_options options session_expires expiration date

Engines Example table Serializer session : "DBIC" session_options : dsn : dbi : mysql : interchange6 user : pass : nevairbe schema_class : Interchange6 : : Schema r e s u l t s e t : Session id_column : sessions_id data_column : session_ data session_expires : 12 hours

Engines Example table Serializer set session => DBIC ; set session_options => { schema => schema } ;

Engines Example table Serializer Example table CREATE TABLE sessions ( sessions_id varchar (255) NOT NULL, session_data t e x t NOT NULL, created datetime NOT NULL, l a s t _ m o d i f i e d datetime NOT NULL, PRIMARY KEY ( sessions_id ) ) ENGINE=InnoDB ;

Engines Example table Serializer Serializer set session_options => { schema => schema, s e r i a l i z e r => sub { YAML : : Dump(@_) ; }, d e s e r i a l i z e r => sub { YAML : : Load (@_) ; }, } ;

Installation Frontend Login Relationships Limitations Overview Installation Frontend Login Relationships Limitations

Installation Frontend Login Relationships Limitations Installation g i t clone h t t p s : / / github. com / interchange / cd cpanm.. / bin / app. p l

Installation Frontend Login Relationships Limitations Driver DBD::mysql DBD::Pg...

Installation Frontend Login Relationships Limitations Frontend Angular Bootstrap Theme

Installation Frontend Login Relationships Limitations Login Dancer::Plugin::Auth::Extensible Provider Unix DBIC Database (planned)

Installation Frontend Login Relationships Limitations Relationships might_have has_many belongs_to many_to_many

Installation Frontend Login Relationships Limitations Limitations Primary key for one column only Speed (complex schemas) Error handling

Installation Frontend Login Relationships Limitations Auth::Extensible

Installation Frontend Login Relationships Limitations Planned Features Search (Solr) Select schema

Development Dancer2 Development https://github.com/interchange/

Development Dancer2 Dancer2 Plugin::DBIC https://metacpan.org/pod/dancer2:: Plugin::DBIC Session::DBIC not yet ported not yet ported