colin carter - lsps and apis

29
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces. LSPs and APIs Colin Carter [email protected]

Upload: sconul

Post on 05-Dec-2014

692 views

Category:

Technology


0 download

DESCRIPTION

SCONUL Conference 20-21 June 2013, Dublin SCONUL Fringe session - LSPs and APIs: Integration and the next generation of library management systems, with Colin Carter, Sales Account Manager for the UK and Northern Europe, Innovative Interfaces Inc.

TRANSCRIPT

Page 1: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

LSPs  and  APIs  

Colin  Carter  [email protected]  

 

Page 2: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

LSPs  and  APIs  

•  A  bit  of  background  

•  What  do  we  need  from  APIs  

•  How  Innova@ve  are  approaching  this  

Page 3: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

A  liBle  bit  of  history…  

•  Integra@on  is  not  new  – Bibliographic  data  sources  – EDI  integra@on  – Student  registry  

•  Batch  processing  • Web  services  

– Self-­‐service  

Page 4: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Prolifera@on  

Page 5: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Why  do  we  need  APIs?  

•  Flexibility  of  the  applica@on  

•  Giving  libraries  choice  and  control  

•  Engaging  with  new/different  parts  of  your  ins@tu@ons  

Page 6: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

APIs  vs  SQL  Access  

•  Documented  

•  Different  views  

•  Version  controlled  

Page 7: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

What  do  we  need  from  APIs?  

•  Documenta@on  

•  Developer  community  

•  Need  to  be  used  by  the  company  as  well  as  the  community  

Page 8: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Why  Sierra  Open  Architecture  

Page 9: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

SIERRA ARCHITECTURE

Presenta@on  Layer  

Data  Access  Layer  

SQL  Database  

Business  Services  Layer   RESTful  APIs  SIP2,  NCIP  

INN-­‐Reach  Decision  Center  

SQL  Queries  Crystal  Reports  

Page 10: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

SIERRA OPEN DATA ACCESS

•  Query through ‘views’ – Simplifies reporting on a normalized database – Allows us to optimize efficiency – Encapsulate schema so it can evolve

•  Data manipulation through APIs – Ensures consistent enforcement of business

logic – Significantly reduces interfacing effort – Allows underlying implementation to evolve

Page 11: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

SQL  Access  

Page 12: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Sierra  Direct  SQL  Access  

Page 13: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

•  Ease  querying  for  the  report    •  A  ‘façade’  in  front  of  one  or  more  tables  •  They  are  read-­‐only  •  Insulate  you  from  changes  so  we  don't  break  your  reports  

What  is  a  ‘view’?  

Page 14: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Page 15: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

SELECT p.record_num AS "patron_record", p.expiration_date_gmt AS "expiration_date", count(c.id) AS "checkout_count" FROM sierra_view.patron_view p JOIN sierra_view.checkout c ON c.patron_record_id = p.id WHERE p.expiration_date_gmt < current_date GROUP BY 1,2 ORDER BY 3 desc

Page 16: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Expired  patron  records  with  checked  out  items  

Page 17: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Create  Reports  with  SQL  

Another sample report could be quickly run to identify all bibliographic records with ten or more holds waiting. Note that the library chose to include the date the first item was cataloged. This library would use the gathered information to plan additional acquisitions because their DVD collec-tion is quite heavily used.

CONCLUSION Sierra provides real-world advantages to today’s libraries. With the Sierra Open Database and Sierra DNA, librarians can have direct access to all of the libraries’ data, more quickly, than in any other solution. Properly informed and applied, decisions made by librarians can shape collec-tions, save significant funds in library operations, and increase patron satisfaction by delivering material in mul-tiple formats for their use.

Sierra brings powerful, sophisticated data access to its libraries. Library staff can take advantage of valuable, real time access to all Sierra’s underlying bibliographic and transactional data through the application of Sierra DNA and Sierra Views. Best yet, Sierra is developed, enhanced, and backed by Innovative so you’ll know that we’ll be there for you when you need us. Open data access, documented design, and trusted support lead to a wealth of possibilities for your library.

For more information: Web: sierra.iii.com Email: [email protected] Call: 800-878-6600

facebook.com/innovativeinterfaces twitter.com/iii_Innovative

© Innovative Interfaces, Inc. 5850 Shellmound Way – Emeryville, CA 94608 Millennium™ and Sierra™ are trademarks of Innovative Interfaces, Inc.

University Library

County Library System

Another sample report could be quickly run to identify all bibliographic records with ten or more holds waiting. Note that the library chose to include the date the first item was cataloged. This library would use the gathered information to plan additional acquisitions because their DVD collec-tion is quite heavily used.

CONCLUSION Sierra provides real-world advantages to today’s libraries. With the Sierra Open Database and Sierra DNA, librarians can have direct access to all of the libraries’ data, more quickly, than in any other solution. Properly informed and applied, decisions made by librarians can shape collec-tions, save significant funds in library operations, and increase patron satisfaction by delivering material in mul-tiple formats for their use.

Sierra brings powerful, sophisticated data access to its libraries. Library staff can take advantage of valuable, real time access to all Sierra’s underlying bibliographic and transactional data through the application of Sierra DNA and Sierra Views. Best yet, Sierra is developed, enhanced, and backed by Innovative so you’ll know that we’ll be there for you when you need us. Open data access, documented design, and trusted support lead to a wealth of possibilities for your library.

For more information: Web: sierra.iii.com Email: [email protected] Call: 800-878-6600

facebook.com/innovativeinterfaces twitter.com/iii_Innovative

© Innovative Interfaces, Inc. 5850 Shellmound Way – Emeryville, CA 94608 Millennium™ and Sierra™ are trademarks of Innovative Interfaces, Inc.

University Library

County Library System

Page 18: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

APIs  

Page 19: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

What  Have  We  Been  Hearing  And  Seeing?  

Image  Source:  Nielson.com  

Page 20: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

What  They  Will  Do  For  You!  

•  Extend  core  LSP  to  beBer  serve  patrons  

•  New  uses  •  Solve  old  problems  •  ABract  new  users  •  Enable  you  to  engage  developers  

•  Allow  you  to  rapidly  prototype  

Page 21: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Development  Model  

Library  Idea  Ini/al  

Prototype  App  for  

Library  Use  

Share  with  Community  

Expand  App  Use  

Mainstream  Feature  /  

App  

Page 22: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

What  We  Want  To  Provide    

•  Well  Defined  APIs  •  Support  •  Developer  Community  

Page 23: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Sierra  REST  API  Objec@ves  

•  Maximize  developer  produc@vity  and  success  

•  “Industry  standard”  •  Consistent,  easy  to  use  syntax  •  Extensible  •  Discoverable  •  Manage  sophis@cated  data  •  Small  footprint/low  server  impact  

Page 24: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Example  Request  GET  /v2/bibs/b11505243?fields=bibinfo,holds  

Page 25: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Example  Response      {    "key":  “b11505243”,              “bibinfo":  {”@tle"  :  [{"value":  ”  The  Big  Short:  Inside  the  Doomsday  Machine"}],  

               ”author”  :  [{"value":  ”  Michael  Lewis"}],                  ”publisher”  :  [{"value":  ”  W.W.  Norton  &  Company;  1st  Edi@on  (March  15,  2010)"}]},  

         "holds":  {                        "links":  {  "self":  {  "href":  ”hBp://rest.mylib.com/v2/holds"  }},                        "array":  [                              {  "key":  "hold-­‐36”,                                                "links":  {  "self":  {  "href":  ”hBp://rest.mylib.com/v2/holds/hold-­‐36"  }},  

                           “aBributes":    {  ”pickupAtName":  ”Main  Library”,                                                                                      ”datePlaced":  ”  2013-­‐03-­‐25T10:15:56-­‐08:00”}                              “patron":  {  "info":  [  ”fullName":  [{"value":  ”  Michael  Pollan"}]}                          },  

                                       {    "key":  "hold-­‐247",                                                  "links":  {  "self":  {  "href":  ”hBp://rest.mylib.com/v2/holds/hold-­‐247"  }},  

                             “aBributes":    {  ”pickupAtName":  ”  Bookmobile”,                                                                                        ”datePlaced”:  ”  2013-­‐03-­‐25T10:56:22-­‐08:00”}                                “patron":  {  ”info":  [  ”fullName":  [{"value":  ”  Michael  Chabon”}}]  }  

Page 26: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

RESTful  “Ecosystem”  

•  Java  •  JavaScript  •  PHP  •  Ruby  •  iOS  •  Flash  •  Perl  •  etc  

Page 27: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Hot  Authors  at  The  Public  Library  of  Cincinna@  and  Hamilton  County  

Page 28: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

Developer  Community  

Conceptual  Illustra/on  

•  API  Defini@ons  •  Discussions  •  Code  Samples  

•  Code  Sharing  •  “Sandbox”  •  SQL  as  well  

Page 29: Colin Carter  - LSPs and APIs

Copyright  Innova/ve  Interfaces.    Not  to  be  duplicated  or  distributed  without  permission  of  Innova/ve  Interfaces.  

THANK  YOU!