content outside of contentdm: part 1: exhibit creation tool using

43
Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using Prototype and Script.aculo.us Phil Sager Ohio Historical Society [email protected]

Upload: tutorialsruby

Post on 13-May-2015

516 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Prototype and Script.aculo.us

Phil Sager Ohio Historical Society

[email protected]

Page 2: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Old Ohio Memory with scrapbook

Page 3: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

New CONTENTdm-based Ohio Memory with exhibit creator tool: http://www.ohiomemory.org/

Page 4: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Exhibit creation tool http://www.ohiomemory.org/custom/exhibits/

Page 5: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Example Search on “Grant”

Page 6: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Mouseover titles

Page 7: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Drag and Drop

Page 8: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Example of dropped item plus extra information from CDM description field by

clicking on question mark

Page 9: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Selections with annotations and title

Page 10: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

After clicking on “Create Exhibit”

Page 11: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Exhibit is created

Page 12: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Different backgrounds available

Page 13: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Different background

Page 14: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

“Add This” Button

Page 15: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Exhibit with annotation and CDM link

Page 16: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

CONTENTdm Record

Page 17: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Prototype

•   “Prototype is a JavaScript framework that aims to ease development of dynamic web applications. It offers a familiar class-style OO framework, extensive Ajax support, higher-order programming constructs, and easy DOM manipulation.”

Page 18: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using
Page 19: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using
Page 20: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using
Page 21: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Script.aculo.us •   “script.aculo.us is a set of JavaScript

libraries to enhance the user interface of web sites. It provides a visual effects engine, a drag and drop library (including sortable lists), a couple of controls (Ajax-based autocompletion, in-place editing, sliders) and more.”

•   “It's an add-on to the fantastic Prototype framework.”

Page 22: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using
Page 23: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using
Page 24: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using
Page 25: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Other Popular Libraries •   jQuery, jQuery UI

–   http://jquery.com/ •   MooTools

–   http://mootools.net/ •   Dojo

–   http://www.dojotoolkit.org/ •   Yahoo! User Interface Library (YUI)

–   http://developer.yahoo.com/yui/ •   Ext Core

–   http://www.extjs.com/products/extcore/

Page 26: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Google AJAX Libraries API

Page 27: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using
Page 28: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using
Page 29: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Search form

Page 30: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Prototype DOM methods

Page 31: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Prototype AJAX Request

Page 32: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Server-side

Page 33: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

JSON •   “JSON (JavaScript Object Notation) is a

lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of JavaScript.”

•   “The Fat-Free Alternative to XML” •   http://json.org

Page 34: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

JSON Example

Page 35: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Prototype decodes JSON

Page 36: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Use Script.aculo.us to build results

Page 37: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Script.aculo.us “Draggable”

Page 38: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Scriptaculous “Droppables”

Page 39: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Create Exhibit

Page 40: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Exhibit uses Lightview http://www.nickstakenburg.com/projects/lightview/

Page 41: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Online Resources •   Prototype: http://www.prototypejs.org

–   Tips and Tutorials: http://www.prototypejs.org/learn –   Prototype Framework Tutorial:

http://www.tutorialspoint.com/prototype •   Script.aculo.us: http://script.aculo.us

–   script.aculo.us Tutorial: http://www.tutorialspoint.com/script.aculo.us

–   10 Useful tutorials to learn Scriptaculous: http://woork.blogspot.com/2008/10/10-useful-tutorials-to-learn.html

•   Google AJAX Libraries API: http://code.google.com/apis/ajaxlibs –   Sign up for a Google API key:

http://code.google.com/apis/ajaxsearch/signup.html •   Lightview: http://www.nickstakenburg.com/projects/lightview

Page 42: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Books •   Crane, Dave, Bear Bibeault, Tom Locke, and

Thomas Fuchs. Prototype and Scriptaculous in Action. Manning Publications, 2007.

•   Dupont, Andrew. Practical Prototype and Script.aculo.us. Apress, 2008

•   Porteneuve, Christophe. Prototype and script.aculo.us: You Never Knew JavaScript Could Do This! Pragmatic Bookshelf, 2007.

•   Rao, Sridhar. PHP and script.aculo.us Web 2.0 Application Interfaces. Packt Publishing, 2009.

Page 43: Content Outside of CONTENTdm: Part 1: Exhibit Creation Tool using

Phil Sager Ohio Historical Society [email protected]