Barcamp2010

1,173 views

Published on

Published in: Technology, Self Improvement
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,173
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Barcamp2010

  1. 1. PHP in Enterprise Barcamp 2010 Ladislav Prskavec http://blog.prskavec.net @abtris pondělí, 8. listopadu 2010
  2. 2. Enterprise • reliability and security • scalability • distributed infrastructure • hw load balancer (F5, Cisco) • cache (memcached) • distributed FS (lmc sychronizer, HDFS) • high availability (99.5% and more in SLA) • easy maintenance and deployment pondělí, 8. listopadu 2010
  3. 3. DEVEL Enviroment DEVEL TESTING STAGE PRODUCTION DEVEL Developers SysAdmins pondělí, 8. listopadu 2010
  4. 4. CIE • Source Control Managment (Git, SVN, CVS, ...) • source, docs, supporting docs • Engine (Hudson, phpundercontrol, CC) • RPM, PhpDoc, QA tests • Datastore (webDAV for RPM) pondělí, 8. listopadu 2010
  5. 5. Deployment • rsync, ftp, scp • pear, phar • os native (rpm, deb) • scm (git push) • capistrano pondělí, 8. listopadu 2010
  6. 6. Deployment II • CFengine http://www.cfengine.org/ • CentOS (Redhat Enterprise) • RPM packages pondělí, 8. listopadu 2010
  7. 7. App Current version • PHP Aplication structure: • /var/www/www.webnas.cz/current • /var/www/www.webnas.cz/10.10.10-453 • symlink from app version to current pondělí, 8. listopadu 2010
  8. 8. RPM packages • spec file • ant builder use rpmbuild • build.properites • shared build.xml <!-- rpmbuild --> <target name="rpm"> <echo message="SPEC: ${spec_file}" /> <exec executable="rpmbuild"> <arg value="--target=i386"/> <arg value="-bb"/> <arg value="${spec_file}"/> </exec> </target> pondělí, 8. listopadu 2010
  9. 9. DEMO pondělí, 8. listopadu 2010
  10. 10. Questions? Source codes: https://github.com/abtris/ barcamp2010praha pondělí, 8. listopadu 2010

×