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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Developing for CiviCRM
Pages: [1]

Author Topic: Developing for CiviCRM  (Read 736 times)

mcarson

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 5
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5
  • PHP version: 5.4.22
Developing for CiviCRM
July 04, 2011, 09:16:50 am
As a result of customising CiviCRM and Drupal, I have become increasingly familar with php and mysql (past MSSQL DBADMIN, VB.NET). I have made significant progress already with generating my own reports, templates and scripts.
I would like, however, to be more 'connected' to the CiviCRM development and am asking for any pointers on what to know and what tools to use, for developing my own patches and extensions to the CiviCRM codebase.
Currently I use Notepad++, CodeLobster, Eclipse (Aptana) and have access to both local development virtual machines and external VPS and dedicated servers running everything from Ubuntu to Centos and RHEL and one dedicated running MS Server.

I know I am jumping into the deep-end... (but that's how I learned to swim!)

----

I am planning to develop an easier reporting interface (for the end-user) and mobile applications for browsing/updating using Windows 7 Phone and Android (provides CiviCRM with SugarCRM/Salesforce abilities). All this would be done using a suitable licensing framework (GNU).
« Last Edit: July 04, 2011, 09:23:03 am by mcarson »
“Anyone who has never made a mistake has never tried anything new.” - Albert Einstein
"If you are travelling at the speed of light and you turn on your headlights, would they work?" - Unknown

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Developing for CiviCRM
July 04, 2011, 09:54:50 am
Hi,

I'm assuming you have read the chapters in our books about developments (custom reports, hooks, api...)

Read as well the blog posts in the architecture series, both to be updated on the latest changes and for the old ones that describes the various components.

Before starting dev, post in the forum to explain what you want to do and what is missing, you might get good ideas or someone that is already working on it.

Kyle and I started a mobile version:

https://github.com/kylejaster/CiviMobile

-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

mcarson

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 5
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5
  • PHP version: 5.4.22
Re: Developing for CiviCRM
July 04, 2011, 11:38:09 am
Thanks for the link to the CiviMobile; I had no idea this was in development (I was messing with theming CiviCRM for mobile views of 'certain' pages before going the custom application route (linking calendars and contacts helping with caching etc).

I have been reading the docs about the developments in custom reports, which were the inspiration behind the first of my own custom reports. The new API is fantastic and I have had some success with using this.

"Blog posts in the architecture series", er', where is that exactly? I have been reading the 'blog', is that where you mean?

One of the reasons behind my interest in 'dev' is knowing more about the system. On two occasions, I have made some changes to CiviCRM that have not went as planned, so the idea of setting up both a site based on the current stable version and one in development would provide me with the opportunity to:

1) Check the functionality of new stable versions (and the integration with our other sites)
2) Customise only if necessary, because it may have been included in newer versions
3) Complete advanced Drupal/CiviCRM theming without affecting the production version.

I already have a few 'mirrored' setups, I am just enquiring as to the best way to share my achievements with the rest of the community, other than in the forum. (I am again starting to use the documentation sections, but perhaps not the best way to interact, or to test suggestions...)

“Anyone who has never made a mistake has never tried anything new.” - Albert Einstein
"If you are travelling at the speed of light and you turn on your headlights, would they work?" - Unknown

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Developing for CiviCRM
July 04, 2011, 01:13:27 pm
Quote from: mcarson on July 04, 2011, 11:38:09 am
Thanks for the link to the CiviMobile; I had no idea this was in development


Can't say we heavily promoted it, beware, still rough (so far only contact search and participants), but would be easy to extend

Quote from: mcarson on July 04, 2011, 11:38:09 am
The new API is fantastic

I'd almost agree, but might be slightly biased ;)

Quote from: mcarson on July 04, 2011, 11:38:09 am
"Blog posts in the architecture series", er', where is that exactly? I have been reading the 'blog', is that where you mean?

http://civicrm.org/category/civicrm-blog-categories/civicrm-architecture-series

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

totten

  • Administrator
  • Ask me questions
  • *****
  • Posts: 695
  • Karma: 64
Re: Developing for CiviCRM
July 05, 2011, 04:36:40 pm
Quote from: xavier on July 04, 2011, 01:13:27 pm

Quote from: mcarson on July 04, 2011, 11:38:09 am
"Blog posts in the architecture series", er', where is that exactly? I have been reading the 'blog', is that where you mean?

http://civicrm.org/category/civicrm-blog-categories/civicrm-architecture-series

X+

In the same vein, you might also find this interesting if you're writing patches or extensions for core:

http://arms.dl.locker10.com/devel-doc/cheatsheet.html

mcarson

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 5
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5
  • PHP version: 5.4.22
Re: Developing for CiviCRM
July 21, 2011, 06:42:06 am
cheers for that, totten. Good resource.
“Anyone who has never made a mistake has never tried anything new.” - Albert Einstein
"If you are travelling at the speed of light and you turn on your headlights, would they work?" - Unknown

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Developing for CiviCRM

This forum was archived on 2017-11-26.