* What Is It Intended to Show?
This QuickStart is a single example of all the primary CAB features used
together in one simple application.
* How Do I Use It?
Build and run the BankTeller WinForm application. The application starts
by showing a main form containing menu items.
* What Should I Look At?
Since this QuickStart is filled with examples of all the CAB features it is
advantageous to look at everything.
* General Design Philosophy
The purpose of this QuickStart is to emulate building a large application
with multiple teams.
The application is a general banking application. The shell provides the
area where specific modules of the application are presented. In
this release, we have provided a single "bank teller" module, but you should
imagine that in a full featured version of this application, there would
be many role-specific modules.
Architecturally, the development teams would be responsible for a single
module (for example, a bank teller team, a bank manager team) and share the
common shell. The shell would choose the module based on the current users
primary role (and in some cases, may offer empowered users the option to
switch between multiple views so they can perform many tasks).
* MVC and WorkItems
CAB helps you write MVC-style applications by providing some framework
classes. The files listed in the BusinessEntities folder in the BankTellerModule
represent the data models for the application. In the WorkItems folder
you will find views and view/controller pairs. Some views are simple
enough that they don't need a controller (this will happen less
often in the real world, obviously).
The WorkItem classes represent use cases. Often, a single work item will
encompass many view/controller pairs and some data models. Ideally, WorkItems
should be relatively self contained with as few upward dependencies
as achievable; this lets you re-use WorkItems across the application when
appropriate.
* SmartParts
Views which are "container aware" are called SmartParts. A view tells CAB
that it is a SmartPart by using the [SmartPart] attribute. This allows a view
to express its service and component dependencies and have those dependencies
automatically wired up for it when it is placed in the container.
* Services
The QuickStart simulates the availability of data model services using
simple static data. In a real system, these services would talk to a real
back end data store, such as a database or 3rd party data provider.
* Persistence
To illustrate persistence, we allow the user to save the changes they've
made to a customer. These settings are saved into isolated storage.
* Current Limitations
The system currently stores the entire menu structure in app.config. In the
future, we would like to evolve a more powerful menuing system that allows
the shell and modules to cooperate on how the application menu looks.
For more information about the BankTeller QuickStart, see the QuickStarts
section in the application block documentation.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
WPF QuickStart (331个子文件)
ResolveAssemblyReference.cache 22KB
ResolveAssemblyReference.cache 16KB
ResolveAssemblyReference.cache 14KB
ResolveAssemblyReference.cache 14KB
ResolveAssemblyReference.cache 14KB
BankTellerModule.csproj.GenerateResource.Cache 1KB
SmartPartQuickStart.csproj.GenerateResource.Cache 1KB
BankShell.csproj.GenerateResource.Cache 850B
CustomerMapExtensionModule.csproj.GenerateResource.Cache 848B
CommandsQuickStart.csproj.GenerateResource.Cache 846B
App.config 1KB
App.config 1KB
BankShell.exe.config 1KB
App.config 296B
MainForm.Designer.cs 19KB
customerdetailview.designer.cs 14KB
LaunchPadForm.Designer.cs 10KB
CustomerDetailView.Designer.cs 8KB
CustomerListView.Designer.cs 8KB
customersummaryview.designer.cs 7KB
CustomerListController.cs 6KB
BankShellForm.Designer.cs 6KB
customerheaderview.designer.cs 6KB
customeraccountsview.designer.cs 6KB
customerworkitem.cs 5KB
CustomerTabView.Designer.cs 5KB
customerqueueview.designer.cs 5KB
banktellerworkitem.cs 5KB
GPSView.Designer.cs 4KB
customerlistview.cs 4KB
CustomerMain.Designer.cs 4KB
Resources.Designer.cs 4KB
Resources.Designer.cs 4KB
Resources.Designer.cs 4KB
CustomerMain.cs 4KB
ShellForm.Designer.cs 3KB
Resources.Designer.cs 3KB
SideBarView.Designer.cs 3KB
customercommentsview.designer.cs 3KB
CustomerCommentsView.Designer.cs 3KB
TraceTextBox.Designer.cs 3KB
BankShellApplication.cs 3KB
Resources.Designer.cs 3KB
CommandMap.cs 3KB
Customer.cs 3KB
Resources1.Designer.cs 3KB
Resources.Designer.cs 3KB
CustomersController.cs 3KB
Resources.Designer.cs 3KB
TitledSmartPart.Designer.cs 3KB
Customer.cs 3KB
ViewCustomerWorkItem.cs 3KB
CommandsApplication.cs 3KB
BankShellForm.cs 3KB
userinfoview.designer.cs 3KB
MainWorkItem.cs 3KB
TraceTextBox.cs 3KB
CustomerListView.Designer.cs 3KB
ShellForm.Designer.cs 3KB
ShellForm.Designer.cs 3KB
MainForm.Designer.cs 2KB
Resources.Designer.cs 2KB
Resources.Designer.cs 2KB
Resources.Designer.cs 2KB
CustomerListView.cs 2KB
MenuItemElement.cs 2KB
SmartPartApplication.cs 2KB
LaunchPadForm.cs 2KB
CustomerSummaryView.Designer.cs 2KB
BrowseCustomersWorkItem.cs 2KB
BrokerApplication.cs 2KB
LaunchPadController.cs 2KB
customerqueueview.cs 2KB
ProgressView.Designer.cs 2KB
ModuleLoaderApplication.cs 2KB
BankTellerModuleInit.cs 2KB
customeraccountservice.cs 2KB
CustomerDetailView.cs 2KB
customerqueueservice.cs 2KB
GPSView.cs 2KB
customerdetailview.cs 2KB
customersummarycontroller.cs 2KB
ProgressView.cs 2KB
Settings.Designer.cs 2KB
Settings.Designer.cs 2KB
MyView.Designer.cs 2KB
Settings.Designer.cs 2KB
MainController.cs 2KB
customersummaryview.cs 2KB
customerqueuecontroller.cs 2KB
CustomerMap.Designer.cs 2KB
customeraccountsview.cs 2KB
CustomerCommentsView.cs 2KB
customercommentsview.cs 1KB
TitledSmartPart.cs 1KB
CustomerController.cs 1KB
customerdetailcontroller.cs 1KB
BankTellerConstants.cs 1KB
GPSModuleInit.cs 1KB
AssemblyInfo.cs 1KB
共 331 条
- 1
- 2
- 3
- 4
资源评论
TRYME1919
- 粉丝: 8
- 资源: 33
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功