-
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are small typos in: - WHITEPAPER.md - src/masonite/foundation/Application.py - src/masonite/providers/FrameworkProvider.py - src/masonite/response/response.py - src/masonite/utils/structures.py - src/masonite/views/view.py Fixes: - Should read `security` rather than `securiy`. - Should read `propagated` rather than `propogated`. - Should read `piece` rather than `peice`. - Should read `modifying` rather than `modyifing`. - Should read `overridden` rather than `overriden`. - Should read `differentiate` rather than `differenciate`. - Should read `asterisks` rather than `astericks`. Signed-off-by: Tim Gates <[email protected]>
- Loading branch information
1 parent
9664b4b
commit c13c607
Showing
6 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -275,7 +275,7 @@ Notice that theres nothing in the class above that isn't related to sending an e | |
|
||
### Component Classes | ||
|
||
Component classes are another part of this relationship. A component is also a class that does 1 thing and 1 thing only. This class should have a small peice of logic **that is designed to clean up other parts of the code later down the line**. For example, if we want to compile an email from `[email protected], [email protected]` to `<[email protected]>, <[email protected]>` we could loop through the emails and append them inside the SMTP driver, right? | ||
Component classes are another part of this relationship. A component is also a class that does 1 thing and 1 thing only. This class should have a small piece of logic **that is designed to clean up other parts of the code later down the line**. For example, if we want to compile an email from `[email protected], [email protected]` to `<[email protected]>, <[email protected]>` we could loop through the emails and append them inside the SMTP driver, right? | ||
|
||
This would look kind of messy and with some psuedo code would look like this: | ||
|
||
|
@@ -315,7 +315,7 @@ cc_emails = Recipient(cc_emails).header() | |
|
||
The same rules apply to an email attachment. | ||
|
||
So these component classes should be used where applicable so we can add features at a central location and it be propogated throughout other drivers. They should also do 1 thing and 1 thing only to not break anything with side effects | ||
So these component classes should be used where applicable so we can add features at a central location and it be propagated throughout other drivers. They should also do 1 thing and 1 thing only to not break anything with side effects | ||
|
||
### Registering Drivers | ||
|
||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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