2424 li #[ a( href ="https://dry-python.org/" ) dry-python.org ]
2525 li Django Channels 1.0
2626 li 5 years of experience in Python
27- section( data-background-image =require (" ./pics/startup-process.png" ) data-background-size ="contain" data-background-color ="#2E677B" )
28- section( data-background-image =require (" ./pics/long-function.jpg" ) data-background-size ="contain" )
27+ section( data-background-image =require (" ./pics/startup-process.png" ). default data-background-size ="contain" data-background-color ="#2E677B" )
28+ section( data-background-image =require (" ./pics/long-function.jpg" ). default data-background-size ="contain" )
2929 section
3030 h2 pros
3131 ol
3434 ol
3535 li.fragment Really hard to change
3636 li.fragment We can not see the whole picture
37- section( data-background-image =require (" ./pics/trello-issue.png" ) data-background-size ="contain" data-background-color ="#002B45" )
37+ section( data-background-image =require (" ./pics/trello-issue.png" ). default data-background-size ="contain" data-background-color ="#002B45" )
3838 section
3939 h2 Implicit API
4040 pre
7272 li.fragment Python vs. Go
7373 li.fragment Emacs vs. Vim
7474 li.fragment Tabs vs. Spaces
75- section( data-background-image =require (" ./pics/eric-evans.jpg" ) data-background-size ="contain" data-background-position ="left" data-background-color ="#000000" )
75+ section( data-background-image =require (" ./pics/eric-evans.jpg" ). default data-background-size ="contain" data-background-position ="left" data-background-color ="#000000" )
7676 section
77- img( src =require (" ./pics/domain-driven-design.jpg" )) .plain
77+ img( src =require (" ./pics/domain-driven-design.jpg" ). default ) .plain
7878 section
7979 h2 What is the domain-driven design?
8080 p.fragment Focus on the core complexity and opportunity in the domain
8181 p.fragment Explore models in a collaboration of domain experts and software experts
8282 p.fragment Write software that expresses those models explicitly
8383 p.fragment Speak #[ b ubiquitous language] within a #[ b bounded context]
84- section( data-background-image =require (" ./pics/ddd-schema.jpg" ) data-background-size ="contain" )
85- section( data-background-image =require (" ./pics/ddd-schema-models-selected.jpg" ) data-background-size ="contain" )
84+ section( data-background-image =require (" ./pics/ddd-schema.jpg" ). default data-background-size ="contain" )
85+ section( data-background-image =require (" ./pics/ddd-schema-models-selected.jpg" ). default data-background-size ="contain" )
8686 section
8787 h2 What is a model?
8888 p.fragment #[ b HINT:] Not a UML diagram
9292 a( href ="https://dry-python.org/" ) dry-python
9393 p A set of libraries for pluggable business logic components.
9494 img( src ="https://raw.githubusercontent.com/dry-python/brand/master/logo/dry-python.png" ) .plain
95- section( data-background-image =require (" ./pics/ddd-schema-services-selected.jpg" ) data-background-size ="contain" )
95+ section( data-background-image =require (" ./pics/ddd-schema-services-selected.jpg" ). default data-background-size ="contain" )
9696 section
9797 img( src ="https://raw.githubusercontent.com/dry-python/brand/master/logo/stories.png" ) .plain
9898 p Define a user story in the business transaction DSL.
170170 li.fragment Each step knows nothing about a neighbor
171171 li.fragment Easy reuse of code
172172 li.fragment Allows to instrument code easily
173- section( data-background-image =require (" ./pics/debug-toolbar.png" ) data-background-size ="contain" )
173+ section( data-background-image =require (" ./pics/debug-toolbar.png" ). default data-background-size ="contain" )
174174 h2 DEBUG TOOLBAR
175175 br
176176 br
@@ -182,21 +182,21 @@ html
182182 br
183183 br
184184 br
185- section( data-background-image =require (" ./pics/pytest.png" ) data-background-size ="contain" )
185+ section( data-background-image =require (" ./pics/pytest.png" ). default data-background-size ="contain" )
186186 h2( style ="color: white" ) py.test
187- section( data-background-image =require (" ./pics/sentry.png" ) data-background-size ="contain" )
187+ section( data-background-image =require (" ./pics/sentry.png" ). default data-background-size ="contain" )
188188 h2 Sentry
189- section( data-background-image =require (" ./pics/elk-logs-ui.gif" ) data-background-size ="contain" )
189+ section( data-background-image =require (" ./pics/elk-logs-ui.gif" ). default data-background-size ="contain" )
190190 h2 ELK
191- section( data-background-image =require (" ./pics/ddd-schema-entities-selected.jpg" ) data-background-size ="contain" )
191+ section( data-background-image =require (" ./pics/ddd-schema-entities-selected.jpg" ). default data-background-size ="contain" )
192192 section
193- img( src =require (" ./pics/postgresql.png" ) height ="150" style =" padding-right: 70px;" ) .plain
194- img( src =require (" ./pics/firebase.png" ) height ="150" style =" padding-right: 70px;" ) .plain
193+ img( src =require (" ./pics/postgresql.png" ). default height ="150" style =" padding-right: 70px;" ) .plain
194+ img( src =require (" ./pics/firebase.png" ). default height ="150" style =" padding-right: 70px;" ) .plain
195195 ul
196196 li.fragment We do not have the tooling to work with data
197197 li.fragment There are no data contracts written in code
198198 section
199- img( src =require (" ./pics/attrs.png" )) .plain
199+ img( src =require (" ./pics/attrs.png" ). default ) .plain
200200 section
201201 h2 Layout
202202 pre
253253 h2.fragment cons
254254 ol
255255 li.fragment Working with data sources manually
256- section( data-background-image =require (" ./pics/ddd-schema-repositories-selected.jpg" ) data-background-size ="contain" )
256+ section( data-background-image =require (" ./pics/ddd-schema-repositories-selected.jpg" ). default data-background-size ="contain" )
257257 section
258258 img( src ="https://raw.githubusercontent.com/dry-python/brand/master/logo/mappers.png" ) .plain
259259 p Declarative mappers from ORM models to domain entities. And back again!
320320 }
321321 """, {"id": id}))
322322 section
323- img( src =require (" ./pics/pusher.png" )) .plain
323+ img( src =require (" ./pics/pusher.png" ). default ) .plain
324324 section
325325 h2 How we use third-party libraries
326326 pre
339339 "private-user-1"
340340 )
341341 section
342- img( src =require (" ./pics/ably.png" )) .plain
342+ img( src =require (" ./pics/ably.png" ). default ) .plain
343343 section
344344 h2 How to use it with DI
345345 pre
392392 load_profile = app.repositories.load_profile
393393
394394 MakePurchase.make_purchase(category_id=1, price_id=1)
395- section( data-background-image =require (" ./pics/keep-calm-and-ddd.png" ) data-background-size ="contain" data-background-color ="#C10C06" )
395+ section( data-background-image =require (" ./pics/keep-calm-and-ddd.png" ). default data-background-size ="contain" data-background-color ="#C10C06" )
396396 section
397397 h2 Get in touch
398398 ul
0 commit comments