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!
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:
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 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.
rargie
Member
20 Points
11 Posts
Codesmith (or similar) templates for TBH architecture
May 02, 2009 12:13 AM|LINK
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
TheBeerHouse Architecture beerhouse codesmith generator TBH
Lee Dumond
Contributor
6404 Points
1173 Posts
Re: Codesmith (or similar) templates for TBH architecture
May 02, 2009 01:33 AM|LINK
You might try Flixon Generator, which was built almost straight off TheBeerHouse architecture and is free for the taking.
Follow Me on Twitter
jimibt
Member
724 Points
185 Posts
Re: Codesmith (or similar) templates for TBH architecture
May 03, 2009 01:21 PM|LINK
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
rargie
Member
20 Points
11 Posts
Re: Codesmith (or similar) templates for TBH architecture
May 04, 2009 11:01 PM|LINK
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).
jimibt
Member
724 Points
185 Posts
Re: Codesmith (or similar) templates for TBH architecture
May 06, 2009 08:27 AM|LINK
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