Geeks With Blogs

@scottkuhl
  • scottkuhl @SQLSuperGuru Glad you could make it. Very good presentation with lots of group engagement. about 52 days ago
  • scottkuhl @ngreader So what's the plan now that Google Reader is shutting down? about 66 days ago

News
Help CMTA!


Scott Kuhl Warning: I may have no idea what I am talking about! SubSonic

Getting started with SubSonic.

SubSonic 2.0 Is On The Way

Looks like less than a month.  Rob Conery has listed some details on features to expect.  The biggest ones are a command line executable, builders that will generate the site for you, a brand new starter kit and some solid many-to-many support.

Here is the announcement

Posted On Wednesday, February 21, 2007 7:03 AM

SubSonic Doc Finds a Home

Looks like my SubSonic document made it to the front page of the SubSonic project site.

Thanks Rob.

Posted On Thursday, January 25, 2007 5:02 PM

SubSonic 1.0.6 Released
The details of the release can be found in these two blog posts: SubSonic 1.0.6 Released and I Saw Mommy Kissing SubSonic. The two features I am most excited to see are: ForeignKey tables and Properties/Methods are now generated for each object to help with Querying Stored Procedure Output Params Download SubSonic. Do it now ......

Posted On Monday, January 22, 2007 3:35 PM

Getting Started with SubSonic (Download PDF)
Here is the full article in PDF format. Complete with bookmarks to each section of the article. Summary SubSonic is an open-source toolset, created by Rob Conery, as an attempt to put the fun back into programming and just get the job done. Inspired by Ruby on Rails, SubSonic takes a minimalist approach to coding and emphasizes convention over configuration. While it takes its inspiration from Ruby on Rails, it is not a port of it. (Check out MonoRail it that's what you're looking for.) Instead, ......

Posted On Saturday, December 9, 2006 2:35 PM

Getting Started with SubSonic - Part 25 (Final), Starter Kits
SubSonic Starter Kit From the CodePlex site, you can also download the SubSonic Starter Kit. To use this, from Visual Studio, select New -> Web Site and pick SubSonic Starter Site. This will give you a good starting template for your own site that includes the following. _Dev\ASPNET_Membership - Web pages for user and role membership editing. _Dev\Generators - The same generators found in the sample web site plus a MigrationGenerator page. Run this page and it will create SQL scripts containing ......

Posted On Friday, December 8, 2006 9:57 PM

Getting Started with SubSonic - Part 24, Sample Web
The sample web that is downloaded along with the SubSonic source has been discussed periodically throughout this guide. The following is a list of what is provided. App_Code\Utility.cs - Miscellaneous functions commonly needed when building web applications. App_Themes - A default theme to get you started. Dev\CodeTemplates - Text file representations of the templates used to generate classes. Use these as a starting point if you need to create custom templates. Dev\DB - Sample database scripts for ......

Posted On Friday, December 8, 2006 9:54 PM

Getting Started with SubSonic - Part 23, Conventions
Controllers Instead of accessing the data functions directly, the Controller design pattern is recommended. To implement this, create a Controller class in the App_Code directory. public class ProductController Then add methods to retrieve the data using collections. public ProductCollection GetAllProducts() And to update the data. public void UpdateProduct(Product product) While there is nothing enforcing these rules, it will make it easier to insert business rules and re-use methods from a single ......

Posted On Friday, December 8, 2006 2:06 PM

Getting Started with SubSonic - Part 22, Code Generation Templates
There is one more way you can tweak SubSonic without changing the code. SubSonic creates the auto-generated classes by using standard text. By adding alternate text files to the templateDirectory defined in the configuration file, you can change this behavior. For a full sample list of these files, check out the CodeTemplates directory in the sample web site. Find the entire series of posts here ......

Posted On Friday, December 8, 2006 2:05 PM

Getting Started with SubSonic - Part 21, Scaffolding
The scaffold control is used to quickly create developer level admin pages. By dropping a single control on the page, you get a GridView and update controls. This control should appear in your Toolbox under SubSonic Components. Just set the TableName property and you're ready to go. <cc1:Scaffold ID="Scaffold1" runat="server" TableName="Products"><... It is also possible to apply some visual formatting through the EditTableCSSClass, EditTableItemCSSClass, EditTableLabelCSSClass ......

Posted On Friday, December 8, 2006 2:04 PM

Getting Started with SubSonic - Part 20, Stored Procedures
Some tasks are just too complicated for dynamic query building and/or require a greater level of control. To handle this, SubSonic supports stored procedures. Each stored procedure will produce an equivalent static method in the class defined in the configuration file. By default this is SPs. Each method will have one parameter for each stored procedure parameter and return a StoredProcedure object. SubSonic.StoredProcedure sp = SPs.CustOrderHist(customerID); The stored procedure can then either ......

Posted On Friday, December 8, 2006 2:03 PM

Copyright © Scott Kuhl | Powered by: GeeksWithBlogs.net | Join free