locked
Clubsite compared with Personal Starter Kit RRS feed

  • Question

  • User1148185011 posted

    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 than another?

    I see the discriptions on the ASP.NET Starter Kit home page, but I don't think this is answering my questions:

    Personal SK:

    • Databinding using DataList, FormView, and GridView controls
    • Custom handler for fetching images from a database
    • Two built in themes demonstrates a single-site multiple-theme architecture
    • Security trimming using the menu controls

    Clubsite SK:

    • Databound events calendar
    • Customized web controls
    • User controls
    • Data binding

    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?

    Thank you
    Kevin

    Wednesday, May 18, 2005 7:49 PM

All replies

  • User-1653776603 posted

    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:

    • I wrote a spec for the site Functionality
    • We had a designer produce some design comps as bitmaps.
    • Picked the design from those comps, and refined it a bit. The designer then flushed out the style for the different kinds of pages
    • The designer then produced static files with the html and css for the different kinds of pages
    • I then converted that into the master page, and individual pages

    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 by hand.

    It was a fun experience building the club site, I hope it can be useful as a basis for customer applications.

    Sam

    The clubsite  

     

     

    Thursday, May 19, 2005 2:09 PM
  • User-2135276508 posted

    I bought a copy of Visual Studio 2008 and I didnt see the starter site anywhere on there.

    Monday, May 4, 2009 11:25 PM