+ All Categories
Home > Documents > Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where...

Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where...

Date post: 22-Jan-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
48
Business uses for Python & IBM i Mike Pavlak – IT Strategist [email protected]
Transcript
Page 1: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

Business uses for Python & IBM i

Mike Pavlak – IT Strategist

[email protected]

Page 2: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

A little background, please

Page 3: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

4

What is Python, really?

■ General purpose language

■ Easy to get started

■ Simple syntax

■ Great for integrations (glue between systems)

■ Access to C and other APIs

■ Infrastructure first, but applications, too

Page 4: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

5

Historically…

■ Python was conceptualized by Guido Van Rossum in the late 1980’s

■ Rossum published the first version of Python code (0.9.0) in February of 1991 at the CWI(Centrum Wiskunde & Informatica) in the Netherlands, Amsterdam

■ Python is derived from the ABC programming language, which is a general purpose language that was also developed at CWI.

■ Rossum chose the name “Python” since he was a fan of Monty Python’s Flying Circus.

■ Python is now maintained by a core development team at the institute, although Rossum still holds a vital role in directing its progress and as leading “commitor”.

Page 5: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

6

Python lineage

■ Python 1 – 1994

■ Python 2 – 2000 (Not dead yet…)

▶2,7 – 2010

■ Python 3 – 2008

▶3.5 – 2015

▶3.6.2 – July 2017

▶3.7 ➔ ETA July 2018

Page 6: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

Why use it?

Page 7: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

8

Academia

■ 1980’s

▶COBOL, Basic

■ 1990’s

▶Paschal, Delphi

■ 2000

▶Java

■ 2010

▶Python

Page 8: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

9

Carnegie Mellon

■ School discovered that students understood OO

▶But could not build a logic loop to save their soul!

■ Robert Harper, professor of CS writes:

“Object-oriented programming is eliminated entirely from the introductory curriculum, because it is both anti-modular and anti-parallel by its very nature, and hence unsuitable for a modern CS curriculum. A proposed new course on object-oriented design methodology will be offered at the sophomore level for those students who wish to study this topic."

Page 9: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

10

Tiobe Index

Page 10: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

11

Tiobe top 10 trending, April 2018

COBOL = 25 RPG = over 48

Page 11: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

12

Explosive growth on Stack Overflow

https://stackoverflow.blog/2017/09/06/incredible-growth-python/

Page 12: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

13

Potential for growth?

Page 13: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

14

Most wanted in 2018

https://insights.stackoverflow.com/survey/2018

It’s the 3rd

most loved, too!

Page 14: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

15

Some reasons folks like Python

■ Open source is free, right?

▶Yes, no…well – sort of…

▶No charge LP on IBM i – 5733OPS & RPM model

■ Only scripting language to support multiple inheritance

■ Multi-threading

▶Stateful, not Async like Node

▶But same motivation as Node, non-blocking

■ Applications develop faster

▶Extensive standard library that is constantly evolving

▶Frameworks such as Bottle

Page 15: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

16

One more reason folks like Python

Page 16: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

17

Industries using Python

■ Technology

▶ Geospatial, Machine Learning

▶ Honeywell - Build automation

■ Manufacturing

▶ D-Link updates – Multithreaded

▶ Phillips – Robot programming and sequencing

■ Entertainment

▶ ILM – Scripting CGI Intensive films

▶ Video gaming

■ Transportation

▶ Airports – Frequentis for weather info

● US, Denmark, Iceland, Hong Kong, etc.

Page 17: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

18

Companies using Python

■ YouTube - Backend

■ Facebook – (see next slide)

■ Dropbox

■ NASA – Weather and more

■ IBM

■ Mozilla

■ Instagram

■ Red

■ Quora

▶Why python?

Page 18: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

19

Facebook in detail

■ Top three languages

▶Hack (fork of PHP)

▶C++

▶Python

■ Infrastructure management

▶Network switch setup

▶Core services (DNS, etc,)

▶Server imaging, burnin-in.

■ Platform services: Job Engine, team workflow managementhttps://code.facebook.com/posts/1040181199381023/python-in-production-engineering/

Page 19: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

20

Notes

■ Why is Python so odd for IBM i?

▶No apparent clear use case

▶Not a lot of IBM i Python developers…yet.

■ We’ll get to this…

Page 20: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

21

The right hammer, please

■ Java – Device programming

■ PHP – web programming

■ COBOL & RPG – business programming and batch language

■ Python – General purpose

▶Dang, no “specific” purpose or…

▶A place EVERYWHERE!

▶Possibly the NEW batch solution…

Page 21: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

Platform for Modernization

Page 22: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

24

Web2py

■ Open source application framework project

■ Dedicated to backward compatability

▶But what happens when the language changes?

▶Python2 → Python3

● BC Breaks!

■ Massimo Dipierro –

▶CDM Director of the master of Science in Computational Finance at DePaul University.

▶Lead developer of project

Page 23: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

25

Web2py - Features

■ Database abstraction

■ Hello World in seconds

■ No lengthy learning curve

■ Designed by business people for business people

Massimo: I believe that the ability to easily build

high quality web applications is of critical importance

for the growth of a free and open society.

Page 24: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

26

Documentation

■ Clear and easy to read

Page 25: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

27

Web2py

Page 26: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

28

Web2py & PHP 3

■ Currently under development

■ Function reformatting

■ New database engine

Page 27: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

29

Logic flow

■ Sacrifice religion for easy to use

Page 28: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

30

Web2py - Architecture

Page 29: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

31

PHP example of data access

Page 30: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

32

Same thing in Python with web2py

Page 31: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

A New ERP?

Page 32: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

36

odoo

■ Open Source ERP application

■ Includes

▶CRM

▶Point of Sale

▶Helpdesk

▶Manufacturiong

▶Accounting

▶Event management

▶HRIS

▶More…

Page 33: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

37

odoo Mission

To be very easy to use and fully integrated

■ Timeline

▶2005 – Initial release (TinyERP)

▶2008 - OpenERP

▶2013 – odoo Community Association established

▶2014 Company renamed to odoo

Page 34: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

38

Stats for ODOO?

Page 35: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

39

Does this look like your typical – IBM i ERP?

Page 36: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

40

Who is using odoo?

■ Toyota

■ Aggressive competition

▶Could not afford long ramp up/risk

■ Up and running in 6 months

Page 37: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

41

Who is using odoo?

■ FYG

▶Selling, delivering, installing, and maintaining components and systems, focused on industrial and commercial markets

■ SAP Proves too Rigid for FGY

Page 38: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

42

Why did so many companies come to IBM i?

■ Why did so many companies come to IBM i?

■ 1980’s

▶Affordable over mainframe

■ 1990’s

▶Established ERP’s and Y2K

■ 21st Century

▶???

Page 39: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

43

Who is using odoo?

■ Florida Iron Doors

▶Selling, delivering, installing, and maintaining components and systems, focused on industrial and commercial markets

Page 40: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

44

This can’t be free…

Page 41: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

45

odoo Community

■ Partners

▶All over the US

▶Little to no IBM i experience

Page 42: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

46

What about PHP?

■ PHP is a great solution

■ Designed for web pages and content management

■ odoo was conceived to be a business application

Page 43: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

Where do I go for help?

Page 44: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

48

Python is popular with startups!

■ Open source creates tremendous opportunities

Page 45: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

49

GADgroup.

■ Consulting firm based in Chicago area

■ 10-20 local consultantsGAD Group Technology, Inc. was established to meet the demand for cutting edge technology and sophisticated software applications by small and medium sized businesses, government municipalities and non-for-profit organizations with limited budgets for full time "IT Resource."

Page 46: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

50

Gregory Dover – GAD Group

■ Specializes in SMB companies

■ Uses Python to modernize legacy

▶IBM i

▶SQL Server

▶VB

▶HP UX

■ Build custom

■ ODOO business practice.

■ WEB2PY for integration

Page 47: Business uses for Python & IBM i - TUG · ■odoo was conceived to be a business application. Where do I go for help? 48 Python is popular with startups! ■Open source creates tremendous

51

Summary

■ Python may be better positioned for business than any other open source language

■ It is mature, just not on IBM i.

■ Database expectations mostly agnostic, getting better.

■ Start slow and grow into it!


Recommended