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.

Collaborative Open Source with PHP on IBM i


Published on

Open Source applications are a great way to get a jump start on the project backlog and really leverage on organizations investment in IBM i. In this presentation, Mike Pavlak explores even more opportunities to consolidate workload onto IBM I and Mike will show how to leverage that investment with a look at two collaborative applications from the open source PHP world?

Published in: Technology
  • This is the slide deck of the Zend webinar 'Collaborative Open Source with PHP on IBM i', by Mike Pavlak, held on September 13, 2011.

    In this presentation, Mike Pavlak explores opportunities to consolidate workload onto IBM I and will shows how to leverage IBM i investments with a look at two collaborative applications from the open source PHP world.

    You can watch the related webinar at
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Collaborative Open Source with PHP on IBM i

  1. 1. Collaborative Open Source with PHP on IBM i <br />Mike Pavlak<br />Solution Consultant<br />To watch the webinar, please go to: <br /><br />
  2. 2. Agenda<br />What’s up with MySQL?<br />Mediawiki<br />Installation<br />Configuration<br />Operation<br />Concrete5<br />Installation<br />Configuration<br />Operation<br />Q&A<br />2<br />
  3. 3. Collaborative Open Source with PHP for IBM i<br /> <br />What‘s up with MySQL?<br />
  4. 4. MySQL<br />MySQL discontinued distributions last year.<br />Zend and IBM are partnering to bring something back!<br />Get ready for…<br />4<br />Zend DBi<br />
  5. 5. Zend DBi<br />Zend Technologies will provide Zend DBi as a drop-in replacement for MySQL on the IBM i platform<br />Zend DBi will be shipped as a part of Zend Server for IBM i and freely downloadable as a standalone package<br />The build will remain open-source and be updated over time to implement relevant bug fixes and features<br />IBM will continue to maintain and deliver the DB2 Storage engine for MySQL for IBM i, via Zend Server and as a standalone package<br />5<br />
  6. 6. Why Zend Dbi?<br />COMMON, COMMON Europe and WMCPA (Wisconsin Midrange Computer Professional Association) all use open source application Joomla<br />Manage their respective organizations with PHP handling the transactions and presentation layer. <br />These organizations depend on MySQL as the database storing content and important transaction processing. <br />6<br />DB2<br />HLL(RPG,COBOL)<br />PHP<br />SQL<br />MySQL<br />Storage Engine<br />
  7. 7. Collaborative Open Source with PHP for IBM i<br /> <br />Media Wiki<br />
  8. 8. Mediawiki<br />Key Features<br />Great for user annotated content<br />Documentation, anyone?<br />Installation on IBM i <br />i7.1<br />Current group/cume PTF’s<br />Zend Server 5.1 running PHP 5.3.6<br />Business Application: <br />Easy to maintain user docyumentation<br />Users can add comments right to the page!!!<br />8<br />
  9. 9. MediaWiki<br />9<br />Insert->Header & Footer<br />
  10. 10. Get the file<br />Navigate to the downloads page <br />Pull down the latest copy<br />I used 7-zip to uncompress the .gz<br />FTP (FileZilla) the .tar to the root file system of the IFS<br />Untar using QP2TERM<br />tar –xvf mediawiki-1.17.0.tar<br />This unpacks all the files to a directory of the same name<br />Point your browser at the index.php in the app directory<br />10<br />
  11. 11. 11<br />Insert->Header & Footer<br />
  12. 12. Installation…<br />12<br />Insert->Header & Footer<br />
  13. 13. Not setup yet, click the link…<br />13<br />Insert->Header & Footer<br />
  14. 14. Default to English<br />14<br />Insert->Header & Footer<br />
  15. 15. Environment is OK<br />15<br />Insert->Header & Footer<br />
  16. 16. Setup the database…<br />16<br />Insert->Header & Footer<br />
  17. 17. Database settings…<br />17<br />Insert->Header & Footer<br />
  18. 18. Name…<br />18<br />Insert->Header & Footer<br />
  19. 19. Are you bored yet><br />The heavy lifting is done…<br />Click radio button as you see fit…<br />19<br />Insert->Header & Footer<br />
  20. 20. Results, not bad…<br />20<br />Insert->Header & Footer<br />
  21. 21. Download the local settings file…<br />21<br />Insert->Header & Footer<br />
  22. 22. Local settings, a look inside<br />22<br />Insert->Header & Footer<br />
  23. 23. Used File-Zilla to copy files…<br />23<br />Insert->Header & Footer<br />
  24. 24. Tada!<br />24<br />Insert->Header & Footer<br />
  25. 25. Housekeeping…<br />Logo?<br />Change the $wgLogo value in LocalSettings.php<br />Edit with Zend Studio<br />Copy file to local directory in MediaWiki<br />WikiForMike/mediawiki-1.17.0/skins/common/images<br />25<br />Insert->Header & Footer<br />
  26. 26. New page topic…<br />Search for it<br />MediaWiki will let you create if it does not exist<br />Can control creation upon login<br />Once created, can link to others<br />26<br />Insert->Header & Footer<br />
  27. 27. Finished page looks like…<br />27<br />Insert->Header & Footer<br />
  28. 28. Linked Page<br />A page to edit QSECOFR comes up<br />Enter contents and save<br />28<br />Insert->Header & Footer<br />
  29. 29. New QSECOFR Page<br />29<br />Insert->Header & Footer<br />
  30. 30. Discussion…<br />As a developer you created QSECOFR page.<br />Let users annotate the contents with the discussion tab<br />30<br />Insert->Header & Footer<br />
  31. 31. Collaborative Open Source with PHP for IBM i<br /> <br />Concrete5<br />
  32. 32. Concrete5<br />Key Features<br />PHP, Zend Framework, jQuery<br />Documentation, anyone?<br />Installation on IBM i <br />i7.1<br />Current group/cume PTF’s<br />Zend Server 5.1 running PHP 5.3.6<br />Business Application:<br />Intranet, Internet content site<br />Department messaging<br />32<br />
  33. 33. Why Concrete5<br />Companies standardizing on Zend Framework<br />Also standardizing on JavaScript libraries<br />Clean separation between…<br />Editors (Content)<br />Programmers (Code & function)<br />Designers (Look and feel)<br />Quick and easy startup<br />33<br />Insert->Header & Footer<br />
  34. 34. Home page<br />34<br />Insert->Header & Footer<br />
  35. 35. Installation…<br />Copy files from download up to the IBM i<br />Unzip locally<br />FileZilla made quick work of upload<br />TIP: If in FileZilla and you cannot get directory listing try…<br />ServerEnter Custom Command…<br />Put in SITE NAMEFMT 1<br />Refresh server output panel (right click)<br />35<br />Insert->Header & Footer<br />
  36. 36. Installation…<br />Create an empty MySQL database<br />Create a MySQL User Profile<br />Open browser & point to directory with Concrete5<br />Installation instructions: <br />Page:<br />Forum:<br />YouTube videos for Conrete5 embedded in site:<br />36<br />Insert->Header & Footer<br />
  37. 37. Installation<br />
  38. 38. Installation successful<br />38<br />Insert->Header & Footer<br />
  39. 39. Main page…<br />39<br />Insert->Header & Footer<br />
  40. 40. Dashboard<br />40<br />Insert->Header & Footer<br />
  41. 41. Advantages<br />Added a page<br />Edit content<br />You Tube videos for education<br />In 5 minutes I was able to…<br />Load the site<br />Adjust the security<br />Walked the configuration<br />Edited and deployed my bio<br />41<br />Insert->Header & Footer<br />
  42. 42. Home page<br />42<br />Insert->Header & Footer<br />
  43. 43. Mikey’s Bio<br />43<br />Insert->Header & Footer<br />
  44. 44. Collaborative Open Source with PHP for IBM i<br /> <br />Wrap-up<br />
  45. 45. Upcoming Webinars<br />September<br />Open Source on IBM i Part 2<br />October<br />Best Practices for deploying secure PHP applications<br />More soon…<br />45<br />
  46. 46. Join us at ZendConThe premier PHP conference!October 17-19, 2011 – Santa Clara, CA<br />Conference Themes<br />Cloud Computing<br />Learn about the latest developments in PHP Cloud infrastructure, management and application services<br />Mobile and User Experience<br />Learn how to build engaging mobile apps with the latest PHP technologies and tools<br />Enterprise and Professional PHPExplore PHP best practices, new technologies and practical tips with industry experts<br />Conference Highlights<br /><ul><li>Sessions focused on how to best develop and deploy PHP
  47. 47. Sessions designed for all knowledge levels
  48. 48. Intensive tutorials for accelerated learning
  49. 49. PHP Certification crash courses and testing
  50. 50. Exhibit hall showcasing the latest products
  51. 51. Special networking opportunities during meals and events</li></ul><br />
  52. 52. Reasons to attend ZendCon<br />IBM i track with AWESOME features like<br />PHP Toolkit authors<br />Sessions on performance, etc.<br />Lots of PHP that applies to IBM i shops, too<br /><br />IBM i Evening Event<br />Special networking opportunity for PHP developers devoted to IBM i <br />Fabulous Keynotes<br />47<br />
  53. 53. 48<br />Q&<br />To watch the webinar, please go to: <br /><br />