Forum OpenACS Development: Re: dotWRK: Project Manager

Collapse
Posted by Nick Carroll on
Jade,

I've looked at your code and it is very similar to what I've done... which was modify the Notes package.  The main difference is that I'm using the content repository instead of ACS objects directly.  I'm just having problems with creating the project hierarchy, which Ola demonstrated above with his sample code.  The indented_name isn't being indented.  Once I've worked this out I'll contribute my code to CVS as well.

Cheers,
Nick.

Collapse
Posted by Jade Rubick on
Nick, please do so. I hate for us to be duplicating each other's work. I was planning on using the content repository as well, so I look forward to looking at your code.

I'd like to suggest we merge our code together. It would be better if we determine what's good about each one, and merge them together, rather than running off in slightly different directions.

My progress report:

I've been working on the organizations package, which I think we should use to model the organizations associated with a project. I wrote a simple UI, and fixed a few bugs in the data model. It looks like a good data model -- I think Jon did a good job with it. If we build on that, plus ref-itu, telecom-number, and postal-address, we'll have that portion of our data model done for us.

I've started looking at workflow, and how to integrate it into the project-manager package. It doesn't seem to be that easy of process.

More soon.

Collapse
Posted by Nick Carroll on
Jade,

How would I go about merging my code with yours?

Should I just check it into /contrib for the time being?  If so would you be able to tell me how I would do this?

Cheers,
Nick.

Collapse
Posted by Jade Rubick on
There are a couple of ways we could merge the code.

If you ask for write permissions on the project-manager directory, you could download project-manager, make the improvements (adding in the content repository and your hierarchical project view pages, for example), and then commit the work yourself.

If there are any things to discuss of which way to go designwise, we can discuss it here.

I think you need to ask Don or Peter for permission to the CVS contrib/project-manager directory.

We don't need to work about upgrade scripts until we get to alpha, in my opinion.

Does that sound good?

Let's coordinate a little more on our design of this as well. I want to make sure we take the best of both of our designs, or even better, come up with designs better than both of ours 😊

Collapse
Posted by Nick Carroll on
Just requested CVS write permission.  I don't know how long this will take, but I'll check your code out and make the changes now.

I'm just creating hierarchical project folders, so it is independent of your data model.  So the merge shouldn't be a problem.

The folders should contain resource items, task items, and a project description item.  These items can be added when viewing a specific project folder (view page).  I think we'll stick with your datamodel for the time being Jade.  My tables just have too many columns, and plpgsql functions don't take enough arguments (16).

That's my plan for the short term.

Collapse
Posted by Jade Rubick on
That sounds good Nick. Let me know if you have any questions or I can help out in any way. I'll post here if I do any further coding, like adding in Tasks or anything like that. That way we won't step on each other's feet.

Have you taken a look at my very very primitive UI mockups? I'd love some feedback on them, and some better designs 😊

Collapse
Posted by Nick Carroll on
Jade,

I'm not really a UI person.  My templates are really simple at the moment.

I've checked out your code, and making the modifications now.  I'm getting rid of the acs-objects code, and replacing it with the content  repository stuff.  I'll try and check the changes into CVS over the weekend.

- Nick.

Collapse
Posted by Jade Rubick on
Status update on project-manager:

Nick is working on adding use of the content repository to the project-manager. I believe he said he'll be done with that this or next week (I don't remember which).

I'm working on another project until then. Once he has added in the content repository code, I'll start working on adding in Tasks.

We would welcome some more coders, if anybody else is able to contribute. Currently, most of our work is around the data model.

Has anybody else added workflow to any packages besides the bug-tracker? I'm curious what other people's experiences have been. So far, despite Lars' excellent documentation, it looks pretty complicated. If I wade deeply into it, I'll start posting real questions.

Would it be hard to add workflow later?