Академический Документы
Профессиональный Документы
Культура Документы
Technical Overview
1
Discussion Topics
• E-Com m erce Business Trends
• Technical Drill Down
• Dem onst rat ion
• Q& A
•
2
E-Commerce Business
Trends
3
E-Commerce Market Trends
CHANNELS SOCIAL BRAND LOCALIZATION
6
Multi-Channel E-Commerce
SCM Ent erprise Sell- Customers
Side
CPG
Distributors
ERP
WMS
Trading Partners
CRM
Microsoft Approach: Portfolio of Technologies
8
Technical
Technical Drill Down
9
Commerce Server 2009 (formerly “Mojave”) *
Multi-Channel Commerce Foundation
Clear separation of business and presentation logic
Aggregate, integrate CS w/ LOB systems via Web services
Single, simplified, uniform programming model
merce Services
box, customizable, Live Services-integrated B2C shopping experience with 30 Web Parts –
Catalog/Content Search
* Available to Customers and Partners on the Microsoft April 2009 Price List
10
Commerce Server 2009 Installs...
• Commerce Foundation
− New unified programming Installs as an upgrade
model to CS2007
− Programming Samples
− Documentation CS2007 is a pre-
requisite
• SharePoint is NOT
• SharePoint Commerce Services* required, but
recommended
− Over 30 web parts and
controls
− Web part source code
− Default
+ Commerce “color-neutral”
Server Core Systemssite
− Sample data
Marketing
• Product Query
• Advertisements and Discounts • Product Det ail Display
• Virtual Earth Store Locator • Im ages Viewer
• Reviews and Ratings (2 web parts) • Sit e Map
Search
Or d e r s
• My Profile Management
Commerce
Commerce Server Server 2009 Multi - Channel Commerce Foundation
IT Pro and Designer Unified run-time calling model, meta data
Tools Multi-Channel Awareness
Core E-commerce Shopping Features Commerce Server Business
Custom Logic Management Tools
Catalog Manager, Marketing Manager, Customer & O
Commerce Server Core Systems
Catalog, Orders, Profiles, Marketing, Analytics, Staging, Web Services, BizTalk Adaptors
15
Web Parts: SharePoint integration
• UI Components built as ASP.NET 3.5 Web Parts, providing a
number of significant advantages:
•
•
16
Web Parts: Design philosophy
Minimize Commerce Server calls from similar web
parts
Concrete example:
17
Web Parts: Product provider web
part
• Provides abilit y t o query
t he Com m erce Server
cat alog based on
crit eria such as
cat egory, propert y
value or full-t ext search
• Based loosely on t he
SharePoint Cont ent
Query Web Part
• St yleable using
XSL t ransform s
•
18
Web Parts: Customization – XSL
transforms
• XSL t ransform s st ored in
a t em plat e
• Tem plat es m ay be
m anaged in a
docum ent library
when t he web part is
used wit h SharePoint
• Allows m ult iple
t em plat es t o be built ,
t est ed and applied by
a business user
19
Web Parts: Checkout
• Manages stages of checkout
• Easy for a developer to add a new stage
• Consists of a single web part that is able to manage the
check out process, cycling through ASP.NET user controls
corresponding to check out stages
• User controls implement a specific interface, which is
understood by the web part and allows the web part to
determine the status of the stage, e.g.: can the user
move forward (“Next”) or backwards (“Previous”)
• Each user control can determine whether or not it has
enough information to complete its stage
• Ability to implement your own custom stage as a
user control
−
−
20
SharePoint Integration: Integration
components
• SiteMap Provider
− Retrieves category information dynamically from
Commerce Server, caches globally for a
configurable period of time
− Extends SharePoint site map provider
− Blends content from
− SharePoint
− Commerce Server
− Respects security constraints
21
SharePoint Integration: Authentication and user
profiles
• Commerce Server is authoritative source for
authentication and user profile information
− User Profile Manager (UPM) Membership
provider authentication
− Usable in SharePoint
− Web Part(s) supplied for account creation and editing
of profile information by an end user
− Forms-based authentication login page supplied for
SharePoint (to include password retrieval, etc.)
22
Commerce Foundation API
23
Message Flow
Web Browser Mobile Applicat ion Et c...
Presentation
Public API
Broker
Operat ion
Application
Operat ion
Operat ion
Operat ion
Operat ion
Sequence
Sequence
Sequence
Sequence
CS
Sub
Systems
Data
SQL Server
Commerce Foundation Goals
• Reduce developer ramp-up time
• By providing a consistent programming model across all Commerce
Server sub systems
• Out-of-the-box “business logic” layer
• Currently produced as a one-off for every Commerce Server deployment
• Facilitating multi-channel e‑commerce
• Clear separation of presentation logic and business logic
• Enable third-party developers to more easily enhance
functionality
• For general and business-specific purposes
• Multiple operations in a single call
• Minimizing the amount of traffic across the network
• Easy migration of existing CS2007 sites to CS2009
• By residing side-by-side with an existing CS2007 implementation
• Multiple presentation support
• Allowing you to use the technology that makes sense to your
business
•
25
Programming Model
• The general pattern is:
1. Create a request comprising one or more
operations on specified items
2. Submit the request to the service for
processing
3. Interpret the result returned by the service
•
26
Commerce Foundation: Extensibility
points
• Commerce Entities
− Encapsulates a single business concept such as a product or a catalog
− Encapsulates both properties and relationships
− Can be extended to include new properties and new relationships
− Supported by meta data that provides descriptive information about the
Commerce Entity that can be retrieved via the API.
•
• Operations
− Provides CRUD capabilities on Commerce Entities
− Consists of one or more Operation Sequences
− May be extended
− The response of the operation may be extended
•
• Operation Sequences
− Operation Sequences can be plugged/unplugged on a per-channel
basis.
− Out of the box Operation Sequences can be replaced by custom ones
− Operation Sequences are reusable components that can be created
and reused on other projects
− Third parties may create new operations that may be purchased rather 27
than custom built
Commerce Entities:
Overview
• Commerce Server 2009 exposes a single generic class that
represents all Commerce Server entities called a
“CommerceEntity”
• Different types of Commerce Entities are distinguished by the
“ModelName” property
• Example query:
var product Query = new Query< Com m erceEnt it y> (“ Product ” );
Response response = Operat ionServiceAgent .ProcessRequest (request Cont ext , product Query.ToRequest ())
28
Commerce Entities:
PropertyCollection
• Property Bag
29
Commerce Entity
Relationships
• Relationships are also returned in the Properties collection
• RelationshipList offers paging support
• Relationships are manipulated in the same manner as other
Commerce Entities
var queryVariants =
new CommerceQueryRelatedItem<CommerceEntity>("Variants");
productQuery.RelatedOperations.Add(queryVariants);
30
Operation Based Programming
Model
• Operations span all Commerce Server sub systems:
− Catalog
− Orders
− Profiles
− Marketing
•
• New operations can be created that communicate with other
non-Commerce Server services:
− Other Microsoft products
− Non-Microsoft products
− Cloud-based services
• 31
Catalog System
Manage and present products & variants
Multilingual, multicurrency
Catalog System
Aggregation
Product Families
Inventory Integration
Extensible Schema
Inventory System
Flexible configuration that allows for backordering and display of out of stock stock-keeping units (SKUs)
Full text search and query integration with the Catalog System
Runtime APIs with methods for searching, browsing, viewing details, inventory search options that include product filtering,
assigning inventory conditions, and roll-up values.
Integration with other Commerce Server 2009 systems, Catalog and Orders.
Discounting
Business Analytics System
A platform for building sophisticated analytics
Aggregates User Profile, Catalog, Orders,
Marketing, & IIS Web Log Data
40
Business Analytics System
• Product Sales Reports
− Buyer Browse to Purchase
− Customer Sales
− Order Events
− Shopping Basket Events
• Query String Reports
− Query Strings Single-Value
• User Reports
− Registered Users by Date Registered
− User Days to Register
− User Registration Rate
− Distinct Users by Time
− New Registered Users
− Registered User Properties
− Registered Users by Date Registered
− User Trends
41
Business Analytics System
• Visit Reports
− Entry Pages
− Exit Pages
− General Activity Statistics
− User Visit Trends
• Web Usage Reports
− Activity by Browser
− Usage Trends
−
42
Line-Of Business Integration
• BizTalk Adapters
− Catalog
− Orders
− Inventory
− Profiles
• Each define a specific set of XML
messages that can be exchanged.
• BizTalk Server exchanges, processes
messages with another application that is
the ultimate producer and/or consumer of
the messages.
43
Line-Of-Business Integration
44
Example Orders Scenario
45
Example Catalog Scenario
46
Example Inventory Scenario
47
Commerce Server Staging
(CSS)
• Mechanism to deploy data into production from a
“Staging”, or “pre-production” environment
• Can be automated via command line, PowerShell
scripting, Scheduling
• Web content
− Static content (HTML, images, digital media, etc)
− Dynamic content
− Files of all types (including Microsoft Word documents,
Portable Document Format (PDF) files, compressed
file archives, graphics, etc).
• Business data:
− Catalogs and catalog schema changes.
− Marketing data such as advertising, discounts, and
promotion codes.
− Site terms.
− Order configuration (payment methods and shipping
terms).
− Refresh cache with each business data type supported
by staging.
• IIS metabase. 48
Commerce Server Staging
(CSS)
49
Performance & Scale
• Built & tested for large enterprises
• 10M item catalogs
• 100,000 catalogs & virtual catalogs
• 60M user profiles
• 100,000 orders/Day (12 hr peak)
• 10GB/hour data warehouse import
• Deployed in 99.9% availability
customer environments
• Multi-instance support (100 active,
1,000 provisioned)
• Commerce Server 2009 Performance Gui
Demonstration
51
Evaluation Virtual PC Image
Free, downloadable 90 day time-bombed image from
Microsoft Connect web site
https://connect.microsoft.com/site643/Survey/Survey.aspx?Surve
52
Choose your template to change page
layout
53
Inline product definition editing
54
Fast Time to Market, Rich Sites
Contemporary Site Template
56
Edit product property details on site
57
Mobile Channel – Out of the Box
58
Q&A…
59
Business Analytics
60
Commerce Server
2007
Business Analytics
Anatomy of Commerce Server
SQL
SQ
Ser SQL LD SQ
L
ver Ser AP OD
L
Ser ver BC
CRM, ver Data Ser
Business Products
ERP, ver
& Other Apps Warehouse Marketing Profiles
Orders
Online Site
Information Challenges
• Flying blind
− Little insight on users, sales, and
trends
• Business users rely on IT for
information
− Must be able to take action based on
findings
− Need to access and manage own
information
• Many tools unusable at scale
− Millions of hits and events per day
Commerce Server Analytics
• Empower the Business User
− Manipulate data on business user’s workstation
− Customize reports through drag-and-drop
• Handle the largest sites
− Import data with highly efficient code
− Leverage SQL Analysis Services for efficient
reporting
• Closing the loop
− Close the loop of marketing and customer
interaction
Close The Loop
Web
• Beyond simple click Site
stream analysis
• Browsing
User Profile
Management
sophisticated Transactions
analytics
for commerce
applications Business
•
Data
Warehouse
Users
Interactive
Analysis
Transactions Business
Data Targeted
Catalog Warehouse Mail
User Profile
Advertisements Management
Other
Overall Process Flow
Administration
Real Time
Events
ADO
Commerce
Event Data OLE DB Provider
Commerce
Reports
Commerce
events Commerce
data & CS Data Warehouse
IIS events
Web logs
DTS Packages
Other
Events IP Resolution
SQL OLAP
Delete Data Serve
Server
Custom Task r
Non-Event
Data
Commerce HTML/XML
data ADO / OLE DB CDO IE
Other Data