Programming/Comparisons: Difference between revisions
Jump to navigation
Jump to search
Line 52: | Line 52: | ||
! Using Partials | ! Using Partials | ||
| | | | ||
* `<%= render '[partial name]' %> | * `<%= render '[partial name]', param_name: param_value_variable %> | ||
| | | | ||
* <[ | * <[PartialName] ParamName=@ParamValueVariable /> | ||
|- | |- | ||
! Permissions/Authentication | ! Permissions/Authentication | ||
Line 81: | Line 81: | ||
* Defined in /Startup.cs | * Defined in /Startup.cs | ||
* Used as regular parameters in /Data/*.cs | * Used as regular parameters in /Data/*.cs | ||
* Used with `@inject <Class> < | * Used with `@inject <Class> <VariableName>` in /Pages/*.razor | ||
|- | |- | ||
! JS/CSS | ! JS/CSS |
Revision as of 10:26, 9 August 2021
Frameworks
Ruby on Rails and Blazor
Ruby on Rails and Blazor | |||||
---|---|---|---|---|---|
Ruby on Rails | Blazor | ||||
Language | Ruby | C# | |||
Models |
|
| |||
Views |
|
| |||
Controllers |
|
| |||
Routing |
|
| |||
Layout |
|
| |||
Using Partials |
|
| |||
Permissions/Authentication |
|
| |||
Data Services |
|
| |||
Dependency Injection |
|
| |||
JS/CSS |
|
| |||
Asynchronous Calls |
|
| |||
Calling Server Code |
|
|