mongodb using php: using a new framework called ox

Download MongoDB using PHP: Using a New Framework Called Ox

If you can't read please download the document

Upload: mongodb

Post on 16-Apr-2017

3.410 views

Category:

Technology


0 download

TRANSCRIPT

Ox for Mongo DB

Breaking the Relational Development Paradigm

Todd Edman, CEO Lunar LogicMichael Calabrese, Project Lead Lunar Logic

Why Mongo?

Not For Speed:The app wasn't high-volume and didn't have a large data set.

Document Storage:We had a project that was mostly document based.

Why Develop a Framework?

Everything was Designed as a ORM:

Zend, Cake, Yii, SQL Heavy Schema

Ox/MongoDB No Schema

Helpful for Code Organization

What we Threw Away

We decided we didn't need....

An Object Layer

-BSON was good enough

Joins, Complicated Views, ...framework fatigue.

How It Set us Free

Encouraged Change, No Model Inertia

How it set us Free:

What we Didn't Do:

No Data Normalization No Layers of Code No coding around the framework

Well Grouped Ideas

Lead to Simple Code

10 Collections

Not Dozens of Tables

The Results:

In 7 months and 1,200 hours:

Software Better Suited to the Need

New Feature Velocity Still High Still Fun to Code-Very little Programmers Regret.

Thank You

Michael Calabrese, Project Lead Lunar Logic

Ox: The Beginning

Keeping it Together

Bringing it Together

Validation

Actions Making it Fit

Thank you

Thinking Flexible and Lightweight

Flexible Lightweight For more information please check outOxForMongo.org

2012 Lunar Logic, LLC. All Rights Reserved.