Skip to content

Instantly share code, notes, and snippets.

@theMadness
Last active February 2, 2017 23:55
Show Gist options
  • Save theMadness/0d11b76ea54bb25959531394206e4a3f to your computer and use it in GitHub Desktop.
Save theMadness/0d11b76ea54bb25959531394206e4a3f to your computer and use it in GitHub Desktop.
Switch to doctrine2
Move all the doctrine customizations to external modules that we host on an independent repo and load through composer
Change entity definition to use the most implicit and linear configuration possible (relations should take one line, not 10)
Remove the Resourceable behavior and implement a resource column type in its place
When designing the data, create an ER diagram
Define a common code style for php
Create a shared .php_cs
Publish a vagrantfile with each project that doesn't require manual interaction after the provisioning
-Convert MediaMetaData from an untyped array to an Object- Mostly done.
Unify libraries using an agnostic+integration style.
Each module should be split into 3 separate repos:
* pure PHP library that takes inputs and emits outputs, no integration with anything
if anything more specific is required, it will just interact with Interfaces defined locally, and that will usually be
provided to the class using the constructor (E.G.: Database integration)
* Laravel integration library: defines classes that implement the Interfaces providing Laravel-specific integration.
* Zend integration library: see above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment