S
Simon
Hi all,
I'm hoping that someone could help with the following general question:
I'm making a website that manages beta releases of software. It does various
things like store bugs, comments, work arounds and feature requests. Users
can subscribe to be notified if a feature or bug is detected in their area
of interest.
The software developer can publish new and polls and all sorts of crap like
that.
My question is, is it good practice to create a class or struct for nearly
all the nouns in the statements above.
I currently have classes representing Users, Roles, Permissions.
I'm wondering if I should create classes for things like bus, comment,
feature requests and so on or should I just pass around datasets and
datarows to represent the data and have other classes work on those data
collections.
If I should use custom objects for most of these requirements should I
always initialise them in the data layer before passing them back up to the
buisiness tier?
Thanks to any advice you can offer.
Kindest Regards
tce
I'm hoping that someone could help with the following general question:
I'm making a website that manages beta releases of software. It does various
things like store bugs, comments, work arounds and feature requests. Users
can subscribe to be notified if a feature or bug is detected in their area
of interest.
The software developer can publish new and polls and all sorts of crap like
that.
My question is, is it good practice to create a class or struct for nearly
all the nouns in the statements above.
I currently have classes representing Users, Roles, Permissions.
I'm wondering if I should create classes for things like bus, comment,
feature requests and so on or should I just pass around datasets and
datarows to represent the data and have other classes work on those data
collections.
If I should use custom objects for most of these requirements should I
always initialise them in the data layer before passing them back up to the
buisiness tier?
Thanks to any advice you can offer.
Kindest Regards
tce