Transcript

© All rights reserved. Zend Technologies, Inc.

Collaborative Open Source

using PHP and IBM i

Mike Pavlak

Solution Consultant

To watch the recorded webinar: http://bit.ly/O4pZ58

© All rights reserved. Zend Technologies, Inc.

Agenda

•Around the open source universe

•Explore the various projects

• Install Collabtive

•Explore the uses

•Other projects

•Q&A

2

© All rights reserved. Zend Technologies, Inc.

Open Source Advantages

•Low TCA

•Potentially low cost of TCO

•Folks who love developing, higher quality level

3

© All rights reserved. Zend Technologies, Inc.

Georgia Library Service (Case Study)

•PINES system was the system, Y2K, expensive, limited

• Issue: Did software drive business or vice versa?

•Developed Evergreen, June 2004-Sept 2006 go live

•Video: http://www.youtube.com/watch?v=J4_xcYl4Q4k

•PERL & PostgreSQL

•Designed to be cost effective, modular effect

•Reliable, clustered, etc.

•Now used by over 800 libraries

•Community of 9 committers and 50 contributors

4 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Is open Source Free?

5 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

But, can open source have a lower TCO?

6 Insert->Header & Footer

•Absolutely

•Your mileage may vary

•Think PHP on IBM i…

Zend Server CE is paid for with SWMA w/1 year support

Zend Studio perpetual license also included w/1 year of updates

DB2 is built in, Zend DBi (MySQL) is also no charge

Apache server included and supported by IBM

No user based pricing, unlimited user access!

•The obvious answer is $0 cash outlay for POC!

© All rights reserved. Zend Technologies, Inc.

What are the risks/rewards?

7 Insert->Header & Footer

•An open source project may

Become abandoned

Become forked

Licensing may be confusing

•Open Source brings education

OPC

Industry best practices

Ideas on what to do or not to do…

Strong licensing protects all!

© All rights reserved. Zend Technologies, Inc.

Recent Survey by Northbridge Partners

8 Insert->Header & Footer

•Open Source Business Conference

•32% of respondents indicate 75% of IT is open source!

•Enterprise adoption of Open Source is at 40%

•Enterprise adoption of Open Source is rated as #1 priority

by companies with 1,000+ employees

•Why is OS so attractive?

Lower cost

Freedom from vendor lock-in

Quality

•Mobile OSS growing faster then proprietary(Apple i/OS)

© All rights reserved. Zend Technologies, Inc.

Open Source Projects

9 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Where do I find open source projects?

•Phpclasses.org

•Hotscripts.com

•Sourceforge

•Codeplex

•GitHub

•Google Code

• Individual project sites

10 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

IBM i centric?

11 Insert->Header & Footer

•Toolkit?

Open Source Toolkit

IBM: XML Service

Zend: PHP Open Source Toolkit

•Apache

•Zend Server/PHP

•Rational/Eclipse

© All rights reserved. Zend Technologies, Inc.

What have I done with open source

•Drupal

•SugarCRM

•MediaWiki

•Concrete5

•ExtJS

•More…

12 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Installing Collabtive

13 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Collabtive, what is it?

•How does your develoment team manage their projects?

Spreadsheets

Text documents

Sticky notes

•Collabtive offers

Project Management

Time reporting

File Management

More

14 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Project page…

•http://collabtive.o-dyn.de/index.php

•Download source

•Demo

15 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Download code

•Code available on

Sourceforge

GoogleCode

•Default location when I download was SF

http://iweb.dl.sourceforge.net

•Collabtive076.zip

•Save the zip file and extract

•Check out the readme…

16 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Readme.txt for installation

•Six steps!

Unpack archive

Upload files

Make writable

Create MySQL DB

Point Browser to install.php

Cleanup

17 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Tar and untar?

•Files are already extracted

• I prefer to tar them

•Then FTP single file to IBM i

•Then untar…

•7-Zip does good job of creating and extracting .tar

• .tar = tape archive (Think SAVF)

18 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Unzip the .zip then tar

•Create directory on PC called collabtive076

•Unzip files from download to the new directory

•Open 7zip and select the directory & click add

•Enter name, select archive type tar & click OK

•Archive is created

•FTP archive to docroot of IBM i

•www/zendsvr/htdocs

19 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Green screen commands

•Verify file uploaded

•Time for upload varies by connection, etc.

•Open PASE command shell via CALL QP2TERM

•Navigate to directory via CD /www/zendsvr/htdocs

20 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Extract on IBM i

•Using the PASE command shell extract the file

tar –xvf collabtive076.tar

• -xvf means x=extract, v=verbose, f = use this file

Creates directory

Copies all files (thousands)

Send message to console for each file

When console settles down, your are ready to continue

21 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Screen when extracting

22 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Make writeable

•Handful of files that need to be writable by web server

•This is temporary

•What is profile of webserver?

•WRKACTJOB SBS(QHTTPSVR)

23 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Create SYMLNK

•Create a symbolic link to the collabtive directory

•Simplifies the update process

24 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Make writeable

•Using WRKLNK or iNav, etc.

•Change files to be writeable by QTMHHTTP

•This is better than public, but not by much…

/templates_c

/files

/config/standard/config.php

•CL Command example for /files directory…

CHGAUT OBJ('/www/zendsvr/htdocs/collabtive076/files')

USER(QTMHHTTP) DTAAUT(*RWX) OBJAUT(*ALL)

25 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Create DB

•Using phpMyAdmin under Zend DBi (next months webinar)

•Create the database…

Got privileges tab

Click add user

Select radio…

Click GO

26 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Follow the instructions

•Select language

Requirements for Collabtive will be verified

•Add database info for the MySQL DB you just created

•Click Continue

•Database is created!

28 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Create Admin User

•Enter user id and password for collabtive administrator

•This is not IBM i userid nor MySQL. Application level!

•Click continue

29 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Woohoo!

•Your done installing…

•Proceed to the login page

•Enter admin info

30 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Collabtive

31 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Now you are in and can get busy!

•Click add project, fill in details and date, click add

32 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Working with the project

•Select the project from the project list

•Dashboard shows calendar and timetracker

•Click date & Add task or milestone for project

•Can report time, as well

33 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

More stuff

•Create milestones, taskslists, etc.

•Pretty soon you have a project

•Get in and play around

34 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Lean and mean

•Time entry

•Time reporting

•PHP code base

•With PHP training you can update!

35 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

SmartStart

•Combines training & coaching

•Two weeks to POC!

•Compress months of trial & error into a couple of weeks

•See Zend account manager for more details

36 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Webcasts

•August 20 – MySQL on IBM i

•September 18 – PHP and IBM i: Open Source Productivity

Tools

Your thoughts???

37 Insert->Header & Footer

© All rights reserved. Zend Technologies, Inc.

Join us at ZendCon The premier PHP conference!

October 22-25, 2012 – Santa Clara, CA

www.zendcon.com

Conference Themes

PHP in 2012 - The latest PHP technologies and tools

Learn how to leverage the latest mobile, HTML 5, testing and

PHP best practices

Zend Framework 2 - Hit the ground running

Learn how to build faster, more modular and more

expandable applications

Development & The Cloud – A love story

Learn how the latest developments in cloud-based services,

infrastructure and best practices can benefit you

Conference Highlights

• Sessions focused on how to best develop and deploy PHP

• Sessions designed for all knowledge levels

• Intensive tutorials for accelerated learning

• PHP Certification crash courses and testing

• Exhibit hall showcasing the latest products

• Special networking opportunities during meals and events

© All rights reserved. Zend Technologies, Inc. 40

Q&A

[email protected]

[email protected]

To watch the recorded webinar: http://bit.ly/O4pZ58


Top Related