Codesmith (or similar) templates for TBH architecture

Last post 05-06-2009 4:27 AM by jimibt. 4 replies.

Sort Posts:

  • Codesmith (or similar) templates for TBH architecture

    05-01-2009, 8:13 PM
    • Member
      20 point Member
    • rargie
    • Member since 02-17-2009, 6:31 AM
    • Buenos Aires, Argentina
    • Posts 11

    Hello,

    I've been getting acquainted with TBH and have added a 3 tier photo application plus additional content types, which all work well. But I'd really like to be able to add more stuff like this using a code generator to save me the repetition of the DAL and Stored Procedures in particular. I tried out the .netTiers template in Codesmith but have to confess it is waaaay over my head at this stage and seems a bit bloated, I want something simple like the TBH architecture. Is there a Codesmith template kicking around anywhere which generates the TBH architecture? I downloaded the trial version today so am still getting to grips with it, any help appreciated!

    Cheers

    Rich

  • Re: Codesmith (or similar) templates for TBH architecture

    05-01-2009, 9:33 PM
    • Contributor
      6,366 point Contributor
    • Lee Dumond
    • Member since 11-03-2004, 2:51 PM
    • Decatur, IL USA
    • Posts 1,168

    You might try Flixon Generator, which was built almost straight off TheBeerHouse architecture and is free for the taking.

     

  • Re: Codesmith (or similar) templates for TBH architecture

    05-03-2009, 9:21 AM
    • Member
      724 point Member
    • jimibt
    • Member since 04-13-2007, 10:13 AM
    • Creetown, UK
    • Posts 185

    yes rich,

    as lee mentioned, you can try the flixon site generator which is a direct tbh architecture set of templates. i've been looking after the enhancements and new functionality of it for quite some time. you can read about the latest version on his very forum here:

    Announce: Flixon Site Generator V2 now available

    enjoy...

     


    jimi
  • Re: Codesmith (or similar) templates for TBH architecture

    05-04-2009, 7:01 PM
    • Member
      20 point Member
    • rargie
    • Member since 02-17-2009, 6:31 AM
    • Buenos Aires, Argentina
    • Posts 11

    Thanks chaps, I'll give it a try.

    I had a crack at writing codesmith templates anyway, with mixed results. I'd be interested if anyone had some that they would be willing to share, specifically ones that handle the provider class (e.g. PhotoProvider.cs) and provider implementation class (e.g. SqlPhotoProvider.cs) where there are multiple tables involved (e.g. if I want a photo app with albums and comments, like the 'Articles' in the Beerhouse example).

  • Re: Codesmith (or similar) templates for TBH architecture

    05-06-2009, 4:27 AM
    • Member
      724 point Member
    • jimibt
    • Member since 04-13-2007, 10:13 AM
    • Creetown, UK
    • Posts 185

    rargie:

    Thanks chaps, I'll give it a try.

    I had a crack at writing codesmith templates anyway, with mixed results. I'd be interested if anyone had some that they would be willing to share, specifically ones that handle the provider class (e.g. PhotoProvider.cs) and provider implementation class (e.g. SqlPhotoProvider.cs) where there are multiple tables involved (e.g. if I want a photo app with albums and comments, like the 'Articles' in the Beerhouse example).

     

    I think you'll be quite happy with the flixon implementation as this is EXACTLY what it does (i.e. the provider class and implementation). As mentioned, the templates model the tbh architectecture exactly with a few minor improvements.


    jimi
Page 1 of 1 (5 items)