Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Sukrieh committed Oct 22, 2010
2 parents d70d6f6 + 7f16f2e commit c706288
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 30 deletions.
59 changes: 39 additions & 20 deletions builder/slides.tt
Expand Up @@ -11,7 +11,7 @@ web applications with Perl

===

<h1>What</h1>
<h1>What is Dancer?</h1>

===

Expand All @@ -29,16 +29,16 @@ for Perl
</h3>

===

<h3>
<em>elegant</em> <br>
<em>effective</em> <br>
web framework <br>
for Perl
</h3>

===

<h3>
<em>effective</em> <br>
<em>elegant</em> <br>
web framework <br>
for Perl
</h3>
Expand All @@ -53,7 +53,6 @@ for Perl

===


<h3>
<em>fun</em> <br>
web framework <br>
Expand All @@ -79,7 +78,7 @@ and even more

===

<h1>Why</h1>
<h1>Origins</h1>

===

Expand Down Expand Up @@ -121,7 +120,7 @@ Sinatra (Ruby)

===

<h2>And we dance</h2>
<h2>Dancer</h2>

<pre class="prettyprint">
#!/usr/bin/perl
Expand All @@ -136,7 +135,7 @@ dance;

===

<h1>How</h1>
<h1>How to dance</h1>

===
<h2>Installation</h2>
Expand Down Expand Up @@ -242,6 +241,21 @@ get qr{/([a-z]{2}[\d+])/} => sub {

===

<h2>Configuration</h2>


<pre class="prettyprint">
# in my code
setting 'foo' => 42;

# or in my config.yml
foo: 42

# or in my environments/$ENV.yml
foo: 42
</pre>

===
<h2>filters</h2>

<pre class="prettyprint">
Expand Down Expand Up @@ -269,7 +283,6 @@ get '/' => sub {

<h2>Serializers</h2>


<pre class="prettyprint">
set serializer => 'JSON';

Expand All @@ -292,7 +305,7 @@ use Dancer::Plugin::Database;

get '/user/:id' => sub {
my $id = params->{'id'},
my $user = database->selectall_hashref(
database->selectall_hashref(
"SELECT * from users where id = $id"
);
};
Expand All @@ -308,29 +321,40 @@ get '/user/:id' => sub {

===

<p style="font-size: 26px;">
<p style="font-size: 36px;">
Dancer::Route::<em>Cache</em> Dancer::Template::Simple Dancer::Template::TemplateToolkit
Dancer::Session::YAML Dancer::Test Dancer::Session::Simple Dancer::Plugin::<em>DBIC</em>
Dancer::Plugin::<em>Database</em> Dancer::Template::Tenjin Dancer::Template::HtmlTemplate
Dancer::Template::Alloy Dancer::Template::Ctpp2 Dancer::Template::TemplateSandbox
</p>

===


<p style="font-size: 36px;">
Task::Dancer Dancer::Plugin::<em>Email</em> Dancer::Session::Storable Dancer::Plugin::<em>REST</em>
Dancer::Logger::<em>Syslog</em> Dancer::Template::Tiny Dancer::Plugin::SiteMap Dancer::Template::Haml
Dancer::Template::MicroTemplate Dancer::Template::Xslate Dancer::Session::<em>Memcache</em>
Dancer::Session::Cookie Dancer::Template::Mason Dancer::Plugin::<em>Ajax</em> Dancer::Plugin::Authorize
</p>

===

<p style="font-size: 42px;">
Dancer::Logger::<em>PSGI</em> Dancer::Serializer::XML Dancer::Serializer::Mutable Dancer::Serializer::<em>JSON</em>
Dancer::Cookie Dancer::<em>Serializer</em>::YAML Dancer::Logger::LogHandler Dancer::Session::<em>MongoDB</em>
Dancer::Session::PSGI Dancer::Plugin::Scoped Dancer::Debug
</p>

===

<h1>Who</h1>
<h2>It's a living ecosystem</h2>

===

<p>The move has started</p>
<h1>How trustable</h1>

===
===

<h2>YoolinkPro</h2>

Expand Down Expand Up @@ -358,7 +382,6 @@ Dancer::Session::PSGI Dancer::Plugin::Scoped Dancer::Debug
<li>Enterprise boot and build management
<li>Dancer frontend web engine
<li>Complete REST API
<li>OpenSuse packages
</ul>

===
Expand All @@ -380,11 +403,7 @@ Dancer::Session::PSGI Dancer::Plugin::Scoped Dancer::Debug

===

<h1>When</h1>

===

<h2>Now!</h2>
<h2>Current rlease</h2>

<p>Dancer is already <br />
usable and pretty stable</p>
Expand Down
2 changes: 1 addition & 1 deletion config.yml
Expand Up @@ -15,7 +15,7 @@ broadway:
date: "Oct. 9, 2010"
event: "OSDCfr 2010"
author: "Alexis Sukrieh"
slides: 42
slides: 52
refresh_rate: 600
remote: 0

15 changes: 6 additions & 9 deletions views/layouts/main.tt
Expand Up @@ -32,17 +32,14 @@

<% if is_multi_touch %>
<div id="remote">
REMOTE : <% request.agent %>

<div style="position: absolute; width: 600px; left: 0; bottom: 0; font-size: 60px; background-color: #eee;">
<a href="#" style="color: #000; " onclick="broadway_prev();broadway_refresh(); return(false);">PREV</a>
&nbsp;
<a href="#" style="color: #000;" onclick="broadway_next(); broadway_refresh();return(false);">NEXT</a>
</div>
</div>
<% end %>

<table>
<tr>
<td>
<div style="font-size: 18px;" id="previous_slide">
</div>
</tr>
</table>

</body>
</html>
5 changes: 5 additions & 0 deletions views/slideshow.tt
Expand Up @@ -4,6 +4,7 @@ window.slide = 0;
<% if is_multi_touch %>
window.broadway_effects = 0;

/*
document.addEventListener('touchmove', function(event) {
event.preventDefault();
point_x = event.touches[0].pageX;
Expand All @@ -18,6 +19,8 @@ document.addEventListener('touchmove', function(event) {
broadway_refresh();
}
}, false);
*/


<% else %>

Expand Down Expand Up @@ -45,3 +48,5 @@ window.setInterval(function() {

<div id="slide">
</div>


0 comments on commit c706288

Please sign in to comment.