Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Conception question

Thread Tools

Conception question

Posts: n/a
Hello everybody
I'm facing something maybe trivial but I cannot found the solution.
Here is the situation:
I want to code three web visual components that will all inherit from
the same base class called FormItem (abstract)
A FormItem has an Id, a Parent (which is a form item also), a Form
Item child collection, a Type (literal), a sort tag and some other
properties. This base class is built with two other classes
(FormItemEnumerator and FormItemList) to provide access to the child
The three derivated classes will be named Page, Group, Question. A
page can contain groups and questions, a group can only contain
All the properties are saved to a Sql database in the FormItem class
so that data can be retrieve later. Each visual component will be able
to support postback events.

What is the best way to code this? Should I code all my classes and
then create the visual components based on those classes or should I
start creating the visual components directly derivating from my main
I have some difficulties to separate the presentation, the events, the
base objects themselves, the persistence of the objects during
postback events, and the DB access to save/retrieve data

If you have already faced such an issue or if you have a good example,
please help me

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IF-free conception. Evgeney Knyazhev C Programming 169 02-27-2013 01:32 PM
how to express conception infinity in c++ westhood C++ 5 06-20-2007 01:34 PM
Question on Transcender Question :-) eddiec MCSE 6 05-20-2004 06:59 AM
Question re: features of the 831 router (also a 924 question) Wayne Cisco 0 03-02-2004 07:57 PM