Skip to content

Commit 2d25ce8

Browse files
author
dry-python-bot
committed
Synchronized build
1 parent 2e067b7 commit 2d25ce8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

static/slides/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="description" content="Dry-Python"><meta name="author" content="Artem Malyshev"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>Readability matters</title><link href="slides.css" rel="stylesheet"></head><body><div class="reveal"><div class="slides"><section><h1><a href="https://dry-python.org/">dry-python.org</a></h1><h2>Making architecture matter</h2><h4>Artem Malyshev</h4></section><section><h2>BIO</h2><ul><li>5 years experience in Python</li><li>Django Channels 1.0</li><li>Dry Python</li></ul></section><section><h2>Code is...</h2><p class="fragment"><b>hard</b></p><p class="fragment"><b>and frustrating</b></p><ol><li class="fragment">Framework independent</li><li class="fragment">Let's consider WEB for simplicity</li></ol></section><section data-background-image="aff5c485c382439a300952a1903aa1b7.jpg" data-background-size="contain"><h2 style="color: white; background-color: black">Startup</h2><br><br><br><br><br><br><br><br></section><section><h2>Micro framework</h2><ol><li class="fragment">Long handlers</li><li class="fragment">Lots of "if" statements</li></ol></section><section><h2>Long handlers</h2><pre><code class="python"> 85 @app.route('/subscriptions/')
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="description" content="Dry-Python"><meta name="author" content="Artem Malyshev"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>Making architecture matter</title><link href="slides.css" rel="stylesheet"></head><body><div class="reveal"><div class="slides"><section><h1><a href="https://dry-python.org/">dry-python.org</a></h1><h2>Making architecture matter</h2><h4>Artem Malyshev</h4></section><section><h2>BIO</h2><ul><li>5 years experience in Python</li><li>Django Channels 1.0</li><li>Dry Python</li></ul></section><section><h2>Code is...</h2><p class="fragment"><b>hard</b></p><p class="fragment"><b>and frustrating</b></p><ol><li class="fragment">Framework independent</li><li class="fragment">Let's consider WEB for simplicity</li></ol></section><section data-background-image="aff5c485c382439a300952a1903aa1b7.jpg" data-background-size="contain"><h2 style="color: white; background-color: black">Startup</h2><br><br><br><br><br><br><br><br></section><section><h2>Micro framework</h2><ol><li class="fragment">Long handlers</li><li class="fragment">Lots of "if" statements</li></ol></section><section><h2>Long handlers</h2><pre><code class="python"> 85 @app.route('/subscriptions/')
22
86 def buy_subscription(page):
33
...
44
121 if props[-1].endswith('$'):
@@ -31,7 +31,7 @@
3131
subscription = create_subscription(
3232
profile, category, expires)
3333
notification = send_notification(
34-
"subscription", profile, category.name)</code></pre></section><section><h2>Dry Python</h2><p>It is a set of libraries aimed to improve architecture and code design</p><img class="plain" src="https://raw.githubusercontent.com/dry-python/brand/master/logo/dry-python.png"></section><section><img class="plain" src="https://raw.githubusercontent.com/dry-python/brand/master/logo/stories.png"><pre><code class="python">from stories import story, argument
34+
"subscription", profile, category.name)</code></pre></section><section><h2>Dry Python</h2><p>A set of libraries for pluggable business logic components.</p><img class="plain" src="https://raw.githubusercontent.com/dry-python/brand/master/logo/dry-python.png"></section><section><img class="plain" src="https://raw.githubusercontent.com/dry-python/brand/master/logo/stories.png"><pre><code class="python">from stories import story, argument
3535

3636
class Subscription:
3737
@story

0 commit comments

Comments
 (0)