Slide 1

Slide 1 text

Points of View @rosylilly

Slide 2

Slide 2 text

What’s this?

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

VS

Slide 5

Slide 5 text

What’s this?

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

wow!!

Slide 9

Slide 9 text

What’s this?

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Points of View @rosylilly

Slide 12

Slide 12 text

@rosylilly CTO / Magnet

Slide 13

Slide 13 text

1. Modeling

Slide 14

Slide 14 text

If it walks like a duck and quacks like a duck, it must be a duck

Slide 15

Slide 15 text

QUACK!!!! Duck?

Slide 16

Slide 16 text

Duck Pigeon Border Coo Coo Coo Coo Quack Quack Quack

Slide 17

Slide 17 text

Duck Pigeon If it walks like a *** and flies like a ***, it must be a ***

Slide 18

Slide 18 text

Bird

Slide 19

Slide 19 text

If it be born like a *** and dies like a ***, it must be a ***

Slide 20

Slide 20 text

Living Thing T h e A n y t h i n g G o e s

Slide 21

Slide 21 text

Let’s seek just the right border Coo Coo Coo Coo Flies Walks Eats Runs Dies Be Born Pigeon

Slide 22

Slide 22 text

2. Viewpoint

Slide 23

Slide 23 text

Who are your users?

Slide 24

Slide 24 text

Click Me What happens?

Slide 25

Slide 25 text

Transfer Money Show Logs Show Amounts

Slide 26

Slide 26 text

Transfer Money Show Logs Show Amounts SCARY!!!!

Slide 27

Slide 27 text

Developer User

Slide 28

Slide 28 text

Communication

Slide 29

Slide 29 text

Observation

Slide 30

Slide 30 text

Newbie

Slide 31

Slide 31 text

ProTips: Marriage

Slide 32

Slide 32 text

Third Person

Slide 33

Slide 33 text

First Person

Slide 34

Slide 34 text

3. Interaction

Slide 35

Slide 35 text

Anemic Domain Model ?

Slide 36

Slide 36 text

Hyperemic Domain Model !

Slide 37

Slide 37 text

Pigeon Pigeon

Slide 38

Slide 38 text

Seller Buyer

Slide 39

Slide 39 text

Giver Receiver

Slide 40

Slide 40 text

Speaker Listener

Slide 41

Slide 41 text

User Giver Receiver Seller Buyer Listener Speaker

Slide 42

Slide 42 text

Item Recover Accessory Weapon Protector Helmet Boots

Slide 43

Slide 43 text

Classify and Divide

Slide 44

Slide 44 text

4. Context

Slide 45

Slide 45 text

User Giver Receiver Seller Buyer Listener Speaker

Slide 46

Slide 46 text

Seller Buyer

Slide 47

Slide 47 text

Seller Buyers

Slide 48

Slide 48 text

Buyer Sellers Sellers Sellers Sellers Sellers

Slide 49

Slide 49 text

Look the borders of contexts

Slide 50

Slide 50 text

5. Mental Model

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

(3&&

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

VS Microsoft Apple

Slide 55

Slide 55 text

VS Window Apple

Slide 56

Slide 56 text

6. DCI

Slide 57

Slide 57 text

YOU ARE READY

Slide 58

Slide 58 text

Data

Slide 59

Slide 59 text

Context

Slide 60

Slide 60 text

Interaction

Slide 61

Slide 61 text

7. in REAL WORLD

Slide 62

Slide 62 text

WE ARE READY

Slide 63

Slide 63 text

BluePrint IUUQTHJUIVCDPNNBHOFUJODCMVF@QSJOU

Slide 64

Slide 64 text

class StaffContext < BluePrint::Context active_if do |env| current_user.try(:staff?) end end Context

Slide 65

Slide 65 text

# app/blue_prints/staff_context/staff_user.rb module StaffContext::StaffUser extend BluePrint::Behavior ! def user_name; "staff"; end end ! # app/models/user.rb class User < ActiveRecord::Base def user_name; "#{name} san"; end end ! user = User.new(name: "Magnet") StaffContext.deactivate! user.user_name # => "Magnet san" StaffContext.activate! user.user_name # => "staff" Interaction

Slide 66

Slide 66 text

GOT AXES?