This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Mode Backup Safety Checklist
scil edited this page Aug 4, 2018
·
1 revision
item | Data Pollution | note | Memory Leak | note | config |
---|---|---|---|---|---|
Application | √ | √ | - | ||
Kernel | 🔧 | 🔧 | Methods pushMiddleware or prependMiddleware? No worry, because there's a check: if (array_search($middleware, $this->middleware) === false)
|
LARAVELFLY_SERVICES['kernel'] and config('laravelfly.BaseServices')[\Illuminate\Contracts\Http\Kernel::class] | |
events | √ | √ | config('laravelfly.BaseServices')['events'] | ||
router | 🔧 | config('laravelfly.BaseServices')['router'] | |||
router.routes | 🔧 | √ | props are associate arrays | LARAVELFLY_SERVICES['routes'] and config('laravelfly.BaseServices')['router.obj.routes'] | |
url(UrlGenerator) | 🔧 | config('laravelfly.BaseServices')['url'] | |||
redirect(Redirector) | √ | config('laravelfly.BaseServices')['url'] | |||
Facade | √ | clearResolvedInstances | NA | ||
config | 🔧 | FLY | 🔧 | Methods push and prepend | LARAVELFLY_SERVICES['config'] |
PHP Config | 🖏 | should not changed in any requests | NA |
- 🔧: configurable
- 🖏: works well in most cases, except basic config different in different requests. for example, UrlGenerator::$formatHostUsing is a callback/closure and keep same in most projects.But if your project has different formatHostUsing, plus hack work is needed.
- 🔧🖏: configurable, and works well in most cases after configration.
- NA: not applicable
- Start
- Coding Guideline
- Deploy and OS Configuration
- New API
- Design
- Dev about Mode Map
- Dev about Mode Backup