Slide 1

Slide 1 text

PHP BLT #4 2016-04-21 @suzuki

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

By the way,

Slide 7

Slide 7 text

do

Slide 8

Slide 8 text

you

Slide 9

Slide 9 text

know

Slide 10

Slide 10 text

ITS ?

Slide 11

Slide 11 text

ITS is 
 health insurance association

Slide 12

Slide 12 text

However,

Slide 13

Slide 13 text

ITS is famous for

Slide 14

Slide 14 text

But, this is not at all

Slide 15

Slide 15 text

ITS Travel Pack ✈

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

28,800 - 10,000 = 18,800

Slide 19

Slide 19 text

include Flight and Hotel

Slide 20

Slide 20 text

Very reasonable !

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

We can use twice per year

Slide 23

Slide 23 text

How to book

Slide 24

Slide 24 text

1. Search a tour

Slide 25

Slide 25 text

2. Download a form

Slide 26

Slide 26 text

3. Print a form

Slide 27

Slide 27 text

4. Write a form https://www.flickr.com/photos/kpwerker/2635694952/

Slide 28

Slide 28 text

5. Send a form by FAX https://www.flickr.com/photos/yortw/5511259393/

Slide 29

Slide 29 text

There are many process in this booking.

Slide 30

Slide 30 text

Especially,
 the handwriting is feel bad

Slide 31

Slide 31 text

If you applied twice in year, you will handwrite twice

Slide 32

Slide 32 text

Remember

Slide 33

Slide 33 text

The engineers never write the same code twice

Slide 34

Slide 34 text

So, the Right PHP engineers
 will use…

Slide 35

Slide 35 text

use Its\TravelPack; $travelPack = new TravelPack(); $travelPack->reserve();

Slide 36

Slide 36 text

How to use.

Slide 37

Slide 37 text

1. Git clone https://github.com/suzuki/its-travel-pack

Slide 38

Slide 38 text

2. Write YAML data

Slide 39

Slide 39 text

3. Execute command

Slide 40

Slide 40 text

4. Exported PDF

Slide 41

Slide 41 text

5. Send FAX

Slide 42

Slide 42 text

Congratulation !

Slide 43

Slide 43 text

But,

Slide 44

Slide 44 text

I could not take a ticket
 to Fukuoka in this way.

Slide 45

Slide 45 text

The hotels are full booked I'm joining a waiting list now

Slide 46

Slide 46 text

Will really I can go to Fukuoka?

Slide 47

Slide 47 text

Conclusion • The engineers never write the same text twice by handwriting. • Use PHP script to book the ITS Travel Pack.

Slide 48

Slide 48 text

TODO • Web App • Use PamFax API

Slide 49

Slide 49 text

Next,

Slide 50

Slide 50 text

2016-07-16 Sat

Slide 51

Slide 51 text

Thank you

Slide 52

Slide 52 text

Appendix • Source Code • https://github.com/suzuki/its-travel-pack • PHP Conference Fukuoka 2016 • http://phpcon.fukuoka.jp/ • PHP Conference Kansai 2016 • http://conference.kphpug.jp/2016/ • PamFax • https://portal.pamfax.biz/ • Photos • https://www.flickr.com/photos/kpwerker/2635694952/ • https://www.flickr.com/photos/yortw/5511259393/