Archive

Posts Tagged ‘i5’

Alan Seiden's PHP and IBM i Resources › ZF2 and DB2 for IBM i

October 16th, 2012 Comments off

I’d like to address questions about DB2 support in Zend Framework 2.x. Because I helped create the IBM i-friendly DB2 adapter for Zend Framework 1.x, I’m following the development of a similar adapter for ZF2.

Q. Does ZF 2 include an adapter for DB2?
A. ZF 2.0 does not, but read on.

Q. When will a DB2 adapter be included in ZF 2.x?
A. Rumor says ZF 2.1 or 2.2. I plan to discuss it with the Zend Framework team at ZendCon in a week or two (late October, 2012).

Q. Does Alan’s IBM i-friendly DB2 adapter for Zend Framework 1.x work in 2.x?
A. No. Because ZF’s Zend_Db equivalent in 2.x works differently than in 1.x, my 1.x component will not work in 2.x.

Q. When will you know more?
A. I’ll know more after ZendCon, so probably late October/early November. I plan to spend time with the db adapter team at the conference. We’ll discuss the needs of IBM i users, such as support for driver-specific features, including library lists.

Q. Help! I must use ZF2 now.
A. You can still use the underlying functions in the ibm_db2 driver (db2_connect, db2_exec, etc.). I know one person creating his own bare-bones adapter based on these. For most people, though, it’s best to wait for the official announcement.

I’ll update this blog post after ZendCon.


Read the original at Alan Seiden's PHP and IBM i Resources.

Alan Seiden Consulting: PHP and IBM i Expertise › ZF2 and DB2 for IBM i

October 16th, 2012 Comments off

I’d like to address questions about DB2 support in Zend Framework 2.x. Because I helped create the IBM i-friendly DB2 adapter for Zend Framework 1.x, I’ve followed the development of a similar adapter for ZF2.

(updated January 30, 2013, upon the release of ZF 2.1)

Q. Does ZF 2 include an adapter for DB2?
A. Yes! Starting with ZF 2.1, which was released today.

Q. Is Alan’s IBM i-friendly DB2 adapter for Zend Framework 1.x needed in 2.x?
A. No. Because ZF’s Zend_Db equivalent in 2.x works differently than in 1.x, my 1.x component is not needed in 2.x.

Q. Does ZF 2.1′s DB2 adapter work with IBM i?
A. Yes! Please try it and provide feedback to the ZF team.


Read the original at Alan Seiden Consulting: PHP and IBM i Expertise.