G
Guest
Tom:
There are a variety of arguments against a single page model:
1. Not proper OO. This may not seem important right now, but .NET uses an
OOP model. If you break the model to simplify development, that is fine as
long as you can refactor to compensate over time. Most apps, however, are
never refactored to a proper model once they are built using kludgy or
bastardized methodologies.
2. You are moving away from explicit inheritance to implicit inheritance.
This is a common mistake, in many other ways than the issue here. Just
remember that implicit models tend to create more bugs than explicit models
and many of these bugs are logical rather than syntactical (ie, you find bad
data in your database instead of having the app "blow up" on compile or run).
3. Bad habits tend to follow you. While you are not working large
applications right now, you would, most likely, gladly get on board on a
large project if the opportunity arose. When you get to the bid, you will
either a) lose it, as you do not know proper methdologies (ie, you are "found
out") or b) you will end up with a bad design that hurts your client.
I understand the learning curve for proper OO in .NET. It is a pain. And, I
can understand the push against complex methdologies, as someone has to
maintain. Thus, making a decision to opt for a less than ideal model is a
decision one could logically make. My issue is it sounds like both you and
Alan are not only talking about coding this way today, but also never taking
the time to learn the proper way of building .NET applications. On the other
hand, MS is working to make your model work in the next version of .NET, so
you are covered.
Once again, if you are conciously making a decision for a single file per
page, then do it. You should, however, ensure you are making this decision
for the right reasons.
---
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
There are a variety of arguments against a single page model:
1. Not proper OO. This may not seem important right now, but .NET uses an
OOP model. If you break the model to simplify development, that is fine as
long as you can refactor to compensate over time. Most apps, however, are
never refactored to a proper model once they are built using kludgy or
bastardized methodologies.
2. You are moving away from explicit inheritance to implicit inheritance.
This is a common mistake, in many other ways than the issue here. Just
remember that implicit models tend to create more bugs than explicit models
and many of these bugs are logical rather than syntactical (ie, you find bad
data in your database instead of having the app "blow up" on compile or run).
3. Bad habits tend to follow you. While you are not working large
applications right now, you would, most likely, gladly get on board on a
large project if the opportunity arose. When you get to the bid, you will
either a) lose it, as you do not know proper methdologies (ie, you are "found
out") or b) you will end up with a bad design that hurts your client.
I understand the learning curve for proper OO in .NET. It is a pain. And, I
can understand the push against complex methdologies, as someone has to
maintain. Thus, making a decision to opt for a less than ideal model is a
decision one could logically make. My issue is it sounds like both you and
Alan are not only talking about coding this way today, but also never taking
the time to learn the proper way of building .NET applications. On the other
hand, MS is working to make your model work in the next version of .NET, so
you are covered.
Once again, if you are conciously making a decision for a single file per
page, then do it. You should, however, ensure you are making this decision
for the right reasons.
---
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************