presentazione wi400 i5
TRANSCRIPT
![Page 1: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/1.jpg)
Wi400the PHP i-framework
by S.I.R.I. s.r.l. – [email protected]
: quando il funzionale è anche bello
![Page 2: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/2.jpg)
| 2
| 2
Agenda
L'evoluzione dei modelli culturali: il “web 2.0” Nuovi strumenti: l'open-source
L'integrazione tra i5OS e PHP
Uso dell'open-source in IBMi
Sviluppare per il WEB
Esperienze
Question time
Le novità in IBMi: il PHP
![Page 3: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/3.jpg)
| 3
| 07/05/10
| 3
Evoluzione dei modelli culturali
rss – feed – wsdl
Mobile
notebook
b2b
![Page 4: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/4.jpg)
| 4
| 07/05/10
| 4
Web server
RPG/COBOL
Connettere il DB2 ad altri DB
Integrazione con altre Piattaforme
Implementare I servizi
Proteggere gli investimenti
Database
O.S
OpenSource
Ottenere benefici da applicazioni F.O.S.S.
Nuove richieste all'IT
![Page 5: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/5.jpg)
Nuovi strumenti Open-Source
- la storia php#
![Page 6: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/6.jpg)
| 6
Zeev Suraski & Andi Gutmanslead the development of PHP 3
| 07/05/10
| 6
20M
15M
10M
5M
PHP 4 Released• 1M Internet
domains• Zend Engine• Zend Founded
Yahoo! Standardizeson PHP
IBM, Oracle Endorse PHP
PHPInternet Domains
25M
Zend Framework & Eclipse project (PDT) announced
ZF and PDT
released, PHP 4 EOLannounced
PHP Proliferation
RasmusLerdorfIntroducesphp/fi
Storia del PHP
PHP 5.0(XML,SOAP,OOP)IDE Studio
![Page 7: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/7.jpg)
| 7
java
dot.net
PHP
Trend linguaggi programmazione
![Page 8: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/8.jpg)
| 8
| 8
Folta Community Larga diffusione
Bassa curva di apprendimento
Apprendimento rapido
Bassa curva di apprendimento
Robusto, Multi-Piattaforma, Performance, Sicurezza, Scalabilità
Affidabile
PHP – peculiarità
![Page 9: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/9.jpg)
PHP in IBMi
- quali sono le novità ?#
![Page 10: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/10.jpg)
| 10
| 07/05/10
| 10
Ide Studio
3 Aprile 2006: IBM annuncia l'accordo con “Zend technologies” per avere il PHP nativo sul sistema
ZendCore/ZendServer for I5/OS
PHP nativo
Disponibile per V5R3, V5R4, V6R1 e V7R1
Free of charge
ZendStudio for Eclipse i5 Edition
Sistema di sviluppo client basato su Eclipse
Disponibile su Windows, Linux, Mac OSx
Free of charge
ZendCore
PHP & IBMi
![Page 11: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/11.jpg)
| 11
Power Systemsi5/OS
PASE5722SS1 Opz.33
ApacheHTTP Server:porta 10088Response
IFS
<?php......
Database
RPG/COBOL
OS
PHPfast-cgi
PHPfast-cgi
PHPfast-cgi
Request
<?php......
PHP & IBMi – scalabilità: ZendServer
Internet orintranet
![Page 12: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/12.jpg)
| 13
No ODBC Driver
cross
platfo
rm
PHP & IBMi – scalabilità: easycom-toolkit
![Page 13: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/13.jpg)
Integrazione in IBMi
- in che modo ?#
![Page 14: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/14.jpg)
| 15
| 15
–i5/OS PASE is the AIX® runtime in i5/OS –it is not an emulated environment
ZendServer for i5/OS “gira” nell'ambiente PASE
PHP & IBMi – i5OS/PASE
![Page 15: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/15.jpg)
| 16
| 16
da uno script PHPè possibile eseguireun i5/OS command
PHP & IBMi – integrazione
![Page 16: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/16.jpg)
| 17
| 17
risultato di un i5/OS command
PHP & IBMi – integrazione
![Page 17: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/17.jpg)
| 18
| 18
visualizza gli spoolin una pagina web
PHP & IBMi – integrazione
![Page 18: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/18.jpg)
| 19
| 19
PHP & IBMi – integrazione
![Page 19: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/19.jpg)
| 20
| 20
versione “community”di librerie PHP pdf
PHP & IBMi – risorse
versione “community”di librerie PHP pdf
http://framework.zend.com
http://www.fpdf.org http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf
![Page 20: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/20.jpg)
| 21
| 21
la richiesta del cliente:“print my invoices to pdf format in i5”
1) Hold spool2) Call php script from CL program
PHP & IBMi – i5OS/PASE
![Page 21: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/21.jpg)
| 22
| 22
......una settimana dopo....“send my invoices via mail”
PHP & IBMi – i5OS/PASE
![Page 22: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/22.jpg)
| 23
| 23
ancl200f
MySQL ServerConnection Pool
Authentication – Thread – Connection Limits – Check Memory- Cache
SQL InterfaceDDL, Store Procedure,
Views,Triggers ,etc
ParserQuery
Translation,Object Privilege
Cache & buffers
Global andEngine Specific
caches
PASE IBMi
OptimizerAccess Path,
Statistics
“accounts”
RPG
SQL
Query
Pluggable Storage Enginesmemory, Index & Storage Management
MyIsam InnoDB Memory
CSV
trigger
trigger
OpenSource & IBMi – MySQL
New IBM Redbook “Using IBM DB2 for i Storage Engine of MySQL”
SG24-7705
![Page 23: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/23.jpg)
| 24
| 24
attraverso l'engine ibm_db2 sono “a portata di mano” l'utilizzo di tipiche applicazioni opensource dello stack Lamp
•SUGARCRM for i5 - CRMhttp://www.sugarcrm.com
•MANTIS400 - HELP DESKhttp://www.mantisbt.org
OpenSource & IBMi – F.O.S.S.
![Page 24: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/24.jpg)
| 25
OpenSource & IBMi – F.O.S.S.
![Page 25: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/25.jpg)
| 26| 26
OpenSource & IBMi – F.O.S.S.
![Page 26: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/26.jpg)
Cosa posso fare con PHP
- quali tematiche- l'open-source
#
![Page 27: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/27.jpg)
| 28
| 28
Documentazione
CRMBug Tracking
Content Management
GDO
Utilizzo del PHP
Mobile
![Page 28: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/28.jpg)
La Proposta
- PHP e S.I.R.I.#
![Page 29: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/29.jpg)
| 30
| 30
PHP & S.i.r.i.
pluriennale competenzanell'ambito IBMi
passione, curiosità e competenza nelle nuove tecnologie
![Page 30: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/30.jpg)
Sviluppare per il Web con PHP
- metodologia- strumenti rapidi
#
![Page 31: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/31.jpg)
| 32
| 32
Sviluppare Web con PHP
<html><title>hello world !<title><body><br>Benvenuti in Wi400</br>
<br><?php
print “Il magico mondo del PHP”;?></body></html>
print “<h1>Il magico mondo del PHP</h1>”;
![Page 32: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/32.jpg)
| 33
HTTP request
Executionparameters
browser controller model
ResultingData arrays
GuiContent
ResultingData arrays
HTTPresponse
view
Sviluppare Web con PHP – l'mvc
![Page 33: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/33.jpg)
| 34
| 34
HTTP request
Executionparameters
browser controller model
ResultingData arrays
GuiContent
ResultingData arrays
HTTPresponse
view
WI400 Action Architecture
gateway
validation
azioni/menù su DB2 i5OS
Sviluppare Web con PHP – l'mvc di Wi400
![Page 34: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/34.jpg)
| 35
| 35
WI400 Action Architecturemodulo//wi400/modules/ CodiceAzione_Contesto.php
Contesti:_gateway_model_view_validation
GATEWAY
MODEL
VIEW
Validation
form
ERROR
TRUE
Azione menù
Contenitore/menù
Az.semplice
Az.batch
Sviluppare Web con Wi400
![Page 35: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/35.jpg)
| 36
Sviluppare Web con Wi400: codice
<?php
$_myList = new wi400List("EXAMPLE1_LIST", true);
$_myList->setFrom("ZWIDEMO".$settings['i5_sep']."ANCL200F");
$_myList->setCols($cols);
$_myList->dispose();
1.istanziola classe
2.selezionotabella
3.reperiscodescrizione campi
da tabella
4.assegno campialla classe istanziata
5.“rendering”del risultato
$cols = getColumnListFromTable("ANCL200F", "ZWIDEMO");
![Page 36: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/36.jpg)
| 37
esportazionerecord
personalizzazionedella “griglia”
Il risultato con 5 righe di codice
paginazioneautomatica
record
Sviluppare Web con Wi400: codice
![Page 37: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/37.jpg)
| 38
<?php
$_myList = new wi400List("EXAMPLE1_LIST", true);
$_myList->setFrom("ZWIDEMO".$settings['i5_sep']."ANCL200F");
$cols = getColumnListFromTable("ANCL200F", "ZWIDEMO");$_myList->setCols($cols);
$_myList->dispose();
$_myList->dispose();
$_myFilter = new wi400Filter("RASCL","Name","STRING");
$_myFilter->setFast(true);$_myList->addFilter($_myFilter);
$_myFilter = new wi400Filter("CDCLI", "Code","STRING");
$_myList->addFilter($_myFilter);
$_myFilter= new wi400Filter("LOCCL", "City","STRING");$_myList->addFilter($_myFilter);
Aggiuntadi filtri “advanced”
Istanzio filtrodi tipo “fast”
Sviluppare Web con Wi400: codice
![Page 38: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/38.jpg)
| 39
Il risultato con altre 7 righe di codice ricercaveloce
Ricerca “advanced”attivabile a
richiesta
Salvataggio dellaricerca “personale”da parte dell'utente
Sviluppare Web con Wi400: codice
![Page 39: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/39.jpg)
| 40
Sviluppare Web con Wi400: il controllo
Controllo evisualizzazionedel job e dei log
![Page 40: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/40.jpg)
Wi400: cases
- esperienze - casi di successo
#
![Page 41: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/41.jpg)
| 42
Wi400: cases
![Page 42: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/42.jpg)
| 43
Wi400: cases (logistica)
![Page 43: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/43.jpg)
| 45
Wi400: cases (ciclo passivo)
![Page 44: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/44.jpg)
| 46
Wi400: cases (smart pdf)
![Page 45: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/45.jpg)
| 48
Wi400: cases (mobile Web 2.0)
Management Control
![Page 46: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/46.jpg)
Wi400: news !
- Wi400 Entry Edition Free Download- nuove promozioni
#
![Page 47: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/47.jpg)
| 50
Wi400: Entry Edition Free download
August 2010: disponibile per il download la versione “Wi400 Entry Edition” sotto licenza Creative Common
http://www.wi400.com/prodotto/download-2-2/
Richiesta registrazione
Versione dl framework liberamente utilizzabile sul proprio sistema da release V5R4M0
Consente di creare immediatamente le proprie applicazioni PHP web direttamente sul sistema
Free of charge
![Page 48: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/48.jpg)
| 51
| 51
http:// www. wi400. com
http://www.linkedin.com/groups?gid=2896949
Wi400: riferimenti
![Page 49: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/49.jpg)
ARRIVEDERCI
“Non è la specie più forte che sopravvive, né la più intelligente, ma quella più ricettiva ai cambiamenti.”
Charles Darwin
![Page 50: Presentazione wi400 i5](https://reader038.vdocuments.mx/reader038/viewer/2022103118/55baffa7bb61eb392d8b47ef/html5/thumbnails/50.jpg)
- Question Time ?#