Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Oracle Endeca Developer's Guide

24,904 views

Published on

This guide will help you understand the basic Endeca concepts + developing cartridges and some customization.

Published in: Software, Technology
  • D0WNL0AD FULL ▶ ▶ ▶ ▶ http://1url.pw/FVI2J ◀ ◀ ◀ ◀
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • D0WNL0AD FULL ▶ ▶ ▶ ▶ http://1url.pw/FVI2J ◀ ◀ ◀ ◀
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Have u ever tried external professional writing services like ⇒ www.HelpWriting.net ⇐ ? I did and I am more than satisfied.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • No More Padded Bras. I'm 33 and ever since I was in my late teens, I have been wearing padded bras to make my breasts look bigger. I've been trying to get my breasts to grow for years but I've never ben able to find a solution that works. I tried your book with little hope, but was extremely surprised to find I was getting results just 2 weeks after using your techniques. After 1 month, I managed to get rid of my padded bras and I now I'm loving the new underwear I treat myself to! ➣➣➣ https://t.cn/A6Li7BTH
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Oracle Endeca Developer's Guide

  1. 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
  2. 2. Endeca Component Interaction
  3. 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. 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. 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. 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. 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. 8. Overview of CAS & Crawler
  9. 9. Endeca – Type of Pages  Site may have 3 basic page types:
  10. 10. Page Structure & Content Type
  11. 11. Templates & Cartridges Work Together
  12. 12. Cartridge Structure
  13. 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. 14. Example of JSON Returned by Assembler Application
  15. 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. 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. 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. 18. Endeca Content & Indexing
  19. 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.
  20. 20. How does it all work?
  21. 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. 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. 23. Save & Upload Cartridge
  24. 24. Add a Cartridge to a Page (Experience Manager)
  25. 25. Workbench & Experience Manager
  26. 26. “Add/Change” for Cartridge Selector
  27. 27. Add New “RightContent” 1 2 3 4
  28. 28. New RightContent Added “Hello Cartridge” Add the custom “Message” and “Color” values followed by clicking on the “SAVE CHANGES” BUTTON (right top)
  29. 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. 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. 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. 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
  33. 33. Customize Cartridge Editor
  34. 34. Experience Manager Impact Cartridge Editor Customization  Previous  Now
  35. 35. Save & Confirm Changes In Authoring View
  36. 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. 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. 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. 39. Customize Thumbnail Image (Cont’d) – Verify the changes

×