Skip to content

Commit

Permalink
resizing and more refinements.
Browse files Browse the repository at this point in the history
  • Loading branch information
bigH committed Aug 3, 2014
1 parent 36843c3 commit 0bdf256
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 31 deletions.
Binary file modified img/cook.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/daftfistbump.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 46 additions & 31 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,26 +58,25 @@
<div class="reveal">
<div class="slides">
<section>
<section>
<h2>Who am I?</h2>
</section>
<section>
<h2>Hiren Hiranandani</h2>
<h5>github: @bigH</h5>
<h5>twitter: @hhiranan</h5>
</section>
<section>
<img class="fragment" src="img/quake.gif">
<img class="fragment" height="500" width="900" src="img/guitar.gif">
</section>
<section>
<img class="fragment" src="img/guitar.gif">
<img class="fragment" src="img/haskell.jpg">
</section>
<section>
<img class="fragment" src="img/haskell.jpg">
<img class="fragment" height="500" width="900" src="img/cook.gif">
</section>
<section>
<img class="fragment" src="img/cook.gif">
<img class="fragment" height="500" width="900" src="img/quake.gif">
</section>
<section>
<img class="fragment" src="img/screensaver.gif">
<img class="fragment" height="500" width="900" src="img/screensaver.gif">
</section>
<section>
<div class="logo_container fragment" style="margin-bottom: 50px;">
Expand All @@ -101,10 +100,19 @@ <h2 style="margin-bottom: 50px;">&quot;Scala Guy&quot;</h2>
</section>
</section>

<section>
<div class="left">
<h1 style="margin-bottom: 50px; color: #cff;"><em>Play Framework<br/>Constructs:</em></h1>
<h3 style="margin-bottom: 50px;">Func-tastic ways of Slicing &amp; Dicing Play</h3>
<h5 class="right">by <em style="color:#8ff">Hiren Hiranandani</em></h5>
</div>
</section>

<section>
<section>
<h2 style="margin-bottom: 50px;">Terminology</h2>
<h5 class="fragment" style="margin-bottom: 50px;">Shamelessly &quot;borrowed&quot; from <em>@tef</em></h2>
<h5 class="fragment" style="margin-bottom: 20px;">Shamelessly &quot;borrowed&quot; from <em>@tef</em></h2>
<h5 class="fragment" style="margin-bottom: 50px;">Commonly used in the Functional Programming world</h2>
<ul>
<li class="fragment">Simple - it solves my use case</li>
<li class="fragment">Elegant - the only use case is making me feel smart</li>
Expand All @@ -114,14 +122,6 @@ <h5 class="fragment" style="margin-bottom: 50px;">Shamelessly &quot;borrowed&quo
</section>
</section>

<section>
<div class="left">
<h1 style="margin-bottom: 50px; color: #cff;"><em>Play Framework<br/>Constructs:</em></h1>
<h3 style="margin-bottom: 50px;">Func-tastic ways of Slicing &amp; Dicing Play</h3>
<h5 class="right">by <em style="color:#8ff">Hiren Hiranandani</em></h5>
</div>
</section>

<section>
<section>
<h2>What is Play Framework?</h2>
Expand All @@ -137,21 +137,21 @@ <h2 style="margin-bottom: 50px;">Web Frameworks</h2>
</ul>
</section>
<section>
<img src="img/facepalm.gif">
<img height="500" width="900" src="img/facepalm.gif">
</section>
<section>
<h2 style="margin-bottom: 50px;">Then Came Scala</h2>
<p class="fragment">
.. and Lift<br/>
<img src="img/shrug.gif">
<img height="400" width="900" src="img/shrug.gif">
</p>
</section>
<section>
<h2 style="margin-bottom: 50px;">About Lift</h2>
<ul>
<li class="fragment">Novel in Many Ways</li>
<li class="fragment">Painful in Many Ways</li>
<li class="fragment">Cool as F***!</li>
<li class="fragment">Focus on Community was Lacking</li>
</ul>
</section>
<section>
Expand Down Expand Up @@ -191,7 +191,7 @@ <h2 style="margin-bottom: 50px;">Creating a New App</h2>
</section>
<section>
<h2 style="margin-bottom: 50px;">App Complete!</h2>
<img class="fragment" src="img/shipeh.gif">
<img class="fragment" height="400" width="900" src="img/shipeh.gif">
</section>
<section>
<h2 style="margin-bottom: 50px;">Details</h2>
Expand All @@ -211,7 +211,7 @@ <h2 style="margin-bottom: 50px;">Out of the Box You Get...</h2>
</section>
<section>
<h2 style="margin-bottom: 50px;">Play == Win</h2>
<img class="fragment" src="img/win.gif">
<img class="fragment" height="500" width="700" src="img/win.gif">
</section>
</section>

Expand Down Expand Up @@ -279,7 +279,7 @@ <h2 style="margin-bottom: 50px;">Bigger Layouts</h2>
</code></pre>
</section>
<section>
<img class="fragment" src="img/dunk.gif">
<img class="fragment" height="500" width="700" src="img/dunk.gif">
</section>
</section>

Expand All @@ -303,7 +303,7 @@ <h2 style="margin-bottom: 50px;">Some Definitions</h2>
</section>
<section>
<h2 style="margin-bottom: 50px;">Can't Get it Dirty</h2>
<img class="fragment" src="img/clean.gif">
<img class="fragment" height="500" width="600" src="img/clean.gif">
</section>
<section>
<h2 style="margin-bottom: 50px;">Usage: Timer</h2>
Expand Down Expand Up @@ -342,7 +342,7 @@ <h2 style="margin-bottom: 50px;">Usage: AwesomeFilter</h2>
</code></pre>
</section>
<section>
<img class="fragment" src="img/carlton.gif">
<img class="fragment" height="500" width="700" src="img/carlton.gif">
</section>
</section>

Expand All @@ -352,7 +352,7 @@ <h2 style="margin-bottom: 50px;">Application as a Function</h2>
<h3>Seeing Everything as a Function</h3>
</section>
<section>
<img class="fragment" src="img/matrix.gif">
<img class="fragment" height="400" width="900" src="img/matrix.gif">
</section>
<section>
<h2 style="margin-bottom: 50px;">The Premise</h2>
Expand All @@ -372,17 +372,20 @@ <h2 style="margin-bottom: 50px;">How It's Done</h2>
var configuration = Configuration.current
</code></pre>
<pre class="fragment"><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
def service: Dependencies => (Request => Response)
def service: Dependencies => (Request => Response) = ???
</code></pre>
<pre class="fragment"><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
def applicationBuilder = Dependencies.apply andThen service
</code></pre>
<pre class="fragment"><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
def application = Dependencies.apply andThen service
def application = applicationBuilder(configuration)
</code></pre>
<pre class="fragment"><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
def action(request: Request) = application(request)
</code></pre>
</section>
<section>
<img class="fragment" src="img/stewart-win.gif">
<img class="fragment" height="500" width="600" src="img/stewart-win.gif">
</section>
</section>

Expand Down Expand Up @@ -412,6 +415,18 @@ <h2 style="margin-bottom: 50px;">Well Known Monads</h2>
</section>
<section>
<h2 style="margin-bottom: 50px;">The Reader Monad</h2>
<ul>
<li class="fragment">Analogous to Functions: <code>Reader[A, B]</code> = <code>A => B</code></li>
<li class="fragment">Better Composition
<ul>
<li class="fragment"><code>Reader[Config, Database] zip Reader[Config, System]</code> = <code>Reader[Config, (Database, System)]</code></li>
<li class="fragment">Pass...</li>
</ul>
</li>
</ul>
</section>
<section>
<img class="fragment" height="500" width="800" src="img/daftfistbump.gif">
</section>
</section>

Expand All @@ -430,13 +445,13 @@ <h2 style="margin-bottom: 50px;">Remember...</h2>
</ul>
</section>
<section>
<img class="fragment" src="img/willsmithdance.gif">
<img class="fragment" height="500" width="700" src="img/willsmithdance.gif">
</section>
</section>

<section>
<section>
<img class="fragment" src="img/end.gif">
<img class="fragment" height="500" width="800" src="img/end.gif">
</section>
<section>
<img class="fragment" src="img/qna.gif">
Expand Down

0 comments on commit 0bdf256

Please sign in to comment.