Last post May 04, 2009 11:25 PM by djangolives
May 18, 2005 07:49 PM|ncbc-kevin|LINK
I don't know how to articulate it, but I notice there is a different tactic in the code development between these two starter kits. Could someone help me articulate the differences? Is one "better" than the other? Is one more "advanced" than the other?
What I'm wondering about is how they approach the code structure: e.g., it looks like a lot of the code for the clubsite SK is in the App_Code folder, but there is also more of it in the script sections of the individual .aspx files. Is one approach better
I see the discriptions on the ASP.NET Starter Kit home page, but I don't think this is answering my questions:
Also: Is one of the two more likely to be developed futher or sooner? Since the Personal Starter Kit is included within VWD as a default Web site, does that mean it will get more attention?
May 19, 2005 02:09 PM|samsp|LINK
The style of the two sites are different due to slightly different goals, and different people working on them. Both sites were developed to provide examples of how to use asp.net, and to provide a starting point for customers to build their own sites.
As the personal site is shipped in the box, it has had a bit more productization attention than those shipped to the web.
I am hoping to release the events calendar code so that people can customize it further. It was my first attempt at writing a databound control, so its not perfect, but a useful control in that type of site.
I used user controls a fair amount when I wanted to have multiple controls interact with each other in a databound form. Becuase the find control expressions can be a little long winded and complicated, its cleaner to create a user control to encapsulate
the interaction, and then bind that usercontrol to the data by exposing the necessary properties off the control.
We followed a development model that we have seen used at a number of customers:
The designer used some fancy features that are not natively part of the asp.net controls, such as the rollover buttons. I could have used expando attributes on the linkbutton and hyperlink controls to add the css, but given the number of them used in the
site, it seemed cleaner to inherit from those controls and create a custom control that added the right css. Hopefully it also shows how its easy to extend the existing controls if they don't do directly what you need.
The site uses a lot of declarative databinding. This is one of the coolest and most useful feature in asp.net. A site like this is all about data, and using the sql datasource, and object datasource made building it much simpler than having to do the binding
It was a fun experience building the club site, I hope it can be useful as a basis for customer applications.
May 04, 2009 11:25 PM|djangolives|LINK
I bought a copy of Visual Studio 2008 and I didnt see the starter site anywhere on there.