Split modules to subprojects

agentrickard - August 23, 2009 - 17:32
Project:Domain Access
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

I am strongly considering moving the following into their own projects, to ease API development.

-- Domain Views
-- Domain Theme
-- Domain User

I would also consider moving:

-- Domain Alias
-- Domain Prefix

Thoughts? Objections? Offers to co-maintain?

#1

nonsie - August 23, 2009 - 20:20

I would keep Domain Views but move Domain Theme and Domain User into separate projects as they have very specific use case.
The same rule also applies to Domain Alias and Domain Prefix.

#2

agentrickard - August 23, 2009 - 20:52

I think we might be able to make better progress on Domain Views if it had its own release cycle.

I think Domain Alias may be the most useful module of the bunch, actually, so I am tempted to keep it. It doesn't change frequently.

#3

GiorgosK - August 24, 2009 - 08:56

Don't know enough about the project (I just started testing it 1 week ago)
but I have the feeling that "domain blocks" is probably fit for the main project ...

#4

agentrickard - August 24, 2009 - 13:48

@GirorgosK

The problem with that is that each new module in the package slows development of new features. It would be more efficient for me to split things up. I already rejected Domain Blocks for that reason.

#5

nonsie - August 26, 2009 - 22:26

I'm willing to maintain Domain Views if you really feel like it should be split from the main module.

#6

Skirr - August 27, 2009 - 07:10

It would be good to make a poll, to see what modules are used more often. Maybe my production sites usage will help.

I dont use this modules:
Domain Alias
Domain Prefix (not for begginers)
Domain Strict (this one is a traditional problem for people who dont read docs before usage) :)
Domain User (specific case)

#7

agentrickard - August 30, 2009 - 17:20

Yeah, let's run down some logic on the module list:

- Domain (required)
- Domain Alias -- ultra useful for me in my dev environment where we use multiple SVN checkouts. Staying.
- Domain Conf -- first helper module written and probably the most popular submodule. Staying.
- Domain Content -- helper module. Non-essential, but not hard to maintain. Probably staying.
- Domain Nav -- kinda cool, but small utility. Easy to maintain and shows off the API a bit. Probably staying.
- Domain Prefix -- an experiment. Hard to use and for experts only. Probably split to separate module.
- Domain Source -- popular, but confusing to some. Probably needs to stay.
- Domain Strict -- shows off the API; too small to be released stand-alone, IMO. Probably stays.
- Domain Theme -- cool, but has lots of edge cases that would benefit from a release cycle. Might split.
- Domain User -- an experiment, with limited use case. Should be split.
- Domain Views -- very useful module, but would benefit from its own release cycle, though that is less important now that Views is stable. Might split.

#8

croryx - August 30, 2009 - 22:12

Our production site uses:
Domain Conf
Domain Theme
Domain Views

#9

nonsie - August 31, 2009 - 17:55

Perhaps the solution for Views support is not to have it as a separate module but each submodule should provide its own views?
I vote for taking Domain Theme, Domain User and Domain Prefix out. Each of these are for a specific use case only.

#10

lvl1 - October 18, 2009 - 17:33

Using

Domain Alias
Domain Blocks
Domain Conf
Domain Content
Domain Source
Domain Theme

I believe except Domain theme all the above make a fine bundle for users to start off.

#11

agentrickard - October 19, 2009 - 14:23

I basically agree, except that Domain Blocks is a separate project now, and I'm not sure I want to bring it in.

These changes, btw, would affect the 7.x branch.

#12

agentrickard - November 1, 2009 - 15:52
Status:needs review» fixed

The following modules will be staying in the main package for D7.

-- Domain
-- Domain Alias
-- Domain Conf
-- Domain Content
-- Domain Nav
-- Domain Source
-- Domain Strict

And I _might_ split Domain into two modules, Domain, and Domain Access, making a generic domain handler in the process.

This means that the following are getting spun into separate projects:

-- Domain Prefix
-- Domain Theme
-- Domain User
-- Domain Views

The reasoning is that those 4 modules are quite complex, and need more attention.

#13

System Message - November 15, 2009 - 16:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.