DevForce® Developers

DevForce Fundamentals

Duration : 12 minutes

Topics:
- Business Object Definition
- What Maps to What?
- Object Mapper Output
- Entity Inheritance Tree
- Customizing Business Object Classes


Duration: 35 minutes

Topics:

- .NET BindingSources
- Using the DevForce ControlBindingManager
- Using the DevForce DataGridViewBindingManager
- Simple Data Retrieval


Duration: 12 minutes

Topics:

- Saving Changes
- Undoing Changes



Part 7A - Supporting Disconnected Users
Download

Duration: 17 minutes

Part 7B - Supporting Disconnected Users
Download

Duration: 18 minutes


Topics:

- Disconnected v. Intermittently Connected Application Use
- Working with the PersistenceManager Entity Set
- Storing and Restoring the Cache to a Local File
- Just-In-Time Data Retrieval made Visible


Part 8 - Adding and Deleting Business Objects
Download

Duration: 23 minutes

Topics:

- Creating Entities
- Accomodating Different Styles of Primary Key
- DevForce Custom ID Generation
- Deleting Business Objects
- Removing Business Objects from the Cache


 

Duration : 15 minutes

Topics:
- Where to put Validation Code
- When and How to Execute Validation Code
- Validating at the Property Level
- Validating at the Object Level


Duration : 18 minutes

Topics:
- Handling Null References
- The DevForce Null Entity
- Customizing the Null Entity for a Business Class


Duration : 11 minutes

Topics:
- Linking Entities
- Primary Key Considerations
- Many-to-Many Relations Properties
- Duplicates in Many-to-Many Relations
- Adding and Removing Many-to-Many Entities


Duration: 10 minutes

Topics:
Demonstrates the Disconnected Application Tutorial


"Verification" is the DevForce technology for validating user input and displaying the results.

This tutorial consists of a video series that takes you from an empty solution to a full featured example. You'll be verifying after a few clicks and then progress through a sequence of problem / solution exercises that lead you into the heart of Verification.

The early lessons are quite easy (level 200) but about midway we kick it up a notch (level 300) as we drill into the details of customization. You are welcome to dive in or you can simply harvest the supporting classes from the tutorial code and use them "as is" in your application.

Please refer also to the extensive Verification chapter in the Developers' Guide.

Click here  to download the C# code as it is at the end of the tutorial (the finished Visual Basic version will be here shortly).

Introduction to Validation through Verification 42:43
This recording of a round-table orientation to validation and DevForce Verification is aimed at a non-technical audience but you may find it helpful too. There is no code here;  move on to "Part 1" to get started on the tutorial.
Part 1:  Adding validation to your application 13:21
Build the Employee viewer from a blank solution, generating verification with the Object Mapper.
Part 2:  Generated Verifiers 10:20
We see that the Object Mapper generated attribute verifier into the business object classes. We learn to unlock the UI so the user can change focus after an error.
Part 3:  Adding Verifiers 13:28
Add an attribute verifier to a custom business object property and add verifiers with a VerifierProvider.
Part 4:  Custom Verifiers 21:42
Create custom verifiers and add them with the VerifierProvider.
Part 5:  Invoking Verification 23:43
We get an overview of the "VerifierEngine" and learn about how to tell the engine to validate in one of two modes: "instance verification" and "triggered verification".
The tutorial turns more advanced (Level 300).
Part 6:  Controlling the Engine 19:24
Add a BaseEntity to your model to hold validation-related behavior for all of your business objects. Configure a VerifierEngine and manipulate its verifier collection by removing one of the verifiers generated by the Object Mapper.
Part 7:  Watching the Engine 16:41
Using a "BatchInterceptor", we'll watch the VerifierEngine as it executes each verifier and "intervene" by writing to the console after each one.
Part 8:  Improving the User Experience 19:23
If the user can switch tasks without saving, as is typical in MDI applications, the validation experience we've developed so far may not be good enough. "Broken Rules", an approach invented by Rocky Lhotka, is a better paradigm for such apps. We describe "Broken Rules" and implement the first part of our version of it in this video; we complete the job in the next.
Part 9:  Caching VerifierResults xx:xx
Caching VerifierResults is the second essential step in our version of "Broken Rules" validation. We'll do that in the BaseEntity class of our business model.
Part 10:  Cross-Object Verification xx:xx
Changes to one object could invalidate other objects. These are tough rules to enforce but you can do it with "cross-object" verifiers. We'll create a verifier that warns if the sales rep is credited with an order placed before he was hired, then watch as a change to the rep's hire date triggers alarms for all of his suddenly invalidated orders.
Part 11:  Display multiple errors xx:xx
Error bullets aren't the only way to show verifier results. We'll listens to changes in the verifier cache and display a "pop-up panel" when there are errant results.


Learn about simple changes you can make to your DevForce app that translate to big performance improvements.
Click here to download the PowerPoint presentation. For your reference, the commentary from the video is transcribed in the notes pages for the slides.

Part 1: Exploiting the Local Cache 15:58
Using span queries to speed up datagrids and other operations; understanding query inversion (and when to turn it off); techniques for keeping data in the cache fresh; effective use of the CacheOnly QueryStrategy to eliminate unnecessary trips to the database.

Download


Part 2: Turbocharging Retrieval and Update; Snappy Application Startup; Exploiting the Business Object Server 24:44
Proven techniques to speed up data fetch and update; using async queries and local data storage to speed up application startup; moving time-consuming computations and monitoring operations to the middle-tier server.

Download