Skip to content

Commit

Permalink
Deploying to gh-pages from @ 0946088 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
sake92 committed Jan 11, 2024
1 parent a5f4c8c commit 9ef6c1c
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 4 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
<li>
<p><a href="philosophy/index.html">Philosophy</a></p>
<ul>
<li><a href="philosophy/alternatives.html">Alternatives</a></li>
<li><a href="philosophy/routes-matching.html">Routes Matching</a></li>
<li><a href="philosophy/query-params-handling.html">Query Params</a></li>
<li><a href="philosophy/dependency-injection.html">Dependency Injection</a></li>
Expand Down
48 changes: 48 additions & 0 deletions philosophy/alternatives.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion philosophy/dependency-injection.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
padding-left: 3em;
font-size: .8em;
}
</style></head><body><div class="hidden-print"><nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"><div class="container-fluid"><a class="navbar-brand" href="../index.html"><span><img src="../images/favicon.svg" alt="logo" width="32" height="32" /></span> Sharaf</a><button type="button" class="navbar-toggler collapsed" data-bs-toggle="collapse" data-bs-target="#main-navbar"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="main-navbar"><ul class="navbar-nav"></ul><ul class="navbar-nav ms-auto"><li class="nav-item"><a href="../tutorials/index.html" class="nav-link">Tutorials</a></li><li class="nav-item"><a href="../howtos/index.html" class="nav-link">How-Tos</a></li><li class="nav-item"><a href="../reference/index.html" class="nav-link">Reference</a></li><li class="nav-item"><a href="index.html" class="active nav-link">Philosophy</a></li></ul></div></div></nav></div><div class="container-fluid"><div class="row"><div class="col-md-3 d-flex justify-content-end hidden-print"><nav class="affix"><ul class="nav nav-pills flex-column"><li><a href="index.html" class="nav-link ">Philosophy</a></li><li><a href="routes-matching.html" class="nav-link ">Routes Matching</a></li><li><a href="query-params-handling.html" class="nav-link ">Query Params</a></li><li><a href="dependency-injection.html" class="nav-link active">Dependency Injection</a></li></ul></nav></div><div data-bs-spy="scroll" data-bs-target="#tocScrollspy" class="col-md-6"><div class="hidden-print"></div><nav><ul class="pagination justify-content-center"><li title="Query Params" class="page-item"><a href="query-params-handling.html" class="page-link">Previous</a></li><li class="disabled page-item"><a href="#" class="page-link">Next</a></li></ul></nav><div><section id="do-you-even-dependency-injection"><h2>Do you even Dependency Injection?</h2><p>Not in a classical / &quot;dependency container&quot; / Spring / JEE style.</p>
</style></head><body><div class="hidden-print"><nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"><div class="container-fluid"><a class="navbar-brand" href="../index.html"><span><img src="../images/favicon.svg" alt="logo" width="32" height="32" /></span> Sharaf</a><button type="button" class="navbar-toggler collapsed" data-bs-toggle="collapse" data-bs-target="#main-navbar"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="main-navbar"><ul class="navbar-nav"></ul><ul class="navbar-nav ms-auto"><li class="nav-item"><a href="../tutorials/index.html" class="nav-link">Tutorials</a></li><li class="nav-item"><a href="../howtos/index.html" class="nav-link">How-Tos</a></li><li class="nav-item"><a href="../reference/index.html" class="nav-link">Reference</a></li><li class="nav-item"><a href="index.html" class="active nav-link">Philosophy</a></li></ul></div></div></nav></div><div class="container-fluid"><div class="row"><div class="col-md-3 d-flex justify-content-end hidden-print"><nav class="affix"><ul class="nav nav-pills flex-column"><li><a href="index.html" class="nav-link ">Philosophy</a></li><li><a href="alternatives.html" class="nav-link ">Alternatives</a></li><li><a href="routes-matching.html" class="nav-link ">Routes Matching</a></li><li><a href="query-params-handling.html" class="nav-link ">Query Params</a></li><li><a href="dependency-injection.html" class="nav-link active">Dependency Injection</a></li></ul></nav></div><div data-bs-spy="scroll" data-bs-target="#tocScrollspy" class="col-md-6"><div class="hidden-print"></div><nav><ul class="pagination justify-content-center"><li title="Query Params" class="page-item"><a href="query-params-handling.html" class="page-link">Previous</a></li><li class="disabled page-item"><a href="#" class="page-link">Next</a></li></ul></nav><div><section id="do-you-even-dependency-injection"><h2>Do you even Dependency Injection?</h2><p>Not in a classical / &quot;dependency container&quot; / Spring / JEE style.</p>
<p>Not in a purely-functional-monadic style.</p>
<p>Yes in a direct, context functions (implicit functions) scala 3 style.<br />
If you ever used PlayFramework, Slick 2 and similar you might be used to this pattern:</p>
Expand Down
2 changes: 1 addition & 1 deletion philosophy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
padding-left: 3em;
font-size: .8em;
}
</style></head><body><div class="hidden-print"><nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"><div class="container-fluid"><a class="navbar-brand" href="../index.html"><span><img src="../images/favicon.svg" alt="logo" width="32" height="32" /></span> Sharaf</a><button type="button" class="navbar-toggler collapsed" data-bs-toggle="collapse" data-bs-target="#main-navbar"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="main-navbar"><ul class="navbar-nav"></ul><ul class="navbar-nav ms-auto"><li class="nav-item"><a href="../tutorials/index.html" class="nav-link">Tutorials</a></li><li class="nav-item"><a href="../howtos/index.html" class="nav-link">How-Tos</a></li><li class="nav-item"><a href="../reference/index.html" class="nav-link">Reference</a></li><li class="nav-item"><a href="index.html" class="active nav-link">Philosophy</a></li></ul></div></div></nav></div><div class="container-fluid"><div class="row"><div class="col-md-3 d-flex justify-content-end hidden-print"><nav class="affix"><ul class="nav nav-pills flex-column"><li><a href="index.html" class="nav-link active">Philosophy</a></li><li><a href="routes-matching.html" class="nav-link ">Routes Matching</a></li><li><a href="query-params-handling.html" class="nav-link ">Query Params</a></li><li><a href="dependency-injection.html" class="nav-link ">Dependency Injection</a></li></ul></nav></div><div data-bs-spy="scroll" data-bs-target="#tocScrollspy" class="col-md-6"><div class="hidden-print"></div><nav><ul class="pagination justify-content-center"><li class="disabled page-item"><a href="#" class="page-link">Previous</a></li><li title="Routes Matching" class="page-item"><a href="routes-matching.html" class="page-link">Next</a></li></ul></nav><div><section id="why-sharaf"><h2>Why Sharaf?</h2><p>Simplicity and ease of use is the main focus of Sharaf.</p>
</style></head><body><div class="hidden-print"><nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"><div class="container-fluid"><a class="navbar-brand" href="../index.html"><span><img src="../images/favicon.svg" alt="logo" width="32" height="32" /></span> Sharaf</a><button type="button" class="navbar-toggler collapsed" data-bs-toggle="collapse" data-bs-target="#main-navbar"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="main-navbar"><ul class="navbar-nav"></ul><ul class="navbar-nav ms-auto"><li class="nav-item"><a href="../tutorials/index.html" class="nav-link">Tutorials</a></li><li class="nav-item"><a href="../howtos/index.html" class="nav-link">How-Tos</a></li><li class="nav-item"><a href="../reference/index.html" class="nav-link">Reference</a></li><li class="nav-item"><a href="index.html" class="active nav-link">Philosophy</a></li></ul></div></div></nav></div><div class="container-fluid"><div class="row"><div class="col-md-3 d-flex justify-content-end hidden-print"><nav class="affix"><ul class="nav nav-pills flex-column"><li><a href="index.html" class="nav-link active">Philosophy</a></li><li><a href="alternatives.html" class="nav-link ">Alternatives</a></li><li><a href="routes-matching.html" class="nav-link ">Routes Matching</a></li><li><a href="query-params-handling.html" class="nav-link ">Query Params</a></li><li><a href="dependency-injection.html" class="nav-link ">Dependency Injection</a></li></ul></nav></div><div data-bs-spy="scroll" data-bs-target="#tocScrollspy" class="col-md-6"><div class="hidden-print"></div><nav><ul class="pagination justify-content-center"><li class="disabled page-item"><a href="#" class="page-link">Previous</a></li><li title="Alternatives" class="page-item"><a href="alternatives.html" class="page-link">Next</a></li></ul></nav><div><section id="why-sharaf"><h2>Why Sharaf?</h2><p>Simplicity and ease of use is the main focus of Sharaf.</p>
<p>It is built on top of <a href="https://undertow.io/">Undertow</a>.<br />
This means you can use awesome libraries built for Undertow, like <a href="https://github.com/pac4j/undertow-pac4j">pac4j</a> for security and others.<br />
You can leverage Undertow's lower level API, e.g. for WebSockets.</p>
Expand Down
2 changes: 1 addition & 1 deletion philosophy/query-params-handling.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
padding-left: 3em;
font-size: .8em;
}
</style></head><body><div class="hidden-print"><nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"><div class="container-fluid"><a class="navbar-brand" href="../index.html"><span><img src="../images/favicon.svg" alt="logo" width="32" height="32" /></span> Sharaf</a><button type="button" class="navbar-toggler collapsed" data-bs-toggle="collapse" data-bs-target="#main-navbar"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="main-navbar"><ul class="navbar-nav"></ul><ul class="navbar-nav ms-auto"><li class="nav-item"><a href="../tutorials/index.html" class="nav-link">Tutorials</a></li><li class="nav-item"><a href="../howtos/index.html" class="nav-link">How-Tos</a></li><li class="nav-item"><a href="../reference/index.html" class="nav-link">Reference</a></li><li class="nav-item"><a href="index.html" class="active nav-link">Philosophy</a></li></ul></div></div></nav></div><div class="container-fluid"><div class="row"><div class="col-md-3 d-flex justify-content-end hidden-print"><nav class="affix"><ul class="nav nav-pills flex-column"><li><a href="index.html" class="nav-link ">Philosophy</a></li><li><a href="routes-matching.html" class="nav-link ">Routes Matching</a></li><li><a href="query-params-handling.html" class="nav-link active">Query Params</a></li><li><a href="dependency-injection.html" class="nav-link ">Dependency Injection</a></li></ul></nav></div><div data-bs-spy="scroll" data-bs-target="#tocScrollspy" class="col-md-6"><div class="hidden-print"></div><nav><ul class="pagination justify-content-center"><li title="Routes Matching" class="page-item"><a href="routes-matching.html" class="page-link">Previous</a></li><li title="Dependency Injection" class="page-item"><a href="dependency-injection.html" class="page-link">Next</a></li></ul></nav><div><section id="query-params-handling-design"><h2>Query params handling design</h2><p>Web frameworks do handle query params with various mechanisms:</p>
</style></head><body><div class="hidden-print"><nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"><div class="container-fluid"><a class="navbar-brand" href="../index.html"><span><img src="../images/favicon.svg" alt="logo" width="32" height="32" /></span> Sharaf</a><button type="button" class="navbar-toggler collapsed" data-bs-toggle="collapse" data-bs-target="#main-navbar"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="main-navbar"><ul class="navbar-nav"></ul><ul class="navbar-nav ms-auto"><li class="nav-item"><a href="../tutorials/index.html" class="nav-link">Tutorials</a></li><li class="nav-item"><a href="../howtos/index.html" class="nav-link">How-Tos</a></li><li class="nav-item"><a href="../reference/index.html" class="nav-link">Reference</a></li><li class="nav-item"><a href="index.html" class="active nav-link">Philosophy</a></li></ul></div></div></nav></div><div class="container-fluid"><div class="row"><div class="col-md-3 d-flex justify-content-end hidden-print"><nav class="affix"><ul class="nav nav-pills flex-column"><li><a href="index.html" class="nav-link ">Philosophy</a></li><li><a href="alternatives.html" class="nav-link ">Alternatives</a></li><li><a href="routes-matching.html" class="nav-link ">Routes Matching</a></li><li><a href="query-params-handling.html" class="nav-link active">Query Params</a></li><li><a href="dependency-injection.html" class="nav-link ">Dependency Injection</a></li></ul></nav></div><div data-bs-spy="scroll" data-bs-target="#tocScrollspy" class="col-md-6"><div class="hidden-print"></div><nav><ul class="pagination justify-content-center"><li title="Routes Matching" class="page-item"><a href="routes-matching.html" class="page-link">Previous</a></li><li title="Dependency Injection" class="page-item"><a href="dependency-injection.html" class="page-link">Next</a></li></ul></nav><div><section id="query-params-handling-design"><h2>Query params handling design</h2><p>Web frameworks do handle query params with various mechanisms:</p>
<ul>
<li>annotation + method param: <a href="https://spring.io/guides/tutorials/rest/">Spring</a> and most other popular Java frameworks, <a href="https://com-lihaoyi.github.io/cask/">Cask</a> etc</li>
<li>special route file DSL: <a href="https://www.playframework.com/documentation/2.9.x/ScalaRouting#The-routes-file-syntax">PlayFramework</a>, Ruby on Rails</li>
Expand Down
2 changes: 1 addition & 1 deletion philosophy/routes-matching.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
padding-left: 3em;
font-size: .8em;
}
</style></head><body><div class="hidden-print"><nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"><div class="container-fluid"><a class="navbar-brand" href="../index.html"><span><img src="../images/favicon.svg" alt="logo" width="32" height="32" /></span> Sharaf</a><button type="button" class="navbar-toggler collapsed" data-bs-toggle="collapse" data-bs-target="#main-navbar"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="main-navbar"><ul class="navbar-nav"></ul><ul class="navbar-nav ms-auto"><li class="nav-item"><a href="../tutorials/index.html" class="nav-link">Tutorials</a></li><li class="nav-item"><a href="../howtos/index.html" class="nav-link">How-Tos</a></li><li class="nav-item"><a href="../reference/index.html" class="nav-link">Reference</a></li><li class="nav-item"><a href="index.html" class="active nav-link">Philosophy</a></li></ul></div></div></nav></div><div class="container-fluid"><div class="row"><div class="col-md-3 d-flex justify-content-end hidden-print"><nav class="affix"><ul class="nav nav-pills flex-column"><li><a href="index.html" class="nav-link ">Philosophy</a></li><li><a href="routes-matching.html" class="nav-link active">Routes Matching</a></li><li><a href="query-params-handling.html" class="nav-link ">Query Params</a></li><li><a href="dependency-injection.html" class="nav-link ">Dependency Injection</a></li></ul></nav></div><div data-bs-spy="scroll" data-bs-target="#tocScrollspy" class="col-md-6"><div class="hidden-print"></div><nav><ul class="pagination justify-content-center"><li title="Philosophy" class="page-item"><a href="index.html" class="page-link">Previous</a></li><li title="Query Params" class="page-item"><a href="query-params-handling.html" class="page-link">Next</a></li></ul></nav><div><section id="routes-matching-design"><h2>Routes matching design</h2><p>Web frameworks do their routes matching with various mechanisms:</p>
</style></head><body><div class="hidden-print"><nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"><div class="container-fluid"><a class="navbar-brand" href="../index.html"><span><img src="../images/favicon.svg" alt="logo" width="32" height="32" /></span> Sharaf</a><button type="button" class="navbar-toggler collapsed" data-bs-toggle="collapse" data-bs-target="#main-navbar"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="main-navbar"><ul class="navbar-nav"></ul><ul class="navbar-nav ms-auto"><li class="nav-item"><a href="../tutorials/index.html" class="nav-link">Tutorials</a></li><li class="nav-item"><a href="../howtos/index.html" class="nav-link">How-Tos</a></li><li class="nav-item"><a href="../reference/index.html" class="nav-link">Reference</a></li><li class="nav-item"><a href="index.html" class="active nav-link">Philosophy</a></li></ul></div></div></nav></div><div class="container-fluid"><div class="row"><div class="col-md-3 d-flex justify-content-end hidden-print"><nav class="affix"><ul class="nav nav-pills flex-column"><li><a href="index.html" class="nav-link ">Philosophy</a></li><li><a href="alternatives.html" class="nav-link ">Alternatives</a></li><li><a href="routes-matching.html" class="nav-link active">Routes Matching</a></li><li><a href="query-params-handling.html" class="nav-link ">Query Params</a></li><li><a href="dependency-injection.html" class="nav-link ">Dependency Injection</a></li></ul></nav></div><div data-bs-spy="scroll" data-bs-target="#tocScrollspy" class="col-md-6"><div class="hidden-print"></div><nav><ul class="pagination justify-content-center"><li title="Alternatives" class="page-item"><a href="alternatives.html" class="page-link">Previous</a></li><li title="Query Params" class="page-item"><a href="query-params-handling.html" class="page-link">Next</a></li></ul></nav><div><section id="routes-matching-design"><h2>Routes matching design</h2><p>Web frameworks do their routes matching with various mechanisms:</p>
<ul>
<li>annotation + method param: <a href="https://spring.io/guides/tutorials/rest/">Spring</a> and most other popular Java frameworks, <a href="https://com-lihaoyi.github.io/cask/">Cask</a> etc</li>
<li>special route file DSL: <a href="https://www.playframework.com/documentation/2.9.x/ScalaRouting#The-routes-file-syntax">PlayFramework</a>, Ruby on Rails</li>
Expand Down

0 comments on commit 9ef6c1c

Please sign in to comment.