Back to list
Views:   9K
Replies:  1

jQuery Patterns and Practices needed

Hi all:

Does anyone know if there are any useful jQuery Patterns and Practices out there?
I'd like to learn it the 'right way'.
John Telstra, Mar 23, 2011
Reply 1
Since jQuery is based on Javascript the "JavaScript Pattern" is a good read.  This will build a solid foundation for further exploration of javascript in libraries like jquery, prototype, yui etc.. Also, this will help demystify many of the concepts found in javascript libraries.

Also here's a free book on Essential jQuery and JavaScript patterns

Hope this helps!
Rajesh Pillai, Mar 23, 2011
EF models. The PatternsInAction solution comes with one model - Action.edmx. I'm creating a new solution that contains multiple models (Account.edmx & Security.edmx). The DataObjectFactory.CreateContext static method returns a specific entity type (return new ActionEntities(_connectionString);). I'm trying to come up with a way for the DataObjectFactory to return the correct entity type. public static ObjectContext CreateContext(EntityType entityType) Is this the best way to go about returning different entity collections? Or should I just create separate CreateContext methods for each entity type: public static AccountEntities CreateAccountContext() { return new AccountEntities(_connectionString); } public static SecurityEntities CreateSecurityContext() { return new SecurityEntities(_connectionString); } Doug
Dec 04, 2010

Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.3.0