CakePHP mistakes made confoo 2015

Post on 16-Jul-2015

402 views 1 download

Tags:

Transcript of CakePHP mistakes made confoo 2015

CakePHPThe Yum and the Yuck

MistakesI’ve made a few

SuccessI’ve had a bit of that too

Community

Be RespectfulEveryone starts as a newbie

No Test, No BugHigh entry barriers are not healthy

Set a Good ExamplePeople will follow

ConflictsEgo, language & culture

Empower OthersTrust people who have proven themselves

Be Transparent“Open” is an important part of open source

Documentation

Maintenance HellMake docs dead easy to maintain

Sphinx + ElasticSearch

Winning combination

Use Simple ToolsMake docs accessible, & easy to contribute to

Deployment

Push to github makejenkins ssh

Search & Offline Docs

Releases & Upgrading

Releasing Mustbe Simple

32 releases in 2014

Version Numbers Matter

Semantic versioning is important. http://semver.org

Security FixesBe transparent and respond quickly

Breaking Compatibility

Mistakes should be fixed

Migration GuidesDocument what changes/breaks

Upgrade ToolsCLI sugar

Building a Framework

Have Opinions

People Will Hate You

People Will Love You

Code GenerationPowerful, but relies on coupling

Intelligent DefaultsMake good ideas the standard

Derp DefaultsWhen ideas age poorly

ConventionsAnd configuration

ConventionsCan lead to magic

Magic can be EvilWe meant to help, really

Don’t GuessComputers are not smart

Future Proof APIsOption parameters make growing easy

“Declarative” Interfaces

Kind of suck in PHP

Say no to FeaturesSave your sanity

In Closing,

Make MistakesFalling down is an effective way to learn

Try This at HomeOpen source is hard, but rewarding

Thank Youhttps://joind.in/13270

!Github - markstory

Twitter - mark_story