>I have learned about compartmentalizing my code base using Class Libraries.
>I have my common code such as my ORM framework broken out into their own
[quoted text clipped - 17 lines]
> 2) Do I want to convert to the "Web application model" based on my
> described needs.
Wow, this is the information and synthesis I've been seeking for a long
time, I really appreciate it, John.
I agree with you regarding the problems with the Web Site model. More
generally, I think Microsoft needed/needs to do a much better job explaining
to newbies how professional developers structure a set of projects,
reference class libraries, deploy to virtual directories, and so forth.
The problem now is that a lot of people have walked into VS.NET from a
Dreamweaver/ASP background, rather than a "real developer" background, and
the organizational idiom there is completely different. Some of us from
non-dev backgrounds start out the process of making compiled apps having no
clue of what's being made or how to organize the pieces. With Dreamweaver
et. al, file/project organization tends to be much more literal: on my dev
machine was an archive of a bazillion files that exactly mirrored the
production server. My ASP-based web applications churned out thousands of
files (rendered PDFs and images), and naturally my dev machine served a
backup of what was on production. Simple. This arrangement is easy and works
great for Dreamweaver-ish sites. But it was a disaster when I started
dealing with compiled projects, and cluelessly created one mega solution
based off it. I found it frustrating that my simple projects took minutes to
compile, and that I did not have the seem to have the agility I had when I
wrote Classic ASP apps. I didn't understand why such a great tool with a
great debugger and great Intellisense was so terribly sluggish.
Fortunately for me, .NET-specific tools like EntitySpaces' ORM and Telerik's
components were compelling enough that I stuck with it long enough to figure
out some of how things should be done and to ask the right questions of
helpful people like yourself. I think Microsoft needs to think about the
bazillions of newly minted coders who are going to be coming into VS.NET,
attracted by its amazing IDE, Silverlight Apha's clean programming model
(compared to AS2...), and the ever-increasing capability of the ASP.NET
plafrom. If newbies do not understand the basics of how to structure their
projects and solutions, and they do not have peers to teach them the right
way to do things, many people will not figure out how to make the tool
acceptably performant, or how referenced class libaries as projects can
centralize code smartly, or many other basic, critical things.
One person's $0.02. Stepping off the lonely soapbox, let me thank you again
for your generous help.
-KF
>>I have learned about compartmentalizing my code base using Class
>>Libraries. I have my common code such as my ORM framework broken out into
[quoted text clipped - 48 lines]
> more. I'd suggest starting with this and changing to multiple solutions
> when the single solution becomes a problem.
John Saunders [MVP] - 23 Jun 2007 02:45 GMT
> Wow, this is the information and synthesis I've been seeking for a long
> time, I really appreciate it, John.
[quoted text clipped - 41 lines]
>
> -KF
KF, it's good to hear from someone who got here from the other direction.
It seems to me that,with discipline, it should be possible to use the Web
Site model for pure "web site" stuff, and use a "real" development model for
producing the class libraries used by the web site to deal with the
"application" part of what it does. That would allow people used to web site
developemt to continue using their familiar tools and techniques.
The problem comes when trying to wedge non-UI code into the web site model.
It just doesn't work well.
John
>>>I have learned about compartmentalizing my code base using Class
>>>Libraries. I have my common code such as my ORM framework broken out into
[quoted text clipped - 49 lines]
>> much more. I'd suggest starting with this and changing to multiple
>> solutions when the single solution becomes a problem.