Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PHP BLT #4

PHP BLT #4

LT slide of PHP BLT #4

Norio Suzuki

April 21, 2016
Tweet

More Decks by Norio Suzuki

Other Decks in Technology

Transcript

  1. PHP BLT #4
    2016-04-21
    @suzuki

    View full-size slide

  2. ITS is 

    health insurance
    association

    View full-size slide

  3. ITS is famous for

    View full-size slide

  4. But,
    this is not at all

    View full-size slide

  5. ITS Travel Pack ✈

    View full-size slide

  6. 28,800 - 10,000
    = 18,800

    View full-size slide

  7. include
    Flight and Hotel

    View full-size slide

  8. Very
    reasonable !

    View full-size slide

  9. We can use
    twice per year

    View full-size slide

  10. 1. Search a tour

    View full-size slide

  11. 2. Download a form

    View full-size slide

  12. 3. Print a form

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  15. There are
    many process
    in this booking.

    View full-size slide

  16. Especially,

    the handwriting is
    feel bad

    View full-size slide

  17. If you applied
    twice in year,
    you will
    handwrite twice

    View full-size slide

  18. The engineers
    never write
    the same code twice

    View full-size slide

  19. So,
    the Right PHP engineers

    will use…

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  22. 2. Write YAML data

    View full-size slide

  23. 3. Execute command

    View full-size slide

  24. 4. Exported PDF

    View full-size slide

  25. Congratulation !

    View full-size slide

  26. I could not take a ticket

    to Fukuoka in this way.

    View full-size slide

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

    View full-size slide

  28. Will really I can go to
    Fukuoka?

    View full-size slide

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

    View full-size slide

  30. TODO
    • Web App
    • Use PamFax API

    View full-size slide

  31. 2016-07-16 Sat

    View full-size slide

  32. 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/

    View full-size slide