Note that there are some explanatory texts on larger screens.

plurals
  1. POWhich SubSonic 3 template to use
    primarykey
    data
    text
    <p>EDIT: There's now a <a href="http://subsonicproject.com/docs/Selecting_Templates" rel="nofollow noreferrer">doc page</a> on this so this question is irrelevant, also it's outdated. Read the docs not this question.</p> <p>I've been toying with the SubSonic 3 code generation for a month or so now and I'm interested in getting some feedback from others on which template they use and why. </p> <p>EDIT: Rob's been blogging about the different templates so I've added links to the posts</p> <h2>ActiveRecord - <a href="http://blog.wekeroad.com/subsonic/subsonic-30-activerecord/" rel="nofollow noreferrer">More details from Rob's blog</a></h2> <p><strong>Pros</strong> </p> <ul> <li>Supports a popular and well understood pattern </li> <li>Allows easy migration from version 2.2 </li> <li>Built-in testing for ActiveRecord (See Rob's answer below)</li> <li>Implements the Repository pattern </li> </ul> <p><strong>Cons</strong> </p> <ul> <li>Considered heavyweight in the objects it generates </li> </ul> <h2>Simple - <a href="http://blog.wekeroad.com/subsonic/subsonic-30-the-simplerepository/" rel="nofollow noreferrer">More details from Rob's blog</a></h2> <p><strong>Pros</strong></p> <ul> <li>Generates POCOS</li> <li>Implements the Repository pattern </li> </ul> <p><strong>Cons</strong> </p> <ul> <li>Generates a massive single file for all classes that can make browsing the generated source a pain</li> </ul> <h2>Advanced</h2> <p><strong>Pros</strong> </p> <ul> <li>Generated file structure is much neater than simple</li> <li>Generates POCOS</li> <li>Implements the Repository pattern </li> </ul> <p><strong>Cons</strong> </p> <ul> <li>?</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload