e-commerce developer experience meera mahabala –program manager dragos avadanei - engineer
TRANSCRIPT
Learn
Experiment
Network
Innovate
E-Commerce developer experience
Meera Mahabala –Program ManagerDragos Avadanei - Engineer
Disclaimer
© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other
product names are or may be registered trademarks and/or trademarks in the U.S. and/or other
countries. Other names and brands may be claimed as the property of others.
The information herein is for informational purposes only and represents the current view of
Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to
changing market conditions, it should not be interpreted to be a commitment on the part of
Microsoft. Microsoft cannot guarantee the accuracy of any information provided after the date of
this presentation. All product release dates and features specified are preliminary based on
current expectations, and are subject to change without notice. Microsoft may make changes to
specifications and product descriptions at any time, without notice.
Sample code included in this presentation is made available AS IS. THE ENTIRE RISK OF THE USE
OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE
INFORMATION IN THIS PRESENTATION. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR
OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS PRESENTATION.
Microsoft products are not intended for use in medical, life saving, or life sustaining applications.
Session focus
Centralized Omni-Channel Management
E-Commerce POS
IT Pro Experience
UX Improvements
Flexible, Scalable & Extensible Infrastructure
Search driven Shopping
Experience
OOB “Starter” Storefront
Hardware
Time Clock Customer OrdersPayment
Processing
Commerce Data Exchange (CDX)
Commerce Run Time (CRT)
Storefront Extensibility POS Extensibility
Merchandising
Payment ProcessingBI/ReportingOrder Management &
Fulfillment
Customer ManagementChannel Management & Publishing
Catalog Management, Enrichment &
Publishing
Scale/Performance Upgrade & SupportMonitoring & Diagnostics
Rapid StartSetup/Deployment
Administration Experience
Payments Extensibility
Customer Management
CRT Services Omni-Channel
Workflows
Pricing, Shipping & Taxes
Search, Scan
Inventory & Replenishment
EOD & Financials
Pain points and challenges
Engaging experienceRapid alterations Multiple devices
Scalability and performance
Key InvestmentsSearch-driven experiencesCatalog data routed through the search index enabling dynamics pagesFaceted and managed navigationFlexible navigation and ease of adding refiners at different category nodesAdaptive experiencesUse click-through, views, and other analytics to feedback into search
Device channelsAbility to deliver different skins for different device channels
Customizable authenticationExtensive customizability based on the SharePoint 2013 authentication framework
Architecture
Commerce Runtime
Shipping
Commerce Runtime
Product Catalog Site Collection
SSO
M Term Store
Product CatalogCraw
ler
Serv
ice
Publishing Site Collection
SP Connector
Administrator
Administration Portal
Dynamics AX for Retail (HQ)
SharePoint 2013
Consumer
CDX - Real time Service
Proxy
CDX - Sync
Service
Data Access
CRT DBPromotions
Pricing
Taxes
Customer
Payments
Orders
3rd Party Extensions
Other Plug-ins...
CRT API
Ex
Ex
Ex
Ex
Ex
Ex
Ex
3P Ext
3P Ext
Search Index
CDX - Sync Service
Net.TCP
TCP/IP
Shipping Ex
Comm
erce AJA
X Services
Dynamics web parts
Search-driven experiencePUBLIC FACING WEBSITE
(Publishing site)
Page layoutsControls look & feel, content based on associated
content type
Content search web partsFunctional apps that can be deployed on pages
Display templatesControl layout and behavior of results and layout of
each result
Site collectionsPrimary and micro site “containers”
INTERNAL FACING WEBSITE(Product catalog site)
Term storeNavigation and categorization structure of a site
Site columnsDefine the attributes of a product catalog
Content typesCreate relationships between site columns
ProductsCatalog items and variants
Search propertiesAttribute refinement, indexing, and query rules
FAST
This is about the content This is about how its presented
Master pagesDefine the shared framing elements for all pages
SharePoint 2013 page model
Master page
Master page
Page layout
Page field
control
Page field
control
Page field control
Page
Authored
content
Authored
content
Content Search Web PartList template
Item templat
e
Item templat
e
Item templa
te
Paging, sorting, other links
Content search web part List template
Item templat
e
Item templat
e
Item templat
e
Paging, sorting, other links
Content search web part
Display template
Query rules
Query conditions
What queries should be handled?
Query actions
What happens when a rule matches?
Publishingoptions
Is the rule active and for how long?
Under the covers of a search-driven site
Term store
Assets site collection
Catalog site collection
URL links
Managed metadata columns
BLO
B
cach
e
Query
URL links
Friendly URLs and catalog
pages
Rendering site collection
Cach
esSEARCH
index
Cra
wl
Query
rule
s
Resu
lt souce
Crawl
SharePoint 2013
Out of box online store architecture
AJA
X s
erv
ices
HTTPHTML/ Java Script
Search index
Pages
and
web p
art
sCRT DB
CDX
Com
merc
e
Runti
me
Microsoft Dynamics AX
2012 for Retail
Reusable out of box online store controls
My accountOrder historyProduct detailsProduct galleryProduct quick viewAddress edit Associate customerChange passwordCheckout confirmFacebook logon
Page layoutsItem_ProductDetailItem_ProductClickViewItem_ProductGalleryItem_ProductQuickView
Display templatesAdd to cartCheckoutPromotion codeSubmit orderMini shopping cartShopping cartAddressCustomer
Web parts
Mobile online store
New device channelRegister a mobile device channel and register display user agents
Mobile-specific master page, images, style sheetsChange the master page to reflect the smaller form factor
Device-channel panelAdd device-specific HTML snippets
Centralized Data & Order Management Across all ChannelsMobile online store
Effective device channelSpecify item templates that are device specific
Forms based authentication
Forms based identity provider
Dynamics Custom claims provider
Customer mapping database
Forms based membership
database
Storefront website
SharePoint 2013 Secure Token Service
Authentication components
Login.aspx
Authenticated pages
Key Takeaways
Structured approach enforcing good design guidelinesE-Commerce specific reusable pages and web parts available
Search queries drive the data binding
Ease of enabling devices
Customizable authentication
Dynamics for Retail Deployment Topology
Microsoft Dynamics AX 2012 for Retail
Online Channel
Brick and Mortar Channel
SharePoint Farm C
omm
erce
Runtim
e C
omm
erce
Runtim
ePOS Terminals
Retail Headquarters
CDX
CDX
e-Commerce Solution TopologyMultiple Datacenters
Microsoft Dynamics AX 2012 for Retail
Online Channel
Datacenter: Europe C
omm
erce
Runtim
e
Retail Headquarters
CDX
CDX
Online Channel
Datacenter: Asia
C
omm
erce
Runtim
e
e-Commerce Solution TopologyServer Roles
CDX
SharePoint Farm
Retail Headquarters
Dynamics AX 2012 for Retail
Online Channel
Note: Server roles can be combined
Performance Test ResultsScenario Duration
Create, Validate & Publish Catalog to Website – 1 Million Products (30% variants, 10,000 trade agreements)
11:22:17 hours
Download and create complete Orders from Website, ready for processing and fulfillment – 10,000 orders
35:23 mins
Performance Test Results - Breakdown Action Time
Catalog Publishing1 million products
Catalog Validation (AX) 01:15:51
Catalog Publishing(AX) 00:55:46
CDX data transfer (AX->SP) 02:42:21
Publishing (SP) 06:28:19
Total 11:22:17
10K Online Sales Orders
Create online orders (AX) 00:32:49
CDX data Transfer (SP->AX) 00:02:34
Total 00:35:23Note: Benchmarking tests were done for small SharePoint farm
Performance Test Topology
Dynamics AX 2012 Physical Hyper-V Host:
VM: 2 x AOS VMs – 4 cores, 16 GB RAM VM: Communication Server (CDX) – 2 cores, 4 GB RAM
Physical: SQL Server (AX DB) - 24 cores, 64 GB RAM
Online Channel Physical Hyper-V Host:
VM: 2 x Front End SharePoint Server – 16 cores, 64GB RAM VM: 2 x Back End SharePoint Server – 16 cores, 64GB RAM VM: Communication Server (CDX) - 2 GHz processor; 2GB RAM
Physical: SQL Server (SharePoint DB) – 16 cores, 32 GB RAM
Prebuilt Demo/Sales Virtual Machines Fully functional VM’s of AX, CRT, SP and Storefront to support demos and sales presentations
Training Standalone EnvironmentSimple deployment of Storefront and CRT to an existing AX and SP instance to support demos and training
Developer EnvironmentDeployed by developers for customization, development and repackaging
Pre-Live/Staging/Test EnvironmentDeployment of a customized Storefront and CRT as a precursor to going into production
Production EnvironmentsDeployment of Storefront and CRT for production
Role-based Environments
Customization and Deployment
• Prepare:• Obtain and install the SDK• Generate strong name key
• Develop:• Customize existing CRT and demo storefront code• Design and implement website/web parts• Implement additional functionality
• Test:• Configure topology • Build and deploy from Visual Studio 2012• Verify publishing, store front functionality
• Go Live:• Set up the SP topology• Build the WSP packages, copy to SP environment• Configure the topology settings• Run the deployment scripts• Verify the functionality in the production environment
© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.