Tuesday, November 15, 2005

parser

hi,

first, thanks to reto for the masterpage example. that helps me a lot.

i started with the parsing of the html pages. i think, i'll create a new class for that, which is responsible for the parsing proces. i'll put it in the same namespace, in which the other html classes are.
the parser will work that way:
  1. search for the special tag
  2. extract the documentation part
  3. save the comment in the comment class

i have one thing, which i need your meanings about it. should i put the sharedcodedocproject class and the htmlsite to the data layer? because i build these data structures in the data layer and return them. now i have a circular dependency between the data and the core layer. what's your meaning?

1 Comments:

At 10:50 PM, Anonymous Anonymous said...

Data layer is responsible for factoring and persisting objects.
SharedCodeDocProject and HTMLSite are your own defined types which get factored/persisted by the data layer.
Domainwise I don't think those classes belong to the data layer. I would introduce a Common assembly/namespace defining these types which can be used by all the layers.

 

Post a Comment

<< Home