before we start questions – ask, but we may have to hold until end

20
Professional Database Management with RoundhousE!

Upload: linette-flora-chapman

Post on 17-Jan-2018

213 views

Category:

Documents


0 download

DESCRIPTION

Rob “FerventCoder” Reynolds  C# MVP  Technical Lead for Heartland Crop Insurance  Active in OSS  Chuck Norris Framework  NuGet core team member  Various contributions to other projects  ferventcoder – twitter, gmail, you name it  ferventcoder.com / Devlicio.us  Recently given a new nickname: Inspector Gadget

TRANSCRIPT

Page 1: Before We Start  Questions – ask, but we may have to hold until end

Professional Database Management with

RoundhousE!

Page 2: Before We Start  Questions – ask, but we may have to hold until end

Before We Start Questions – ask, but we may have to

hold until end http://projectroundhouse.org

Page 3: Before We Start  Questions – ask, but we may have to hold until end

Rob “FerventCoder” Reynolds C# MVP Technical Lead for Heartland Crop Insurance Active in OSS

Chuck Norris Framework NuGet core team member Various contributions to other projects

ferventcoder – twitter, gmail, you name it ferventcoder.com / Devlicio.us Recently given a new nickname: Inspector

Gadget

Page 4: Before We Start  Questions – ask, but we may have to hold until end

Past/Present Worked w/ a database of some sort How do you get changes? Does it get any easier?

Page 5: Before We Start  Questions – ask, but we may have to hold until end

Why do we need migrations? Things invariably will change Very few systems require no

changes over the years

Page 6: Before We Start  Questions – ask, but we may have to hold until end

Different Environments1. Local

(Developers)

2 . Test (Testers)

3 . Staging (Users/Proxies)

4 . Production (Users)

Page 7: Before We Start  Questions – ask, but we may have to hold until end

Let’s talk about Pain How do you apply a database

change one time? How do you keep all environments

in sync? Databases change – updates with

new/changed tables, views, stored procedures, etc

Databases store data Deleting data is bad. Don’t be a bad

monkey!

Page 8: Before We Start  Questions – ask, but we may have to hold until end

What is RoundhousE? And why is kicking my database a

good thing? It’s easy to use Make your auditors smile Version your database It’s environment aware And that’s not even the cool stuff

yet.

Page 9: Before We Start  Questions – ask, but we may have to hold until end

What does it work with? SQL Server 2000/2005/2008/Express Oracle Access MySQL (just added, still dark)

Soon: PostgreSQL SQLite

Page 10: Before We Start  Questions – ask, but we may have to hold until end

ChuckNorris Suite of tools to help make

developers more productive by scaffolding frameworks, etc

RoundhousE makes db migrations easy

http://groups.google.com/group/chucknorrisframework

Page 11: Before We Start  Questions – ask, but we may have to hold until end

Easy to use One required parameter (/d) for

database Folder format Comes with samples Documentation is solid

Page 12: Before We Start  Questions – ask, but we may have to hold until end

Make Your Auditors Smile Audit logging – who did exactly what

when? Auditing changes by capturing all

scripts and logs each time

Page 13: Before We Start  Questions – ask, but we may have to hold until end

Version Your Database 1.0.0.0 – version? “What version is your database on?”

Page 14: Before We Start  Questions – ask, but we may have to hold until end

Environment Awareness Scripts meant for an environment

will only run in that environment Default is “LOCAL”

Page 15: Before We Start  Questions – ask, but we may have to hold until end

Conventions / Customizable The cool stuff Don’t like RoundhousE as the

schema? Change it Don’t like the “up” folder? Change it Don’t like xxxxx? Change it

Page 16: Before We Start  Questions – ask, but we may have to hold until end

Integrate into development Also the cool stuff

Page 17: Before We Start  Questions – ask, but we may have to hold until end

How do I get RoundhousE? gem install roundhouse cinst roundhouse nuget install roundhouse (for your local

project)

Source (git / svn) – projectroundhouse.org

Old fashioned download – projectroundhouse.org

Page 18: Before We Start  Questions – ask, but we may have to hold until end

Asking questions Documentation

https://github.com/chucknorris/roundhouse/wiki

Chuck Norris Framework http://groups.google.com/group/

chucknorrisframework @Roundhouse_DB #roundhouse_db @ferventcoder

Page 19: Before We Start  Questions – ask, but we may have to hold until end

Questions?

Page 20: Before We Start  Questions – ask, but we may have to hold until end

http://ProjectRoundhousE.orghttp://ferventcoder.com | [email protected] | Twitter: ferventcoder