Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

20140902 寿司現状確認会用ネタ

3,948 views

Published on

Acme::P2P - Convert perl code to php or something by PPI

Published in: Technology
  • Be the first to comment

  • Be the first to like this

20140902 寿司現状確認会用ネタ

  1. 1. 現状確認会用ネタ 冨田トミール http://e8y.net/about
  2. 2. 本当にあった怖い話
  3. 3. 本当にあった怖い話
  4. 4. 本当にあった怖い話 perl PHP
  5. 5. API tests always save me.
  6. 6. API request/response tests based on Test::Base
  7. 7. Test::Base to PHPUnit • for PHP users.
  8. 8. Test::Base to PHPUnit • for PHP users. • convert Test::Base format to YAML stream by Test::Base • perl test codes • regexp…? (´・_・`)
  9. 9. We have PPI the great • https://metacpan.org/pod/PPI
  10. 10. We have PPI the great • https://metacpan.org/pod/PPI • from Padre project(たしか。) • perl DOM • found a YAPC::Asia 2014 talk
  11. 11. PPI power
  12. 12. successfully converted perl test php code :D
  13. 13. (Test::Base on PHPUnit)
  14. 14. phpunit has –tap option
  15. 15.
  16. 16. Acme::P2P https://github.com/tomill/Acme-P2P
  17. 17. Perl: $foo = { }; PHP: $foo = array( );
  18. 18. Perl: $foo-­‐>{bar}{baz}; PHP: $foo['bar']['baz'];
  19. 19. Acme::P2P https://github.com/tomill/Acme-P2P demo http://p2p.koneta.org/

×