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) »
  • Remove Modules/Components/Reports from CiviCRM?
Pages: [1]

Author Topic: Remove Modules/Components/Reports from CiviCRM?  (Read 741 times)

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Remove Modules/Components/Reports from CiviCRM?
August 10, 2012, 05:15:50 pm
Now that we have an awesome extension directory and a cool way to download and install extensions from within CiviCRM, can we discuss...

Modules for removal from Core?
  • Views Integration
  • Civi Group/Member/OG Sync
  • Civi Engage
  • Rules Integration
  • Civi Theme

Reports for Removal?
  • All but the most commonly used?

Components for Removal?
  • CiviCase
  • CiviGrant

The other question of course is how?

One Idea: Write an update script that detects enabled modules/components/reports which are no longer in core and advises the admin to download them.

Other ideas?
Try asking your question on the new CiviCRM help site.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Remove Modules/Components/Reports from CiviCRM?
August 10, 2012, 08:58:58 pm
I suppose the real question is who's going to maintain them if they get cut loose from core?
Try asking your question on the new CiviCRM help site.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Remove Modules/Components/Reports from CiviCRM?
August 11, 2012, 05:14:43 am
Hi,

Obviously, what's mandatory for one or is not commonly used for another.

If we start going that road, I think we should go full node.js and move out all components/reports/stuff out of civi and make them downloadable separately. It's not about which modules/components/reports to remove, but about packaging them directly and avoid to download the full bundle directly.

I hated that approach on drupal until I discovered drush dl. We need a drush civicrm-download equivalent before relying too much on extensions IMO. Not sure how it works for WP and J!

One issue node.js and npm has solved much better than drupal and drush is finding the best modules. Providing info about how many other modules depends on this one, or the latest changes helps. That and a culture that seems to encourage more collaborating, we need to plan that.

How to add to the directory? Is there already a workflow in place?

Anyway, great discussion to start
-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: Remove Modules/Components/Reports from CiviCRM?
August 11, 2012, 01:50:00 pm
Based on my previous discussion with Coleman, I suspect the three of a us generally agree that it's a good idea to move towards full modularization - and his message sounds like a first step in that direction. I'm not sure we've actually made the case for why that's a good idea. A few pros:

- To my mind, the big one is making the development process scale to include more developers at more organizations with more varied interests. This is done by giving folks more power to mix, match, fork, experiment, and re-assimilate.

- It encourages more design discipline. When it's obvious that one component is used by several others, one thinks harder about the software contracts.

- It loosens up the release scheduling - if some new feature in CiviGrant turns into quagmire, there is little risk it will hold up release of the platform. OTOH, if a user is frustrated by low priority bug that's fixed in trunk, then he can try the trunk version of the one relevant module - rather than updating everything.

- Everyone else is doing it - eg both Drupal and Salesforce have made the transition from applications to platforms.

Of course, there are downsides too:

- More attention goes into platform/infrastructure issues. Given fixed resources, this would mean fewer resources for deep thinking about use-cases that define our market. The question is whether modularization would subtract from fixed resources or help bring in more resources.

- Our tooling needs updates. For downloads/builds/dependencies, I like composer. It (can be made to) work with plain PHP libraries as well as modules in a framework. Since its PHP based, we could build a wrapper UI. Our phpunit setup will also need revision.

- Existing code would need to be reorganized. This can be done incrementally or all at once. The process will create issues or expose gaps in architecture, requiring us to refine interfaces.

- There's no guarantee that the benefits listed previously will materialize. The best-case is that consensus says they are likely to materialize.

(Note: Edited for typos. Originally typed this on a mobile device -- which was not easy.  ::) )
« Last Edit: August 11, 2012, 03:45:58 pm by totten »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Remove Modules/Components/Reports from CiviCRM?
August 17, 2012, 11:25:28 am
Well said Tim (even from a mobile!).
I think the positives well outweigh the negatives.
And... (thinking even bigger)
If we all put our minds toward erasing the line between civicrm "Extensions" and "Components" we can eventually make it happen!
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Remove Modules/Components/Reports from CiviCRM?

This forum was archived on 2017-11-26.