SlideShare una empresa de Scribd logo
1 de 39
Oracle Endeca
Introduction to Assembler Application & Cartridges
- Keyur Shah (http://www.linkedin.com/in/keyurkshah)
Note: Source for some of the images is Oracle Endeca Documentation
Endeca Component Interaction
Endeca Component Interaction - 2
Offline processing
raw data sources
Endeca ITL
Endeca
MDEX Engine
Endeca
Application Tier
Online processing
Your
Application
User’s Browser
Endeca Pipeline
 The end result is an Endeca index which possesses
enriched source data and enhanced search and
Guided Navigation capabilities
Loading
Data
Caching &
Joining Data
Manipulating Data
Dimension
Mapping
The Endeca pipeline
Endeca Index Architecture
Crawl
Website
Configuration
Content
Database & File System
Indexing
MDEX Dgraph / Index
Console
WSDL
CMS
Connector
File System
JDBC
Merge
Record Store
Record Store
MDEX
Compatibl
e Output
Dimension
Mapping
Manipulators
Document
Conversion
Content Acquisition System
Custom
ATG-Endeca Integration
Endeca Content
Acquisition
System
Product
Record Store
Dimension
Record Store
ATG Web Commerce
Product Exporter
Category Exporter
Schema Exporter Schema
Record Store
Endeca
Application
Controller
Endeca ITL Endeca MDEX
Configuration
Forge
Web Application
Product Catalog
Indexing Admin
ATG Deployment
Template
Module
Endeca
Configuration
 Publish Product Catalog Assets to Endeca Records
 Publish Categories to Endeca Dimensions
 Publish Schema Metadata from ATG Web Commerce
to Endeca
 Operational Support
MDEX Engine
The MDEX Engine uses proprietary data structures and algorithms that allow it
to provide real-time responses to client requests. The MDEX Engine stores the
indices that were created the Dgidx indexing program. After the indices are
stored, the MDEX Engine receives client requests via the application tier,
queries the indices, and then returns the results.
The two primary components of the MDEX Engine package are the following:
• Dgraph • Dgidx
MDEX engine is designed to be stateless.
Overview of CAS & Crawler
Endeca – Type of Pages
 Site may have 3 basic page types:
Page Structure & Content Type
Templates & Cartridges Work
Together
Cartridge Structure
Endeca Assembler Application
 The Endeca Assembler application enables a
WEB application to query the MDEX Engine and
retrieve the appropriate dynamic content based
on user’s navigation state or other triggers
 The Assembler application provides a RESTful web
service API that returns results either in JSON or
XML.
 The Assembler API is powered by Java, but the
query interface is language-agnostic web service
Example of JSON Returned
by Assembler Application
Example of JSON
http://localhost:8006/discover/?format=json
Explicitly
retrieve JSON
from Assembler
Open the JSON
in Notepad++
Download the
JSON Viewer
for Notepad++
JSON Viewer in Notepad++
 You can download the JSON Viewer for Notepad++ from Sourceforge
 http://sourceforge.net/projects/nppjsonviewer/?source=dlp
 Unzip the download
 This plugin is meant to display a JSON string in a Treeview. It also marks the error
position in case of parsing errors.
 Thats it!!!
============Instruction:============
1. Paste the file "NPPJSONViewer.dll" to Notepad++ plugin folder
2. open a document containing a JSON string
3. Select JSON fragment and navigate to plugins/JSON Viewer/show JSON Viewer or
press "Ctrl+Alt+Shift+J"
Cartridge Creation Workflow
Review
As we have seen, the high-level workflow for creating a basic
cartridge is:
 1. Create a cartridge template and upload it to Endeca
Workbench
 2. Use Experience Manager to create and configure and
instance of the cartridge
 3. Add a renderer to the front-end application
FOR DEVELOPERS
Step 2 is necessary during development in order to have a
cartridge instance with which to test.
However, once the cartridge is complete, the business user is
typically responsible for creating and maintaining cartridge
instances in Experience Manager.
Endeca Content & Indexing
What Happens @ Runtime?
 The Assembler retrieves this configuration at runtime
and uses it to build the response model that it returns to
the client application.
How does it
all work?
Hello Cartridge - Example
To create and configure a basic “Hello cartridge”:
Create a cartridge template
1. Open a new plain text or XML file
2. Type or copy the following contents to the file (with .xml extension)
3. Save the file into C:EndecaAppsDiscoverconfigcartridge_templates folder
Hello World Cartridge – Example
(Cont’d)
<ContentTemplate xmlns="http://endeca.com/schema/content-template/2008" xmlns:editors="editors" type=“SecondaryContent" id="Hello">
<Description>A sample cartridge that can display a simple message.</Description>
<ThumbnailUrl>/ifcr/tools/xmgr/img/template_thumbnails/sidebar_content.jpg</ThumbnailUrl>
<ContentItem>
<Name>Hello cartridge</Name>
<Property name="message">
<String />
</Property>
<Property name="messageColor">
<String />
</Property>
</ContentItem>
<EditorPanel>
<BasicContentItemEditor>
<editors:StringEditor propertyName="message" label="Message" />
<editors:StringEditor propertyName="messageColor" label="Color" />
</BasicContentItemEditor>
</EditorPanel>
</ContentTemplate>
Save the file into
C:EndecaAppsDiscoverconfig
cartridge_templates folder
Save & Upload Cartridge
Add a Cartridge to a Page
(Experience Manager)
Workbench & Experience Manager
“Add/Change” for Cartridge
Selector
Add New “RightContent”
1
2
3
4
New RightContent Added
“Hello Cartridge”
Add the custom “Message” and “Color” values followed
by clicking on the “SAVE CHANGES” BUTTON (right top)
Review the Changes in
Discover Authoring
Right Content
Top Related
Products
Hello
The error displays because we have not yet created a renderer for the Hello cartridge.
http://localhost:8006/discover-authoring
Viewing the JSON for Cartridge
Verification
 At the footer of the discover authoring default page, you
should see couple of interesting links “json” and “xml”
 You can click on JSON or XML link to view the MDEX response
(content type + content) to the page request
 Clicking on “json” – you will be
able to view the page
response in json format
 Goto the bottom of JSON
response or search “Hello” in
the response
 You will be able to confirm the
presence of Hello Cartridge
Hello.JSP – Bring It All Together
Adding the Basic Renderer
 Endeca application have no way to render the content to the front-
end (Either JSON or XML or Custom XML)
 Create a new JSP file (Hello.jsp) in the
C:EndecaToolsAndFrameworks3.1.2referencediscover-
electronics-authoringWEB-INFviewsdesktopHello folder (You need
to create the Hello folder)
<%@page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-
8"%>
<%@include file="/WEB-INF/views/include.jsp"%>
<div style="border-style: dotted; border-width: 1px;
border-color: #999999; padding: 10px 10px">
<div style="font-size: 150%;
color: ${component.messageColor}">${component.message}
</div>
</div>
Color-
coded
For your
copy-paste
purpose
Testing the Hello.jsp
 Once you have created the JSP and dropped in the Hello folder as
described in previous slide, you are ready to test the changes
 Just refresh the Discover authoring home page
http://localhost:8006/discover-authoring , and you should be able to
see the Hello World! Message as defined in the experience manager
Customize Cartridge Editor
Experience Manager Impact
Cartridge Editor Customization
 Previous
 Now
Save & Confirm Changes
In Authoring View
Customize Thumbnail Image
Custom Image & Dimension
 Create a custom JPG image in your favorite image tool
e.g. You can use Windows paint application
 Images are typically of 81x81 dimension in Experience
Manager (below are examples of default images)
 You can copy/save the custom thumbnail image on
your web or image server
 For this example, We are saving the image to below
folder
Customize Thumbnail Image
(Cont’d) – Common Location
Customize Thumbnail Image
(Cont’d) – Modify the Cartridge XML
We have commented the default ThumbnailUrl
TAG, and customized the ThumbnailUrl TAG to
use the Hello.jpg from the images folder where
we saved this file in previous slide
NOTE: Remember to run the set_templates script in Control folder
Customize Thumbnail Image
(Cont’d) – Verify the changes

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Oracle application express ppt
Oracle application express pptOracle application express ppt
Oracle application express ppt
 
JQuery introduction
JQuery introductionJQuery introduction
JQuery introduction
 
jQuery
jQueryjQuery
jQuery
 
Deep Dive Java 17 Devoxx UK
Deep Dive Java 17 Devoxx UKDeep Dive Java 17 Devoxx UK
Deep Dive Java 17 Devoxx UK
 
ATG - Web Commerce @ Your Figertips
ATG - Web Commerce @ Your FigertipsATG - Web Commerce @ Your Figertips
ATG - Web Commerce @ Your Figertips
 
Its time to React.js
Its time to React.jsIts time to React.js
Its time to React.js
 
Intro to React
Intro to ReactIntro to React
Intro to React
 
Asp.net.
Asp.net.Asp.net.
Asp.net.
 
Spring Security 5
Spring Security 5Spring Security 5
Spring Security 5
 
Spring MVC
Spring MVCSpring MVC
Spring MVC
 
jQuery
jQueryjQuery
jQuery
 
Spring Framework - Spring Security
Spring Framework - Spring SecuritySpring Framework - Spring Security
Spring Framework - Spring Security
 
An Introduction to the DOM
An Introduction to the DOMAn Introduction to the DOM
An Introduction to the DOM
 
Introduction to React JS for beginners
Introduction to React JS for beginners Introduction to React JS for beginners
Introduction to React JS for beginners
 
Spring Boot and REST API
Spring Boot and REST APISpring Boot and REST API
Spring Boot and REST API
 
React JS
React JSReact JS
React JS
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
 
Spring data jpa
Spring data jpaSpring data jpa
Spring data jpa
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Json Tutorial
Json TutorialJson Tutorial
Json Tutorial
 

Destacado

Common mistakes for ATG applications that affect performance
Common mistakes for ATG applications that affect performanceCommon mistakes for ATG applications that affect performance
Common mistakes for ATG applications that affect performanceKate Semizhon
 
Oracle ATG Commerce Overview for developers
Oracle ATG Commerce Overview for developers Oracle ATG Commerce Overview for developers
Oracle ATG Commerce Overview for developers Kate Semizhon
 
Oracle endeca information discovery architecture
Oracle endeca information discovery architectureOracle endeca information discovery architecture
Oracle endeca information discovery architectureAorta business intelligence
 
ATG Commerce: Full Capabilities Overview
ATG Commerce: Full Capabilities OverviewATG Commerce: Full Capabilities Overview
ATG Commerce: Full Capabilities Overviewsobrien15
 
Oracle eCommerce (ATG) Database Best Practices
Oracle eCommerce (ATG) Database  Best Practices Oracle eCommerce (ATG) Database  Best Practices
Oracle eCommerce (ATG) Database Best Practices Kate Semizhon
 
ATG Advanced Profile Management
ATG Advanced Profile ManagementATG Advanced Profile Management
ATG Advanced Profile ManagementKate Semizhon
 
ATG Tutorials - Promotion.
ATG Tutorials - Promotion.ATG Tutorials - Promotion.
ATG Tutorials - Promotion.Sanju Thomas
 

Destacado (10)

Common mistakes for ATG applications that affect performance
Common mistakes for ATG applications that affect performanceCommon mistakes for ATG applications that affect performance
Common mistakes for ATG applications that affect performance
 
Oracle ATG Commerce Overview for developers
Oracle ATG Commerce Overview for developers Oracle ATG Commerce Overview for developers
Oracle ATG Commerce Overview for developers
 
Oracle endeca information discovery architecture
Oracle endeca information discovery architectureOracle endeca information discovery architecture
Oracle endeca information discovery architecture
 
ATG Advanced RQL
ATG Advanced RQLATG Advanced RQL
ATG Advanced RQL
 
ATG Commerce: Full Capabilities Overview
ATG Commerce: Full Capabilities OverviewATG Commerce: Full Capabilities Overview
ATG Commerce: Full Capabilities Overview
 
ATG Best Practices
ATG Best Practices ATG Best Practices
ATG Best Practices
 
Oracle eCommerce (ATG) Database Best Practices
Oracle eCommerce (ATG) Database  Best Practices Oracle eCommerce (ATG) Database  Best Practices
Oracle eCommerce (ATG) Database Best Practices
 
ATG Advanced Profile Management
ATG Advanced Profile ManagementATG Advanced Profile Management
ATG Advanced Profile Management
 
Endeca
EndecaEndeca
Endeca
 
ATG Tutorials - Promotion.
ATG Tutorials - Promotion.ATG Tutorials - Promotion.
ATG Tutorials - Promotion.
 

Similar a Oracle Endeca Developer's Guide

Similar a Oracle Endeca Developer's Guide (20)

Tomcat + other things
Tomcat + other thingsTomcat + other things
Tomcat + other things
 
treeview
treeviewtreeview
treeview
 
treeview
treeviewtreeview
treeview
 
Jsp and jstl
Jsp and jstlJsp and jstl
Jsp and jstl
 
Rest hello world_tutorial
Rest hello world_tutorialRest hello world_tutorial
Rest hello world_tutorial
 
[Laptrinh.vn] lap trinh Spring Framework 3
[Laptrinh.vn] lap trinh Spring Framework 3[Laptrinh.vn] lap trinh Spring Framework 3
[Laptrinh.vn] lap trinh Spring Framework 3
 
Ta Javaserverside Eran Toch
Ta Javaserverside Eran TochTa Javaserverside Eran Toch
Ta Javaserverside Eran Toch
 
Test2
Test2Test2
Test2
 
Test2
Test2Test2
Test2
 
Tuning and optimizing webcenter spaces application white paper
Tuning and optimizing webcenter spaces application white paperTuning and optimizing webcenter spaces application white paper
Tuning and optimizing webcenter spaces application white paper
 
Ibm
IbmIbm
Ibm
 
Understanding JSP -Servlets
Understanding JSP -ServletsUnderstanding JSP -Servlets
Understanding JSP -Servlets
 
Creating web form
Creating web formCreating web form
Creating web form
 
Creating web form
Creating web formCreating web form
Creating web form
 
Web technologies part-2
Web technologies part-2Web technologies part-2
Web technologies part-2
 
Architecture Specification - Visual Modeling Tool
Architecture Specification - Visual Modeling ToolArchitecture Specification - Visual Modeling Tool
Architecture Specification - Visual Modeling Tool
 
Rest web service_with_spring_hateoas
Rest web service_with_spring_hateoasRest web service_with_spring_hateoas
Rest web service_with_spring_hateoas
 
Practical OData
Practical ODataPractical OData
Practical OData
 
ASP.NET - Web Programming
ASP.NET - Web ProgrammingASP.NET - Web Programming
ASP.NET - Web Programming
 
Java Spring MVC Framework with AngularJS by Google and HTML5
Java Spring MVC Framework with AngularJS by Google and HTML5Java Spring MVC Framework with AngularJS by Google and HTML5
Java Spring MVC Framework with AngularJS by Google and HTML5
 

Más de Keyur Shah

Accessibility Testing - Using Asqatasun - Meetup Webinar
Accessibility Testing - Using Asqatasun - Meetup WebinarAccessibility Testing - Using Asqatasun - Meetup Webinar
Accessibility Testing - Using Asqatasun - Meetup WebinarKeyur Shah
 
IBM Watson Analytics - Trial
IBM Watson Analytics - TrialIBM Watson Analytics - Trial
IBM Watson Analytics - TrialKeyur Shah
 
Introduction to Enterprise Architecture
Introduction to Enterprise ArchitectureIntroduction to Enterprise Architecture
Introduction to Enterprise ArchitectureKeyur Shah
 
Coursera bigdata 2014
Coursera bigdata 2014Coursera bigdata 2014
Coursera bigdata 2014Keyur Shah
 
Endeca - Promoting Content & Configuration from Staging to Production
Endeca - Promoting Content & Configuration from Staging to ProductionEndeca - Promoting Content & Configuration from Staging to Production
Endeca - Promoting Content & Configuration from Staging to ProductionKeyur Shah
 
Oracle ATG Commerce - Launch Management Framework
Oracle ATG Commerce - Launch Management FrameworkOracle ATG Commerce - Launch Management Framework
Oracle ATG Commerce - Launch Management FrameworkKeyur Shah
 
ATG Product Modules [INTERESTING VIEW]
ATG Product Modules [INTERESTING VIEW]ATG Product Modules [INTERESTING VIEW]
ATG Product Modules [INTERESTING VIEW]Keyur Shah
 
Essentials of BI
Essentials of BIEssentials of BI
Essentials of BIKeyur Shah
 
MSU - Strategc Organizational Leadership & Management
MSU - Strategc Organizational Leadership & ManagementMSU - Strategc Organizational Leadership & Management
MSU - Strategc Organizational Leadership & ManagementKeyur Shah
 
Web intelligence and big data
Web intelligence and big dataWeb intelligence and big data
Web intelligence and big dataKeyur Shah
 
ATG - Common Terminologies
ATG - Common TerminologiesATG - Common Terminologies
ATG - Common TerminologiesKeyur Shah
 
MindMap - Developing a Business Case [Please Download for better view]
MindMap - Developing a Business Case [Please Download for better view]MindMap - Developing a Business Case [Please Download for better view]
MindMap - Developing a Business Case [Please Download for better view]Keyur Shah
 
ATG - Commerce Service Center (CSC)
ATG - Commerce Service Center (CSC)ATG - Commerce Service Center (CSC)
ATG - Commerce Service Center (CSC)Keyur Shah
 
Oracle Endeca Commerce - Installation Guide
Oracle Endeca Commerce - Installation GuideOracle Endeca Commerce - Installation Guide
Oracle Endeca Commerce - Installation GuideKeyur Shah
 
ATG - Installing WebLogic Server
ATG - Installing WebLogic ServerATG - Installing WebLogic Server
ATG - Installing WebLogic ServerKeyur Shah
 
Master Certificate in Strategic Organizational Leadership & Management
Master Certificate in Strategic Organizational Leadership & ManagementMaster Certificate in Strategic Organizational Leadership & Management
Master Certificate in Strategic Organizational Leadership & ManagementKeyur Shah
 

Más de Keyur Shah (16)

Accessibility Testing - Using Asqatasun - Meetup Webinar
Accessibility Testing - Using Asqatasun - Meetup WebinarAccessibility Testing - Using Asqatasun - Meetup Webinar
Accessibility Testing - Using Asqatasun - Meetup Webinar
 
IBM Watson Analytics - Trial
IBM Watson Analytics - TrialIBM Watson Analytics - Trial
IBM Watson Analytics - Trial
 
Introduction to Enterprise Architecture
Introduction to Enterprise ArchitectureIntroduction to Enterprise Architecture
Introduction to Enterprise Architecture
 
Coursera bigdata 2014
Coursera bigdata 2014Coursera bigdata 2014
Coursera bigdata 2014
 
Endeca - Promoting Content & Configuration from Staging to Production
Endeca - Promoting Content & Configuration from Staging to ProductionEndeca - Promoting Content & Configuration from Staging to Production
Endeca - Promoting Content & Configuration from Staging to Production
 
Oracle ATG Commerce - Launch Management Framework
Oracle ATG Commerce - Launch Management FrameworkOracle ATG Commerce - Launch Management Framework
Oracle ATG Commerce - Launch Management Framework
 
ATG Product Modules [INTERESTING VIEW]
ATG Product Modules [INTERESTING VIEW]ATG Product Modules [INTERESTING VIEW]
ATG Product Modules [INTERESTING VIEW]
 
Essentials of BI
Essentials of BIEssentials of BI
Essentials of BI
 
MSU - Strategc Organizational Leadership & Management
MSU - Strategc Organizational Leadership & ManagementMSU - Strategc Organizational Leadership & Management
MSU - Strategc Organizational Leadership & Management
 
Web intelligence and big data
Web intelligence and big dataWeb intelligence and big data
Web intelligence and big data
 
ATG - Common Terminologies
ATG - Common TerminologiesATG - Common Terminologies
ATG - Common Terminologies
 
MindMap - Developing a Business Case [Please Download for better view]
MindMap - Developing a Business Case [Please Download for better view]MindMap - Developing a Business Case [Please Download for better view]
MindMap - Developing a Business Case [Please Download for better view]
 
ATG - Commerce Service Center (CSC)
ATG - Commerce Service Center (CSC)ATG - Commerce Service Center (CSC)
ATG - Commerce Service Center (CSC)
 
Oracle Endeca Commerce - Installation Guide
Oracle Endeca Commerce - Installation GuideOracle Endeca Commerce - Installation Guide
Oracle Endeca Commerce - Installation Guide
 
ATG - Installing WebLogic Server
ATG - Installing WebLogic ServerATG - Installing WebLogic Server
ATG - Installing WebLogic Server
 
Master Certificate in Strategic Organizational Leadership & Management
Master Certificate in Strategic Organizational Leadership & ManagementMaster Certificate in Strategic Organizational Leadership & Management
Master Certificate in Strategic Organizational Leadership & Management
 

Último

Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Rob Geurden
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLionel Briand
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 

Último (20)

Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 

Oracle Endeca Developer's Guide

  • 1. Oracle Endeca Introduction to Assembler Application & Cartridges - Keyur Shah (http://www.linkedin.com/in/keyurkshah) Note: Source for some of the images is Oracle Endeca Documentation
  • 3. Endeca Component Interaction - 2 Offline processing raw data sources Endeca ITL Endeca MDEX Engine Endeca Application Tier Online processing Your Application User’s Browser
  • 4. Endeca Pipeline  The end result is an Endeca index which possesses enriched source data and enhanced search and Guided Navigation capabilities Loading Data Caching & Joining Data Manipulating Data Dimension Mapping The Endeca pipeline
  • 5. Endeca Index Architecture Crawl Website Configuration Content Database & File System Indexing MDEX Dgraph / Index Console WSDL CMS Connector File System JDBC Merge Record Store Record Store MDEX Compatibl e Output Dimension Mapping Manipulators Document Conversion Content Acquisition System Custom
  • 6. ATG-Endeca Integration Endeca Content Acquisition System Product Record Store Dimension Record Store ATG Web Commerce Product Exporter Category Exporter Schema Exporter Schema Record Store Endeca Application Controller Endeca ITL Endeca MDEX Configuration Forge Web Application Product Catalog Indexing Admin ATG Deployment Template Module Endeca Configuration  Publish Product Catalog Assets to Endeca Records  Publish Categories to Endeca Dimensions  Publish Schema Metadata from ATG Web Commerce to Endeca  Operational Support
  • 7. MDEX Engine The MDEX Engine uses proprietary data structures and algorithms that allow it to provide real-time responses to client requests. The MDEX Engine stores the indices that were created the Dgidx indexing program. After the indices are stored, the MDEX Engine receives client requests via the application tier, queries the indices, and then returns the results. The two primary components of the MDEX Engine package are the following: • Dgraph • Dgidx MDEX engine is designed to be stateless.
  • 8. Overview of CAS & Crawler
  • 9. Endeca – Type of Pages  Site may have 3 basic page types:
  • 10. Page Structure & Content Type
  • 11. Templates & Cartridges Work Together
  • 13. Endeca Assembler Application  The Endeca Assembler application enables a WEB application to query the MDEX Engine and retrieve the appropriate dynamic content based on user’s navigation state or other triggers  The Assembler application provides a RESTful web service API that returns results either in JSON or XML.  The Assembler API is powered by Java, but the query interface is language-agnostic web service
  • 14. Example of JSON Returned by Assembler Application
  • 15. Example of JSON http://localhost:8006/discover/?format=json Explicitly retrieve JSON from Assembler Open the JSON in Notepad++ Download the JSON Viewer for Notepad++
  • 16. JSON Viewer in Notepad++  You can download the JSON Viewer for Notepad++ from Sourceforge  http://sourceforge.net/projects/nppjsonviewer/?source=dlp  Unzip the download  This plugin is meant to display a JSON string in a Treeview. It also marks the error position in case of parsing errors.  Thats it!!! ============Instruction:============ 1. Paste the file "NPPJSONViewer.dll" to Notepad++ plugin folder 2. open a document containing a JSON string 3. Select JSON fragment and navigate to plugins/JSON Viewer/show JSON Viewer or press "Ctrl+Alt+Shift+J"
  • 17. Cartridge Creation Workflow Review As we have seen, the high-level workflow for creating a basic cartridge is:  1. Create a cartridge template and upload it to Endeca Workbench  2. Use Experience Manager to create and configure and instance of the cartridge  3. Add a renderer to the front-end application FOR DEVELOPERS Step 2 is necessary during development in order to have a cartridge instance with which to test. However, once the cartridge is complete, the business user is typically responsible for creating and maintaining cartridge instances in Experience Manager.
  • 18. Endeca Content & Indexing
  • 19. What Happens @ Runtime?  The Assembler retrieves this configuration at runtime and uses it to build the response model that it returns to the client application.
  • 21. Hello Cartridge - Example To create and configure a basic “Hello cartridge”: Create a cartridge template 1. Open a new plain text or XML file 2. Type or copy the following contents to the file (with .xml extension) 3. Save the file into C:EndecaAppsDiscoverconfigcartridge_templates folder
  • 22. Hello World Cartridge – Example (Cont’d) <ContentTemplate xmlns="http://endeca.com/schema/content-template/2008" xmlns:editors="editors" type=“SecondaryContent" id="Hello"> <Description>A sample cartridge that can display a simple message.</Description> <ThumbnailUrl>/ifcr/tools/xmgr/img/template_thumbnails/sidebar_content.jpg</ThumbnailUrl> <ContentItem> <Name>Hello cartridge</Name> <Property name="message"> <String /> </Property> <Property name="messageColor"> <String /> </Property> </ContentItem> <EditorPanel> <BasicContentItemEditor> <editors:StringEditor propertyName="message" label="Message" /> <editors:StringEditor propertyName="messageColor" label="Color" /> </BasicContentItemEditor> </EditorPanel> </ContentTemplate> Save the file into C:EndecaAppsDiscoverconfig cartridge_templates folder
  • 23. Save & Upload Cartridge
  • 24. Add a Cartridge to a Page (Experience Manager)
  • 28. New RightContent Added “Hello Cartridge” Add the custom “Message” and “Color” values followed by clicking on the “SAVE CHANGES” BUTTON (right top)
  • 29. Review the Changes in Discover Authoring Right Content Top Related Products Hello The error displays because we have not yet created a renderer for the Hello cartridge. http://localhost:8006/discover-authoring
  • 30. Viewing the JSON for Cartridge Verification  At the footer of the discover authoring default page, you should see couple of interesting links “json” and “xml”  You can click on JSON or XML link to view the MDEX response (content type + content) to the page request  Clicking on “json” – you will be able to view the page response in json format  Goto the bottom of JSON response or search “Hello” in the response  You will be able to confirm the presence of Hello Cartridge
  • 31. Hello.JSP – Bring It All Together Adding the Basic Renderer  Endeca application have no way to render the content to the front- end (Either JSON or XML or Custom XML)  Create a new JSP file (Hello.jsp) in the C:EndecaToolsAndFrameworks3.1.2referencediscover- electronics-authoringWEB-INFviewsdesktopHello folder (You need to create the Hello folder) <%@page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF- 8"%> <%@include file="/WEB-INF/views/include.jsp"%> <div style="border-style: dotted; border-width: 1px; border-color: #999999; padding: 10px 10px"> <div style="font-size: 150%; color: ${component.messageColor}">${component.message} </div> </div> Color- coded For your copy-paste purpose
  • 32. Testing the Hello.jsp  Once you have created the JSP and dropped in the Hello folder as described in previous slide, you are ready to test the changes  Just refresh the Discover authoring home page http://localhost:8006/discover-authoring , and you should be able to see the Hello World! Message as defined in the experience manager
  • 34. Experience Manager Impact Cartridge Editor Customization  Previous  Now
  • 35. Save & Confirm Changes In Authoring View
  • 36. Customize Thumbnail Image Custom Image & Dimension  Create a custom JPG image in your favorite image tool e.g. You can use Windows paint application  Images are typically of 81x81 dimension in Experience Manager (below are examples of default images)
  • 37.  You can copy/save the custom thumbnail image on your web or image server  For this example, We are saving the image to below folder Customize Thumbnail Image (Cont’d) – Common Location
  • 38. Customize Thumbnail Image (Cont’d) – Modify the Cartridge XML We have commented the default ThumbnailUrl TAG, and customized the ThumbnailUrl TAG to use the Hello.jpg from the images folder where we saved this file in previous slide NOTE: Remember to run the set_templates script in Control folder
  • 39. Customize Thumbnail Image (Cont’d) – Verify the changes