Split project into API an UI modules

bboyjay - February 27, 2008 - 15:49
Project:Drupal Contact List Importer
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:hadsie
Status:closed
Description

I built a module for a project that requires an array of contacts from a contact list. Thanks for building this module. It really helped me :)

I do have a feature request though. Would it be possible to split this project into 2 different modules?

1) an API for grabbing contacts
2) a user interface

In my module, I only make a call to dcl_importer_get_contacts to gather the contacts. The UI and menu items from DCL are not needed for the website I'm working on.

Advantages to you? I'm willing to help work on the DCL API by submitting patches wherever possible. Otherwise, if this won't work for you, I'd have to rip out what I need from DCL and have to maintain it on my own. It's definitely not an optimal solution for either of us (or others that may want to do what I'm doing).

Let me know your thoughts.

#1

soosa - February 27, 2008 - 23:04

That would be great actually :-), my problem is that i don't really have much time to enhance the module, there is a lot in the TODO list regarding dcl_importer but as i said i can barely find sometime for my self to do things that i really love to do like Drupal!
if you started this then that would definitely encourage me and give me a push since that would be a team work rather than a solo player :), ohh, and of course its an open invitation so every body can join the party :-), so, again my answer is yes :-) but you have to show me something so i can start working on that with you and with the others if any :-)

#2

bboyjay - February 29, 2008 - 18:55
Status:active» needs review

That is great news!

*update*: removed my patch for a newer better one coming soon.

#3

bboyjay - February 28, 2008 - 19:36
Assigned to:Anonymous» bboyjay
Status:needs review» needs work

I'll be tightening up this patch. A bit more work has to go into it.

#4

R.Muilwijk - March 14, 2008 - 10:55

I'm interested in co-maintaining this module. Because I think it should get a stable release ....

#5

bboyjay - March 14, 2008 - 14:58
Assigned to:bboyjay» Anonymous

The company I work for decided to go with another solution. Unfortunately I won't be able to do the split for this module. Hopefully R.Muilwijk and others can and will continue the work on this issue.

#6

soosa - March 14, 2008 - 20:05

@R.Muilwijk, your help is so much appreciated and yes, i believe it should get into a stable release but lets give it a lil while to make sure that everything is working fine, i am planning to add more sources to the list of providers that this module is supporting, let me add them and wait for a while so we can release a stable package.

Regards, soosa

#7

bboyjay - March 15, 2008 - 22:41
Status:needs work» active

#8

lgomes - March 27, 2008 - 05:25

Hi! I'm proposing a GSoC project to integrate contact APIs to Drupal so we could support functionalities such as previous friend finding. My goals are to develop a common base for different external APIs (Google Data, Windows Live, etc) and provide an exposed API to be used by other modules.
Maybe I could do this work as an DCL Importer extension (in fact this issue is one of the things I'd had to solve). Do you think it's a good idea? Using APIs as the external contact source would require major changes on this module?
Please take a look on my preliminary proposal at http://groups.drupal.org/node/10161. I didn't know DCL before, so my proposal doesn't mention it, but I plan to review it if your answers are positive.

#9

R.Muilwijk - April 14, 2008 - 14:07

I already supplied some patches and some tips for fixing stuff.. why don't you just apply them or atleast review them when you appreciate my help?

#10

andypost - August 1, 2008 - 23:23

IS this module maintained or not? What are the plans of maintainer?

#11

hadsie - June 28, 2009 - 06:43
Status:active» won't fix

The D5 module is no longer maintained. I won't be splitting the module into two modules for API + UI just yet as there's very few API calls that would be useful. I will be designing it in such a way that it will be easy to use it as just an API, however.

#12

hadsie - June 29, 2009 - 16:35
Title:Split project into 2 modules» Split project into API an UI modules
Version:» 6.x-1.x-dev
Priority:critical» normal
Assigned to:Anonymous» hadsie
Status:won't fix» active

Upon further thought I think it does make sense to split this into an API and a UI modules. Re-opening

#13

hadsie - July 13, 2009 - 16:28
Status:active» fixed

The module has now been broken down into it's core dcl_importer functions and had the invite code stripped out into another module. On it's on, the dcl_importer provides little more than an api and a form + hooks that can be used by other connector modules. Marking this as fixed, though more api work is still needed so that it can handle multiple retrieval libraries.

#14

System Message - July 27, 2009 - 16:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.