Database Publishing Jon Whitener Web Communications Specialist University of Detroit Mercy Jon Whitener Web Communications Specialist University of Detroit.

Slides:



Advertisements
Similar presentations
Business Development Suit Presented by Thomas Mathews.
Advertisements

Microsoft SQL Server 2008 From the Program menu choose: Microsoft SQL Server 2008 R2  SQL Server Management Studio. You may see a window indicating the.
SEO Best Practices with Web Content Management Brent Arrington, Services Developer, Hannon Hill Morgan Griffith, Marketing Director, Hannon Hill 2009 Cascade.
Ch. 5 Web Page Design – Templates and Style Sheets Mr. Ursone.
SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
Using the UCI templates in Cascade Server for your site. (a first glance)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Title Slide without Picture Subtitle Presenter’s Name Presenter’s Title Organization,
SQL Forms Engine Koifman Eran Egri Ozi Supervisor: Ilana David.
Homepage Layout Management. Note: This is our last Core Publisher training in the series! You will be checking in with your Station Relations Support.
1 Agenda Views Pages Web Parts Navigation Office Wrap-Up.
Databases & Data Warehouses Chapter 3 Database Processing.
Section 13.1 Add a hit counter to a Web page Identify the limitations of hit counters Describe the information gathered by tracking systems Create a guest.
Adding metadata to web pages Please note: this is a temporary test document for use in internal testing only.
Scout Portal Toolkit For Web/Database Legal Material 2004 CONFERENCE FOR LAW SCHOOL COMPUTING.
131 Agenda Overview Review Roles Lists Libraries Columns.
Configuring Social Media, Google Analytics, and Gadgets Lila Bronson Training Manager, OmniUpdate, Inc.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
VxOWare File config guide. Section Id & Name & Description (vo_description.xml) 3 -- Id 1 -- Name 2 – Description.
Testing and Debugging Web pages. Final exam Wednesday, May 10: 10am – noon Content: guidelines will be distributed next lecture Format: Matching, multiple.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
09/28/ Cascade Server User's Conference1 Smart Cascade Server Implementations & Strategies 2009 Cascade Server User’s Conference Justin Klingman,
BPOS LOCALIZATION TEMPLATE Zürich, February 2010.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
Welcome to the session! We will begin soon.. How to Log In: 1.Visit ala.org (any page) 2.Select the Login link at the top right and use your credentials.
JourneyTEAM - –
Visual Web Design Dreamweaver Level 2. Hospitality Restrooms Food and Drink Turn cell phones off or set to vibrate Smoking Comfort Breaks Class Hours.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Overview Scale out architecture Servers, services, and topology in Central Administration.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
PHP and MySQL CS How Web Site Architectures Work  User’s browser sends HTTP request.  The request may be a form where the action is to call PHP.
09/29/ Cascade Server User's Conference 1 Cascade Server Flash & Data Integration 2009 Cascade Server User’s Conference Justin Klingman Manager,
Searching Business Data with MOSS 2007 Enterprise Search Presenter: Corey Roth Enterprise Consultant Stonebridge Blog:
ISpheresImage iSpheresImage Feature Overview and Progress Summary.
Access Chapter 8- Integrating Access with the Internet and other Programs.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 7 – Creating and Using Templates in a Web.
Tour Overview Introduction Collage Basics Collage Basics (Templates and Tools) Computer Configuration Bookmark Collage Getting Started Tour Collage Terminology.
Artezio LLC Address: 3G Gubkina Str., suite 504, Moscow, Russia, Phone: +7 (495) Fax: +7 (495)
Guide for Mahara My Views PY1 team 3 - Yihong Huo, Jian Ren, Poonam Kala 1Guide of My Views - Team 3.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
Creating a Dynamic Web Page Template Module 5: Beyond the Basics with Expression Web LESSON 10.
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
SEO Friendly Website Building a visually stunning website is not enough to ensure any success for your online presence.
A table is a set of data elements (values) that is organized using a model of vertical columns (which are identified by their name) and horizontal rows.
2004/051 >> Supply Chain Solutions That Deliver Users.
Transportation Agenda 77. Transportation About Columns Each file in a library and item in a list has properties For example, a Word document can have.
28 Copyright © 2009, Oracle. All rights reserved. Customizing the Oracle Business Intelligence User Interface.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
introductionwhyexamples What is a Web site? A web site is: a presentation tool; a way to communicate; a learning tool; a teaching tool; a marketing important.
Here are some things you can do while you wait 1.Open your omeka.net site in your browser (e.g. 2.Open.
Homepage Layout Management. Note: This is our last Core Publisher training in the series! You will be checking in with your Station Relations Support.
Virtual Collections VIRTUAL COLLECTIONS LDI Architecture Meeting, Tuesday, July 19.
COMP 143 Web Development with Adobe Dreamweaver CC.
17 Copyright © 2006, Oracle. All rights reserved. Information Publisher.
Joomla Awdhesh Kumar Singsys Pte Ltd. What is Joomla? Joomla is an award-winning content management system (CMS), which enables you to build Web sites.
EIONET Portal Tool Kit Miruna Bulandra Finsiel Romania Copenhagen, 28 May 2002.
EnhanceEdu IIIT-Hyderabad. Agenda What’s a wiki? Comparison with a website Wiki Formatting ‘My’ Page Fun with wiki 2EnhanceEdu, IIIT-Hyderabad.
AEM Digital Asset Management - DAM Author : Nagavardhan
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Full Text Finder Publication Finder Overview
Objective % Select and utilize tools to design and develop websites.
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Searching Business Data with MOSS 2007 Enterprise Search
Objective % Select and utilize tools to design and develop websites.
Microsoft Access 2003 Illustrated Complete
Microsoft Office Illustrated
Searching Business Data with MOSS 2007 Enterprise Search
Component Architecture
敦群數位科技有限公司(vanGene Digital Inc.) 游家德(Jade Yu.)
Presentation transcript:

Database Publishing Jon Whitener Web Communications Specialist University of Detroit Mercy Jon Whitener Web Communications Specialist University of Detroit Mercy

How many of you…  New to Cascade Server?  Are adminstrators?  Use Cascade for multiple, separate but related sites?  Have worked on any Web site that pulled data dynamically from a DB?  Have used Cascade’s Database Publishing?  New to Cascade Server?  Are adminstrators?  Use Cascade for multiple, separate but related sites?  Have worked on any Web site that pulled data dynamically from a DB?  Have used Cascade’s Database Publishing?

What is Database Publishing?

Cascade Server

External Database

Cascade Server External Database Site A Site D Site 5 Site B Site C

Dynamic sites are…

Example: UDM news articles

UDM’s sites College of HealthProfessions BusinessAdmin.www (General site) School of Dentistry College of Liberal Arts & Education Alumni College of Engineering & Science

The idea: share news  Enable each site to share (access / use) the news articles of every other site  Selective inclusion  E.g.  The Business site can include news from the Engineering site, like Ford CEO visit  The Alumni site can pull articles from any site where alumni are mentioned  Enable each site to share (access / use) the news articles of every other site  Selective inclusion  E.g.  The Business site can include news from the Engineering site, like Ford CEO visit  The Alumni site can pull articles from any site where alumni are mentioned

Sharing isn’t always easy  Sharing articles withinCascade was difficult and/or inefficient  Index blocks  Highly contorted XSL  Publishing to various sites also tricky  Publish all news pages on all sites  We did get it working …  Sharing articles withinCascade was difficult and/or inefficient  Index blocks  Highly contorted XSL  Publishing to various sites also tricky  Publish all news pages on all sites  We did get it working …

Sharing isn’t always easy  Upgrade to version 5 broke it

Database Publishing offers a better way

“DBP” for short (“DaBaPu” didn’t test well)

The goals  Enable separate sites to share news articles  Avoid duplication of content  Avoid multiple publishes for each article creation / edit  Use a tested, familiar technique  Enable separate sites to share news articles  Avoid duplication of content  Avoid multiple publishes for each article creation / edit  Use a tested, familiar technique

How to do it with DBP?

 In addition to their separate target sites, all sites publish to the shared, external database

 Sites can now select from all news articles

Tagging articles  Articles have custom metadata to indicate appropriate audiences  Alumni, current students, faculty, etc.  Also, path and Site ID are informative  Live sites can select appropriate articles using these criteria  Articles have custom metadata to indicate appropriate audiences  Alumni, current students, faculty, etc.  Also, path and Site ID are informative  Live sites can select appropriate articles using these criteria

How does it work?

Overview  Set up external database  Set up Administration assets in Cascade  Create content assets in Cascade  Create PHP Web page that can perform live queries of external database  Set up external database  Set up Administration assets in Cascade  Create content assets in Cascade  Create PHP Web page that can perform live queries of external database

Set up external database  MySQL 5.0+ required  Grant access to Cascade Server  Grant access to production Web servers  May want direct access (e.g. Navicat)  Follow security practices (omitted here)  MySQL 5.0+ required  Grant access to Cascade Server  Grant access to production Web servers  May want direct access (e.g. Navicat)  Follow security practices (omitted here)

Set up external database  External database schema is set by Hannon Hill  We’ll look at schema later  External database schema is set by Hannon Hill  We’ll look at schema later

Set up Cascade Administration assets  Transport  Target  Destination  Template  Transport  Target  Destination  Template  Configuration Set  Metadata Set  Data Definition  Content Type

Transport

Site Id User

Transport Test “Test Transport” option appears when a Transport is selected

Target Out. File Ext. Base Folder

Destination DB Transport

Test Destination

Template

Configuration Set  We create a new Set here  One Configuration pointing to new DBP Template  Would likely make sense to add DBP Configuration to one of your existing Configuration Sets  We create a new Set here  One Configuration pointing to new DBP Template  Would likely make sense to add DBP Configuration to one of your existing Configuration Sets

Configuration Set

Bear with me …

Data Definition

Metadata Set  Custom (“dynamic”) metadata will be used to make the news articles easily selectable  Here, we add “audience” information, i.e. indicate which audiences would be interested in the news article  Custom (“dynamic”) metadata will be used to make the news articles easily selectable  Here, we add “audience” information, i.e. indicate which audiences would be interested in the news article

Metadata Set

 When creating / editing a page, custom metadata will look like:

Content Type

Site ID cascades up  Some administrative assets are specific to a site number, i.e. the Site ID  Transport  Destination  Target  Template  Configuration  Configuration Set  Content Type  Some administrative assets are specific to a site number, i.e. the Site ID  Transport  Destination  Target  Template  Configuration  Configuration Set  Content Type

Create content assets  Create Page with new Content Type

Create content assets  Create Page with new Content Type

Now we’re getting to the good stuff  Let’s publish a page from the general site – Site ID 1

Peek at the DB  External database contains five tables  page  metadata  metadata_custom  file  folder  We’re concerned with the first three  External database contains five tables  page  metadata  metadata_custom  file  folder  We’re concerned with the first three

Table: page  After first Page publish, we have 1 record: id4 account_id1 site_id1 cms_idcef30e52c66d e7b6b1a1634 folder_id c66d bbff883f8b metadata_id1736 namewww-page-1 pathwww.udmercy.edu/dbp/page-1 content This is a headline This is REVISED body text, in a p element. This is some more, plus a picture, below: A link to the home page.

Table: page  After first Page publish, we have 1 record: id4Table’s auto-increment key account_id1Always 1 site_id1Set in Transport cms_idcef30e52c66d e7b6…Page’s ID in Cascade folder_id c66d bbf…Folder’s ID in Cascade metadata_id1736Foreign key  metadata table namewww-page-1Cascade system name pathwww.udmercy.edu/dbp/page-1Cascade path (≠ published path) content This is a headline This is REVISED body text, in a p element. … XML of the page’s DEFAULT region. (Would include any transformations applied to the DEFAULT region.)

Table: metadata  One record, with the fields you know from a Cascade’s Wired Metadata pane: id account_id site_id display_name title summary teaser keywords description author review_date start_date end_date last_published_at last_published_by created_by created_at updated_by updated_at idhere matches page.metadata_id

Table: metadata_custom  Here, we have two records for the page, because we selected two checkbox values id51 account_id1 site_id1 file_id[Null] folder_id[Null] page_id4 fieldaudiences valueAlumni id52 account_id1 site_id1 file_id[Null] folder_id[Null] page_id4 fieldaudiences valueStudents Foreign key  page.id First recordSecond record

Time to share  Repeat steps, from Transport up, for another site (Business) with Site ID 2  Publish a page from the Business site to the external database  Now the DB contains data published from two separate sites  Site ID 1: general site (www)  Site ID 2: College of Business site  Repeat steps, from Transport up, for another site (Business) with Site ID 2  Publish a page from the Business site to the external database  Now the DB contains data published from two separate sites  Site ID 1: general site (www)  Site ID 2: College of Business site

Tables after Site 2 publish (Selected fields)  page  metadata

Tables after Site 2 publish (Selected fields)  metadata_custom

Create PHP Web page  PHP to connect to database

Create PHP Web page  The SQL we’ll use in this PHP page

Create PHP Web page  PHP that queries DB and creates link list Note and.htm

The result

You will need to add another Configuration to actually publish the news article to the Web server so the links will work

Thank you!