Конференция Платформа 2001 Москва, ноябрь 2000 Разработка...
TRANSCRIPT
Конференция Платформа 2001Москва, ноябрь 2000
Разработка приложений на основе Exchange Web Store.
Владимир ЦитовцевОтдел по работе с разработчикамиMicrosoft
Конференция Платформа 2001Москва, ноябрь 2000
Содержание
• Обзор Web Store• Доступ к данным Web Store• Разработка на основе Web Store• Расширенные сервисы
Конференция Платформа 2001Москва, ноябрь 2000
Обзор Web StoreОбзор Exchange 2000
Microsoft Exchange 2000 предоставляет богатый набор сервисов для разработки и внедрения веб-ориентированных приложений для совместной работы, автоматизирующих бизнес-процессы
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Overview Exchange 2000 and the Web Store
• Host Web Sites Directly from the Web Store• Enhanced file system• Fully URL-accessible
• Build Entire Applications in the Web Store• Increased security• Automated backup and restore• Application replication across organizations• Cluster support
• Rich Set of Services• Web Store Forms• Server events• Workflow support
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Overview Platform for Collaborative Solutions
• Standards-Based API Support • Support for Standard Data Access APIs and
Protocols• ADO/OLE DB, HTTP-DAV and File System
• Support for Development Tools Including FrontPage and Visual Studio
• New Web Store Forms Support • Office Integration• Rapid to Develop – Reuse Built-In Components• Integrated Real-Time Collaboration Support • Streaming Media Support
Конференция Платформа 2001Москва, ноябрь 2000
Web Store OverviewStandards Support
• Built on Internet Standards• Internet Standards Support Provide the Largest
Range of Client Access and Collaboration• XML, HTTP-DAV, LDAP, SMTP, POP, IMAP,
NNTP, T.120
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Overview
Provides Rich Store for Semi-Structured DataProvides Rich Store for Semi-Structured Data Builds on Native Web and Native WindowsBuilds on Native Web and Native Windows Integrates Business ProcessesIntegrates Business Processes Scales with ReliabilityScales with Reliability
Messaging & Messaging & CollaborationCollaboration
ServersServersFile ServersFile Servers IntranetIntranet
Web ServersWeb Servers
Web StoreWeb Store
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Overview Application Targets
• Web Applications• Office 2000
Конференция Платформа 2001Москва, ноябрь 2000
Web Store OverviewApplication Model
HTTP Request
Exchange Web StoreIE 5.0 / HTML 3.2
Web Store Forms
Store Events
Workflow
Data
Schema
Конференция Платформа 2001Москва, ноябрь 2000
Agenda
• Web Store Overview• Web Store Data Access • Web Store Development• Enhanced Services
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data AccessSemi-Structured Data
Record 1Record 1Record 1Record 1Reco
rdset
Reco
rdset
Reco
rdset
Reco
rdset
emleml
docdoc
asfasf
PropertyProperty
StreamStream
Record 2Record 2Record 2Record 2
Record 3Record 3Record 3Record 3
Record 4Record 4Record 4Record 4
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data Access Schema Support
• Web Store Items Are Described by Defined Schemas• Messaging, Contacts, Calendar, Documents,
Folder, Configuration• Schemas Can Be Customized and Inherited• Goals
• Superset existing formats, schemas, and data types
• Promote interoperability
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data Access Schema Property Examples
• DAV:href• DAV:isfolder• urn:schemas:contacts:homeStreet • urn:schemas:mailheader:cc • urn:schemas-microsoft-com:office:officeAuthor• http://company.com/expense/status
Конференция Платформа 2001Москва, ноябрь 2000
• HTTP-DAV • IFS • Web Folders• OLE DB 2.5• ADO 2.5 • CDO • ADSI• MAPI
Web Store Data Access Data Access
API
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data Access IFS and Web Folders Support
• Access Folders Directly with Tools and Applications Using IFS• Microsoft Office 2000• Standard Win32 file API support
• Access Folders as Web Folders • Uses HTTP to access folders• Works across firewalls
Demo…Demo…
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data AccessOLE DB and ADO
• Web Store Supports OLE DB 2.5 and ADO 2.5
• Open Interfaces for Data Access to Many Information Sources• Structured and semi-structured
• This is a Good Thing• ADO is well known, well supported by tools• Reduces complexity of total solution
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data Access New in ADO 2.5
• URL Binding• Simplifies programming model
• Hierarchies• Record Object with Fields Collection
• Heterogeneous, non-rectangular record sets
• Stream Object• Most objects have a native stream
representation; e.g., XML, MIME
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data Access ADO 2.5 - Object Model
ConnectionConnection
CommandCommand
RecordsetRecordset
ErrorsErrors
FieldsFields
ParametersParameters
RecordRecord StreamStream
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data Access Typical Uses of ADO
• Navigating Folder Hierarchy• Querying, Filtering, Sorting, and Grouping of Items
in a Folder• Record Manipulation Such as Adding, Editing, and
Deleting
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data Access CDO Extends ADO/OLE DB
• Use CDO to Create and Manipulate Collaboration-Specific Data• Implements high-level functionality• Constructs MIME and Internet content• Makes collaborative app development easy
• Use CDO With• ADO in Visual Basic and scripting apps• OLE DB in C++ apps
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data AccessCDO
• Superset of CDO for Windows 2000• Fully backward-compatible
• Access to Public Folders and Mailboxes• Enables Creation of Many New Classes of
Applications
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data AccessCDO Application Categories
Messaging (Email and Discussions)Messaging (Email and Discussions)Messaging (Email and Discussions)Messaging (Email and Discussions)
Contact ManagementContact ManagementContact ManagementContact Management
CalendaringCalendaringCalendaringCalendaring
Workflow and RoutingWorkflow and RoutingWorkflow and RoutingWorkflow and Routing
Exchange ManagementExchange ManagementExchange ManagementExchange Management
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Data Access ADSI Integration
• Easily Integrated with Existing Scripts and Applications
• IADSUser Supports CDO interfaces: IMailboxRecipient and IMailboxStore
• Use ADSI If Writing a Directory Application• Use CDO.Person for Contact Management and
Accessing Exchange Mailboxes
Конференция Платформа 2001Москва, ноябрь 2000
Agenda
• Web Store Overview• Web Store Data Access • Web Store Development• Enhanced Services
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Development Store Events
• An Event Fires When an Item Is Saved, Copied, Moved, or Deleted Within the Store
• Events Are Scoped to a Particular Folder• Event Sinks Can Run Synchronously or
Asynchronously• Event Sources Pass OLE DB Interfaces to the
Event Sinks• Event Sinks Can Be Written in C++, Visual Basic,
or Script
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Development Store Event Scenarios
• Ensure Integrity of Information as It Is Posted• Convert Incoming Data to a More Appropriate
Format• Notify Others of New Documents or Items in a
Folder• Update Related Databases and Folders• Auto-Categorize Incoming Items• Parse and Promote XML Properties from an Item
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Development Synchronous Store Events
• Occur Before the Item Is Committed to the Store• Occur Within the Context of a Transaction• Are Fired in the Order Specified in the Event
Registration• Each Event Is Fired Twice
• Once to indicate that the event occurred, and once to indicate that the item was committed or aborted
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Development Asynchronous Store Events
• Occur After the Item Has Been Committed to the Store
• Are Not Fired in Any Particular Order• Reliable Asynchronous Are Guaranteed to Be
Delivered• Only Called Once
Demo…Demo…
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentBackOffice Workflow Strategy
• Make it Easy to Add Simple Workflow with the Workflow Designer• SQL Server• Exchange
• Make it Work with Unmodified Office and Web Applications• File.Save or Post triggers workflows
• Focus on Team Process Automation• Common scenarios: approval, review,
routing, tracking• Target “Office developer” skillset
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentWorkflow Support
• Extends Web Store for Simple Workflow• Add workflow to existing folder apps• Works with Outlook forms, Web Store Forms,
etc.• Declarative Workflow Definition
• State-machine table; easy for tools to manipulate
• Condition and action scripts• Workflow event model
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentWorkflow Components
• Workflow Engine • Applies a table of state-transition rules
(Action Table) against a document• Evaluates conditions• Executes actions on transitions
• Workflow Event Sink• Traps all changes to items in a folder• Invokes workflow engine via
Web Store events• Uses OnSyncSave, OnSyncDelete,
OnTimer store events
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentExchange 2000 Workflow Designer
• Visual Editor for Exchange 2000 Workflow• Joint Project with Microsoft Office Developer Team
• Same UI and architecture as “Access Workflow Designer” for Access/SQL Server
• Beta of Designer in Exchange 2000 RC1• Final Packaging/Naming to Be Determined
Demo…Demo…
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Development Tools
• FrontPage 2000• Outlook 2000
• Forms Designer• View Designer
• Visual Studio
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentWeb Store Forms
• Default HTML and DHTML/XML Rendering of Views and Messages
• Down-Level Browsers• HTML 3.2 client with minimal client script
• Rich Browsers (e.g., Internet Explorer 5)• XML / XSL / DHTML custom behaviors• Drag-and-drop, multi-select, etc.
• Execute ASPs from Public Folders
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentFrontPage 2000 Support
• End-User Oriented• No Coding Required• Support for All Browsers• Predominant Market Share• SubWeb Application Segmentation
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentFrontPage 2000 Operations
• Save/Publish• Navigation• Layout• Themes• Web Templates• Link Fixup, Web Integrity• Web Forms
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentFrontPage 2000 Forms and the Web Store
• Insert/Form Support• Uses HTML Intrinsics• Data Directly Promoted and Accessed
as Exchange 2000 Properties
Конференция Платформа 2001Москва, ноябрь 2000
Web Store Development HTML Web Store Forms Output
• Simple HTML Authored for Dynamic Use• Single File Saved for All Browser Types• Support for Browser-Specific Versions, But Not
Required• Allows for Browser-Appropriate Rendering at
Runtime
Demo…Demo…
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentReuse OWA Components
• Add Collaboration Features with No Code in Two Steps• Add Frames: FRAMESET and IFRAME• Add URL to Specify
• Messages, appointments, or contacts• Messages and Items folder• Calendar folder• Contacts folder
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentReusing OWA Components
Cmd= Navbar Displays the navigation bar Contents Displays the right page New Creates a new message Options Options setting Open Opens message / appointment for reading Edit Opens message / appointment for editing Reply, ReplyAll, Forward
Message operations
Preview Used by Preview pane
Type= Message Normal message Appointment Calendar appointment Contact Contact
Demo…Demo…
Конференция Платформа 2001Москва, ноябрь 2000
Web Store DevelopmentOffice 2000 Integration
• File | Save As… and Explorer Support• Through Win32 and Web Folders
• Office Document Property Promotion • Content Indexing for Faster MAPI,
OLE DB, and Web Queries• Integrated Workflow Engine• FrontPage 2000 Forms Generation
Demo…Demo…
Конференция Платформа 2001Москва, ноябрь 2000
Agenda
• Web Store Overview• Web Store Data Access • Web Store Development• Enhanced Services
Конференция Платформа 2001Москва, ноябрь 2000
Enhanced ServicesContent Indexing
• Outlook 2000 and MAPI Text Search Become Extremely Fast
• Search Messages, Attachments, and Free Doc Content
• Integrated Feature of Exchange 2000• Part of Exchange Administration Tools• Exchange Enforces Security• Combine queries with both text and non-text
constraints
Demo…Demo…
Конференция Платформа 2001Москва, ноябрь 2000
Enhanced ServicesExchange Real-Time Collaboration
• Instant Messaging• Notifications• User presence detection
• NetMeeting• Conference Server• Chat Server
Конференция Платформа 2001Москва, ноябрь 2000
Enhanced ServicesUnified Messaging
• Universal Access to Exchange Data• Integrated email, voicemail, fax, page• Voicemail in your inbox• Email from your phone
• Rich Platform for Partner Solutions• Single store for all data• Support for streaming data• Voice Profile for Internet Mail (VPIM)• Built-in multimedia forms• Active directory integration
Конференция Платформа 2001Москва, ноябрь 2000
Enhanced Services“Airstream” Architecture
• Registration• Mobile Devices register into Enterprise Network –
presence, device capability • Personalization
• Devices subscribe to user-requested content/events• Notification
• Subscribed-to events are delivered to devices• Content Transposition
• Transpose content to match device capability• Network / Transport
• Mobile specific transports and security based on industry standards (IETF DAV, HTTP, SSL, HTTP-S, WAP)
Конференция Платформа 2001Москва, ноябрь 2000
Enhanced Services“Airstream” Support for Developers
• A Framework for Extending Solutions to Mobile Devices• Communication• Collaboration and workflow• Line-of-business and commerce
• New Classes of Users• New Classes of Applications• The Plumbing Details Are Handled
Конференция Платформа 2001Москва, ноябрь 2000
Call to Action• Build Web Applications in the Web Store• Navigate, Query, and Manipulate the Web Store
using CDO, ADO 2.5, and OLEDB 2.5• Navigate, query, and manipulate the Active
Directory with ADSI• Add Store Events and Workflow to Build Powerful
and Reliable Server-Side Logic• Build Rich Web-Based Applications Using Web
Store Forms and OWA Components• Add Enhanced Collaboration Features to
Applications • Instant messaging, wireless, NetMeeting, and
content indexing
Конференция Платформа 2001Москва, ноябрь 2000
MSDNEssential Resources for Developers
SubscriptionsSubscriptions
OnlineOnlineInformationInformation
MembershipMembershipProgramsPrograms
Training & Training &
EventsEvents
Print Print PublicationsPublications
Library, Professional, UniversalLibrary, Professional, UniversalDelivered via CD-ROM, DVD, WebDelivered via CD-ROM, DVD, Web
MSDN Online, MSDN FlashMSDN Online, MSDN Flash
MSDN Business ConnectionMSDN Business ConnectionMSDN User GroupsMSDN User Groups
MSDN TrainingMSDN TrainingTech-Ed, PDC, Developer Days, Local EventsTech-Ed, PDC, Developer Days, Local Events
MSJMSJMSDN NewsMSDN News
Конференция Платформа 2001Москва, ноябрь 2000
Where Can I Get MSDN?
• Visit MSDN Online at msdn.microsoft.com• Register for the MSDN Flash
Email Newsletter at msdn.microsoft.com/resources/msdnflash.asp
• Join the MSDN Online Membership at msdn.microsoft.com/community
• Become an MSDN CD Subscriber at msdn.microsoft.com/subscriptions
• Attend More MSDN Events
Конференция Платформа 2001Москва, ноябрь 2000
Become a Microsoft Certified Solution Developer
• What Is MCSD?• Premium certification for professionals who
design and develop custom business solutions• How Do I Get MCSD Status?
• It requires passing four exams to prove competency with Microsoft solution architecture, desktop applications, distributed application development, and development tools
• Where Do I Get More Information?• For more information about certification
requirements, exams, and training options, visit www.microsoft.com/mcp
Конференция Платформа 2001Москва, ноябрь 2000
MSDN TrainingTraining Resources for Developers
• Course 1905: Building XML-Based Web Applications • April 2000
• Advanced XML Application Techniques • Fall 2000 (planned)
msdn.microsoft.com/trainingmsdn.microsoft.com/trainingNeed to find a class or trainer? Need to find a class or trainer? Microsoft Certified Technical Education Centers Microsoft Certified Technical Education Centers
(CTECs)(CTECs) are Microsoft’s premier partners for training services are Microsoft’s premier partners for training services
Конференция Платформа 2001Москва, ноябрь 2000
Recommended Resources from Microsoft Press
• Programming Exchange 2000 and WebStore • Available June/July, 2000
Microsoft Press Resources available through resellers and on the Web atMicrosoft Press Resources available through resellers and on the Web athttp://mspress.microsoft.com/developerhttp://mspress.microsoft.com/developer
Pick up your CD at today’s event and get a Pick up your CD at today’s event and get a portion of this and other Microsoft resources for portion of this and other Microsoft resources for
developersdevelopers
Конференция Платформа 2001Москва, ноябрь 2000
Questions?
Конференция Платформа 2001Москва, ноябрь 2000
More Resourceshttp://msdn.microsoft.com/exchange
http://www.microsoft.com/exchange
http://www.microsoft.com/exchange/KM/um.htm
http://www.microsoft.com/data/http://www.microsoft.com/exchange/55/ gen/MEC99.htm
Конференция Платформа 2001Москва, ноябрь 2000