CakePHP the yum & yuck

Preview:

DESCRIPTION

A talk I gave at PHP Conference Argentina about the development of CakePHP and lessons I've had in the last 6 years of working on CakePHP.

Citation preview

CakePHPThe yum & the yuck.

Friday, 4 October, 13

Me

• Developer @ FreshBooks.

• Lead Developer of CakePHP.

• markstory on Github.

• mark_story on Twitter.

Friday, 4 October, 13

Friday, 4 October, 13

MistakesI’ve made a few.

Friday, 4 October, 13

SuccessI’ve had a bit of that too.

Friday, 4 October, 13

DisclaimerThis is not intended to be mean.

Friday, 4 October, 13

Community

Friday, 4 October, 13

Be respectfulEvery starts as a newbie.

Friday, 4 October, 13

No test, no bugHigh entry barriers are not healthy

Friday, 4 October, 13

Set a good examplePeople will follow.

Friday, 4 October, 13

ConflictsEgo, language & culture.

Friday, 4 October, 13

Be transparent“Open” is an important part of open source.

Friday, 4 October, 13

Empower othersTrust people who have proven themselves.

Friday, 4 October, 13

Documentation

Friday, 4 October, 13

Maintenance hellMake docs dead easy to maintain

Friday, 4 October, 13

3rd RoundSphinx + Elasticsearch

Friday, 4 October, 13

Simple toolsMake docs accessible, & easy to contribute to.

Friday, 4 October, 13

Deployment

Push to github makejenkins ssh

Friday, 4 October, 13

Search & offline docs

Friday, 4 October, 13

Releases & Upgrading

Friday, 4 October, 13

Releasing must simple

54 release since Oct 2011

Friday, 4 October, 13

Version numbers matter.

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

Friday, 4 October, 13

Security fixesBe transparent and respond quickly.

Friday, 4 October, 13

Breaking compatibility

Mistakes should be fixed.

Friday, 4 October, 13

Migration guides

Friday, 4 October, 13

Upgrade toolsCLI sugar

Friday, 4 October, 13

Building a Framework

Friday, 4 October, 13

Have opinions

Friday, 4 October, 13

People will hate you.

Friday, 4 October, 13

People will love you.

Friday, 4 October, 13

Code generationPowerful, but relies on coupling.

Friday, 4 October, 13

Intelligent defaultsMake good ideas the standard

Friday, 4 October, 13

Derp defaultsWhen ideas age poorly.

Friday, 4 October, 13

ConventionsAnd configuration.

Friday, 4 October, 13

ConventionsCan lead to magic.

Friday, 4 October, 13

Evil magicWas meant to help, really.

Friday, 4 October, 13

Don’t GuessComputers are stupid.

Friday, 4 October, 13

Future proof APIsOption parameters make growing easy.

Friday, 4 October, 13

“Declarative” interfaces

Kind of suck in PHP

Friday, 4 October, 13

Say no to featuresSave your sanity.

Friday, 4 October, 13

In closing,

Friday, 4 October, 13

Make mistakesFalling down is how I learn.

Friday, 4 October, 13

Try this at homeOpen source is hard, but rewarding

Friday, 4 October, 13

Thank you

Friday, 4 October, 13