100 likes | 264 Views
ConventionsVariable namingUI guidelinesDocumentationFile structureNamespaceDB. Business Objects and theirBase Classes . Supporting SWnUnitnDocSource Safeetc. Application Frameworks. Supporting AlgorithmsCacheSecurityInternationalisationLoggingetc. ORMnHibernateWilsons ORMetc,
E N D
1. Expert C#Business Objects(Rocky’s Book)ApressCSLA.NETComponent-base Scalable Logical Architecture Rockford Lhotka
2. Application Frameworks
3. Business Objects Self contained
Know how to load, save (and update) and delete themselves
Contain all business logic
Provide a ‘perfect’ interface into the object
“Smart data”
4. Common functionality CRUD (CFUD) + Async calls *
Readonly objects
Collections and read only collections
N-level Undo support
Serialization
Event support
Data binding
Primary key support (Criteria object)
Business rules and violation handling
Remote CRUD via remoting *
5. Rocky’s book 816 pages describe 8 classes!
Step by step through all decisions and code
Acknowledges that it is not a complete solution and people will need to change some aspects depending on their situation
GREAT background to key technologies (remoting, serialisation, COM+, reflection, Attributes. Role based security)
6. Not so good things about the book The book was way too long
The book assumes that you don’t know what a database is but assumes that you are a guru of UML
Much of the book was devoted to supporting remote business objects
7. Not so good things about the technology You would have to write LOTS of code
The nullable type support was questionable (at best)
Collection handling possibly inefficient use of the DB
8. Great things #1 Well explained
The technology dovetails with a CRUD code generator
Deep understanding of the affect that WebForms/WinForms has on base class design esp with data binding
Makes great use of the various Interfaces provided by the framework
Events are well considered
N Level undo is excellent
9. Great things #2 How to get a distributed business object working is really well explained
Great explanation of remoting, security, attributes and serialization