- Get acquainted and use framework Laravel.
- Apply Sun* GIT flow.
8 days (Maximum: 10 days)
Process:
- Research and practice quicktask according to the following guideline at step 5.
- Demo and review at the end of this module.
- Init project, Directory Structure
- Migration
- Seeder, factory, faker
- Model :
- Mass assignment
- Relationship
- Accessors, mutators
- Eager loading
- Scope
- Route:
- Route + Resource controller
- Middleware
- REST & RESTful
- Controller:
- Auth
- Eloquent orm + query builder
- CRFS Protection
- Advance:
- Transaction laravel, Helpers, Localization(i18n), repository, cache
- Blade Template
- Bower, laravel mix
- Service provider, service container
- Document: https://laravel.com/docs
- Book: https://learninglaravel.net/books/laravel
- Ebook: https://goo.gl/hft96o
- Proceed to do Laravel Quick task according to the following file instructions: (Skip STEP 3) https://docs.google.com/document/d/18s2S7JGEvhCUbITNnK5J0veaC5C2Oc1SzKr66Hi0a3o/edit
- Setup pull request tracking system (PRTS) (follow step 6)
- Create pull request and follow guideline, combine with some extra requirement from your trainers (while coding you may write it in the way of how you understand the flow of Laravel).
- Ref: https://laravel.com/docs/5.2/quickstart
- Please read the company's convention file to make the code more correct: https://github.com/framgia/coding-standards/blob/master/vn/README.md#php
- If using sublime text, you can configure the following code to help control the company's convention, by: Preference -> Setting User -> clear all and paste this code bellow:
{
"bootstrapped": true,
"ensure_newline_at_eof_on_save": true,
"in_process_packages":
[
],
"installed_packages":
[
"Icon Fonts",
"Package Control",
"Phpcs",
"SideBarEnhancements",
"SublimeLinter-phpcs",
"Theme - Eightlime",
"Vue Syntax Highlight",
"VueFormatter",
"Vuejs Snippets"
],
"phpcs_additional_args":
{
"--standard": "Framgia",
"-n": ""
},
"phpcs_executable_path": "/home/framgia/.composer/vendor/bin",
"tab_size": 4,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true
}
You access this url: http://prts.sun-asterisk.vn login via Github, then follow the instructions in section User Guide
- Update their respective training languages (e.g. Ruby, PHP, ...)
- Select the chatwork box to receive pull review notifications according to the trainer's instructions when adding you to the box. Da Nang office box: "[edu][DN] Pull Request's Status Checking" Ha Noi office box: "[edu][HN] PHP checking pull request"