Infrastructure From Scratch Presented By Jamie Pitts Sunday, June - - PowerPoint PPT Presentation

infrastructure from scratch
SMART_READER_LITE
LIVE PREVIEW

Infrastructure From Scratch Presented By Jamie Pitts Sunday, June - - PowerPoint PPT Presentation

Perl Workshop Preview Infrastructure From Scratch Presented By Jamie Pitts Sunday, June 19, 2011 Goal To learn how to build a modern perl infrastructure which can be used for data processing and web apps... mostly from scratch. Open


slide-1
SLIDE 1

Perl Workshop Preview

Infrastructure From Scratch

Presented By Jamie Pitts

Sunday, June 19, 2011

slide-2
SLIDE 2

Goal

To learn how to build a “modern perl” infrastructure which can be used for data processing and web apps... mostly from scratch. Open Source Bulldozer

One of 50 tools in the Global Village Construction Set

Sunday, June 19, 2011

slide-3
SLIDE 3

What is Infrastructure?

Provides the basic plumbing for your apps. In the case of perl: mostly CPAN libraries and glue code. Generates files and code to get you started. Guides how you will build something. Enables others to help.

Infrastructure is everything that supports what you want to build

Sunday, June 19, 2011

slide-4
SLIDE 4

What is Being Built?

Clearly defined, documented, and tested “moving parts” Application stack that makes good use of Log4Perl, Moose, DBIC, and Catalyst. Infrastructure that is separate from the implementation. Simple implementations are used to build and test the infrastructure.

Butterfly Anatomy

A simple but complete application stack, built in steps.

Sunday, June 19, 2011

slide-5
SLIDE 5

Why Build From Scratch?

Understand how a modern perl system works from top-to-bottom. See some CPAN libraries in action: DBIC, Catalyst, Moose. Steal some ideas. Break free of re-engineering inertia. Iterate from where the workshop ends.

(Because we usually just re-purpose what we’ve worked on before.)

Sunday, June 19, 2011

slide-6
SLIDE 6

The Chicken Egg... Solution

1. Installation and Plumbing 2. Project and Component Builders: “Hello, World” 3. Database and DBIC: “Hello, Data” 4. Catalyst: “Hello, Web User” 5. Catalyst-DBIC Component: “Hello, Web Application”

To Iteratively Build Your Infrastructure: Bootstrap and Test Increasingly Complex Apps The RepRap Mendel

Sunday, June 19, 2011

slide-7
SLIDE 7

Building How from What

Hello, World Hello, Database Hello, Web User Hello, Web App

Infrastructure Your Components

Downloads, Installs Environment General Plumbing Logging Generators Database DBIC Catalyst Config Database Schema Model

Your Project

Bootstrap and Test

Sunday, June 19, 2011

slide-8
SLIDE 8

That’s It For Now

To Be Continued...

Presented By Jamie Pitts

Sunday, June 19, 2011