Tuesday, October 03, 2006

update

i've been concentrating on sorting out a proper data and business layer for my app and every so often get myself in a muddle. if i have an class called File and a class called Project and i want to add a create a file in a project, should the method be in the File or the Project class.

To start with i put it the method in the File class, but then i changed my mind and put it in Project
I reckon that is right, but its little things like that, that i';ve been fiddling with recently.

Also discovered the ObjectDataSource which i think is really cool. so you can binder a control to a business object and still maintain a tiered structure.

The membership/roles functionality is pretty much sorted and working properly with the asp.net providers has changed my opinion of the new provider model. its perfect what i want to do for this site. quickly and easily add basic membership and roles. However if i ever wanted to query and personalisation info i'd be a bit fooked, but i don't so its perfect.

I'm just going through a hitlist at the moment now users can create a project, add developers to a project, hopefully later on today they'll be able to add files to a project. next i'll need to add delete/archive/view history on files in a project. I haven't quite decided whether to let all develoers add a file to a project or just let the admin do it.

For the main code window the next big thing to do is sort out the file and developer tabs. i plan to have a webservice that returns a collection of file objects and then in javascript create the html for entries in the "file" accordion pane. rather than get bogged down with generating html on the server side. I plan to use a similar approach to this when populating the list of developers code to view.

One big thing i've yet to decide on is how to deal with developers working concurrently on a file
should i implenebnt a check in, check out system where anyone can get a copy but only the person with the file checked out can commit his changes, or should i allow anyone to save a copy of the file and rely on the ability to resurrect and archived file to resolve issues of source being overwritten?

No comments: