collaborative open source using php and ibm i .collaborative open source using php and ibm i

Download Collaborative Open Source using PHP and IBM i .Collaborative Open Source using PHP and IBM i

Post on 17-Dec-2018

212 views

Category:

Documents

0 download

Embed Size (px)

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

http://bit.ly/O4pZ58http://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

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

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

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

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

http://iweb.dl.sourceforge.net/

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.

Run the Install

PHP script will complete the installation process

From browser,

http://192.168.15.112:10088/collabtive/install.php

27 Insert->Header & Footer

http://192.168.15.112:10088/collabtive/install.phphttp://192.168.15.112:10088/collabtive/install.phphttp://192.168.15.112:10088/collabtive/install.phphttp://192.168.15.112:10088/collabtive/install.phphttp://192.168.15.112:10088/collabtive/install.phphttp://192.168.15.112:10088/collabtive/install.phphttp://192.168.15.112:10088/collabtive/install.phphttp://192.168.15.112:10088/collabtive/install.phphttp://192.168.15.112:10088/collabtive/install.phphttp://192.168.15.112:10088/collabtive/install.phphttp://192.168.15.112:10088/collabtive/install.php

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