Mais conteúdo relacionado
Semelhante a Introduction of openpear (20)
Mais de Sotaro Karasawa (11)
Introduction of openpear
- 2. Introduction
• A young star of PHP (by yando)
• Name
– sotarok / Sotaro KARASAWA
• Love
– Pudding
– Photo/Camera
• Blogs
– http://d.hatena.ne.jp/sotarok/
– http://twitter.com/sotarok
– ...
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 3. 英語で資料つくったけど
ところどころ
おかしいかもしれない
(´・ω・`)
あとでこっそりおしえてください
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 4. Agenda
• Question
• About PEAR
• Introduction of openpear
• New Features in Next Version
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 5. Question
• Do you know how many packages in
PyPI
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 6. Packages
0 2000 4000 6000 8000 10000 12000 14000 16000
Python 5727
Ruby
Perl
PHP
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 7. Packages
0 2000 4000 6000 8000 10000 12000 14000 16000
Python 5727
Ruby 7260
Perl
PHP
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 8. Packages
0 2000 4000 6000 8000 10000 12000 14000 16000
Python 5727
Ruby 7260
Perl 15124
PHP
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 9. Packages
0 2000 4000 6000 8000 10000 12000 14000 16000
Python 5727
Ruby 7260
Perl 15124
PHP 534
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 10. Oh... God...
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 11. About PEAR
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 12. About PEAR
• PEAR - PHP Extension and Application
Repository
• Founded in 1999
– A structured library of open-source code for PHP
users
– A system for code distribution and package
maintenance
– A standard style for code written in PHP
– The PHP Extension Community Library (PECL)
– A web site, mailing lists and download mirrors to
support the PHP/PEAR community
– A community-driven project
• http://pear.php.net/manual/en/about.pear.
php
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 13. Actual situation in PEAR
• pear.php.net Statistics
– Total 534 packages
– Total 315 maintainers
– Total 42,454,184 downloads
• http://pear.php.net/package-stats.php
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 14. is PEAR popular now ?
• Google Trends 「PEAR PHP」
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 15. Why don't people use PEAR ?
• Not compatible with E_STRICT (Old packages)
• Using framework
– CakePHP
– symfony
– ...
• Zend Framework ?
• Complicated work flow to Release
– Mailing List (in English)
– Vote
– Make tar-ball and upload
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 16. How about following quot;PEARquot; ?
• Anyone can contribute any packages
• Coordinate with repository (version
controlled)
• Easy to release
• Easy to use
It's like a dream come true
夢のような話だ
のような話
-- sotarok
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 19. Introduction of openpear
• http://openpear.org/
• established in 11/2008
• opened (not closed) PEAR
channel/repository
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 20. openpear : Features
• Login with OpenID
• Subversion coordinated
– Any logged-in members can commit
• Web interface
– Search packages, maintainers
– Packaging and Release
– Auto register to channel server
– Repository browser (like Trac)
• Favorite
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 21. Work flow in openpear
local
openpear.org
svn co
OP
/ svn up
Subversion
create
repository
your
write some code
(auto-generate)
package
login svn ci
release
PEAR
your
channel
package
server
(auto-register)
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 22. Login with OpenID (2.0)
• One-click login
– mixi, Hatena, Google, Yahoo! Japan
• Create only Subversion account
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 23. Subversion coordinated
• mkdir automatically (in svn repository)
• checkout -> write some code -> commit
• Manage permission
– Anyone (logged in) can commit
– Members you allowed can commit
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 24. Packaging on the web
• Fill the form
– release version
– install path
– etc...
• Click quot;Releasequot; button
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 25. Packaging on the web
• Tagging automatically
• Generate package tar ball automatically
• Register to channel server
automatically
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 26. Easy to install package
• openpear is also a PEAR channel server
% pear channel-discover openpear.org
% pear install openpear/GD_Tab_Guitar
% pear list -c openpear
INSTALLED PACKAGES, CHANNEL OPENPEAR.ORG:
=========================================
PACKAGE VERSION STATE
GD_Tab_Guitar 0.1.0 stable
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 27. New Features
in Next Version
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 28. New Features (under development)
• Renew web interface
• i18n
– after i18n, we will announce in PEAR-DEV ML!!
• Tagging (Categorize)
• Tickets (Bug track)
• Documentation
– Generate API Doc automatically
– Package documentation with Wiki style
• Commit timeline
– like Github!
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 29. Our goal
• A huge variety of packages
– Very useful library
– Joke library
• Be infrastructure for all PHP developer's
– not only for Japanese developers, but for
all PHP developers
Copyright © 2009 Sotaro KARASAWA / nequal.jp
- 30. We are looking forward to
YOUR
commitment!
Copyright © 2009 Sotaro KARASAWA / nequal.jp