Created
April 26, 2016 13:09
-
-
Save rudiedirkx/a648703a5bb22474ce616f75713f1185 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ClientController (page callback) | |
- Annotations | |
- @Get/@Post - URI | |
- @Middleware - auth | |
- AuthServiceProvider - auth definition | |
- UserPolicy - auth callbacks | |
User model (entity type) | |
- Shared logic | |
- Authenticable | |
- 'organization' relationship | |
Client model | |
- Constructor voor 'role' | |
- 'professionals' relationship (HasManyThroughMany) | |
- indexQuery() => newQuery() => tbl 'users' + condition | |
Service / Facade / Helper | |
- OrganizationForm => Countries => helper | |
- Test model => ContentTranslation => service | |
- Schema (override) => Facade (override) => Service (extension) | |
Forms | |
- ClientForm - create | |
- ClientIndexFilterForm - overview | |
- DynamicPagerForm - overview | |
- UserForm - edit | |
Translation | |
- trans('file.name') | |
- trans('file.group.name') | |
- trans('file.group.subgroup.name') | |
- dashboard.php => 'dashboard.test.resume' | |
- User::$statuses, User::$genders etc | |
- Service => /_translations | |
- file => db => trans() | |
UserTest model | |
- <uitleg> | |
- relationships | |
- Beroepskeuze resultaat: getOrderedProfessions() | |
- Array vs (Profession)Collection | |
Migration | |
- AddUserRoleFieldTable | |
- CreateSessionsTable - laravel | |
Factories / Seeders | |
- ModelFactory.php - User & Profession | |
- DatabaseSeeder | |
- random: CareerChoiceTestSeeder, ProfessionsSeeder, ProfessionTestQuestionPointSeeder | |
- real: RealisticCareerChoiceTestAndConfigSeeder | |
artisan / Commands | |
- php artisan inspire | |
- php artisan migrate:refresh --seed | |
- php artisan tinker - drush ev++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment