CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Porting CiviCRM to run on IBM DB2 Express-C
Pages: [1]

Author Topic: Porting CiviCRM to run on IBM DB2 Express-C  (Read 1320 times)

scotdb

  • Guest
Porting CiviCRM to run on IBM DB2 Express-C
November 07, 2009, 02:03:59 pm
Folks,

I'm interested in porting CiviCRM to run on the free (as in beer) version of DB2 : Express-C (http://www.software.ibm.com/data/db2/express).

But before I embark on such a project, I'd like the thoughts of others on a few things.

1) Does anyone have a handle on the effort, and complexity of the effort, in porting to another DBMS.    While I'm a competent enough programmer, I'm not a PHP guru.  And I have a "day job" and a family.
2) What about a test suite ?   I see in the shipped packages a shell script which appears to call a set of MaxQ test scripts, but I can't find the actual scripts.   I notice their is a "Sprint Weekend" later this month to improve the unit tests, but this seems to suggest that there are some already.  Are they available as a separate download ?
3) What is the long term strategy of the core team for database access ?   Pear-DB ?   PDO ?   I'd rather not do a port to find that the core changes underneath me ?

Anyone else got an interest in this ?

Thanks.

Phil Nelson
ScotDB Limited
(teamdba@scotdb.com)
 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Porting CiviCRM to run on IBM DB2 Express-C
November 08, 2009, 07:29:45 am

1. the new test suite is at:

tests/phpunit

instructions on running the tests are at:

http://wiki.civicrm.org/confluence/display/CRM/Test+Plans+and+Procedures

2. In 4.x we will be migrating away from PEAR and using a more recent PHP library/framework. We will consider moving to Zend at that time (and do a quick eval of some other packages also). I suspect the new package will be using PDO

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

scotdb

  • Guest
Re: Porting CiviCRM to run on IBM DB2 Express-C
December 01, 2009, 05:33:34 am
Donald,

Thanks for your reply.

If you are moving from PEAR:DB to PDO in the 4.x timeframe, then that would be a good time for me to maybe look at this.

I see from Sourceforge that the latest alpha release is 3.1, and the latest in the roadmap is 3.2 : what are your expected timescales for starting work on 4.x ?

For now, I've implemented CiviCRM (and Drupal) on MySQL at http://snowycorrie.org.

The charity I am doing this for was impressed with the functionality.   I'm using one of my domains for now to host this, but am hoping to persuade them to move their main domain over to Drupal / CiviCRM rather than the handcrafted site (raw HTML) they currently have.

Thanks again.

Phil Nelson

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Porting CiviCRM to run on IBM DB2 Express-C
December 01, 2009, 07:40:21 am

we dont have a timeframe for 4.0 (or for that matter 3.2). We pretty much decide things on a per release basis

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Porting CiviCRM to run on IBM DB2 Express-C

This forum was archived on 2017-11-26.