Difference between revisions of "OSBW Technical Design"

From Code4Lib
Jump to: navigation, search
(Replacing page with 'This page can be deleted')
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Open_Source_Book_Widgets|OSBW Main Page]]
+
This page can be deleted
 
+
If you are a technical sort, interested in discussing technical issues, this is the place to do it.
+
 
+
= Availability in Local Libraries =
+
 
+
OpenBook currently provides a link to the WorldCat record as a way of showing availability in libraries. Thing is, WorldCat only shows availability for member libraries. I think it is possible to do more. If a library has a web-based catalogue, the catalogue is usually designed to be findable and it works in a consistent way. Usually it is a simple search box and button, defaulting to a keyword search, with results wrapped in hyperlink. Again, it is designed to be findable and consistent. Why not take advantage of that and use a little screen-scraping to see if a result exists for a given title? No doubt there are variations between catalogues, but how many library catalogues exist? And surely, a few simple rules per type could make things work.The user will be invited to configure their library using "the fuzzy library adaptor", a wizard that tests the catalogue. If the test fails, WorldCat can still be used. This feature is my current main interest. --[[User:Johnmiedema|Johnmiedema]] 06:30, 12 January 2009 (PST)
+
 
+
= Sharing Code Modules =
+
 
+
Why reinvent the wheel? My next steps with OpenBook will work toward separating the WordPress code from the generic code. This will begin to create PHP modules available for reuse by others. Are you doing the same?
+
 
+
One question: I'm writing in PHP. How about others?  --[[User:Johnmiedema|Johnmiedema]] 06:30, 12 January 2009 (PST)
+
* PHP mainly (interested in Python, but no real experience) --[[User:Tomkeays|tomkeays]] 08:48, 12 January 2009 (PST)
+
 
+
= Live vs. Cached Design =
+
 
+
Currently OpenBook connects to Open Library via a live connection. If Open Library is down, OpenBook uses exception handling to prevent a hang. I have been thinking about the option of a cached design in which a widget can choose to download a cover image locally, and use static HTML for the rest. Once the HTML is written, the page would not ever have to call the datasource again. Thoughts? --[[User:Johnmiedema|Johnmiedema]] 06:30, 12 January 2009 (PST)
+
 
+
== Cached ==
+
'''Pro'''
+
* Data still available when a service is down
+
* Less traffic for data providers
+
* Less traffic for users of book widgets (blogs, etc.)
+
* False data is not easily corrected
+
 
+
== Live ==
+
'''Pro'''
+
* Much more easy to integrate data in a website
+
* No need for a database
+
* Always fresh data. Corrections in data source are shown instantly
+
 
+
= Service Based Design =
+
 
+
This is just an idea that has been kicking around in my head. There are advantages to having a service based design. Right now, the heavy coding has to be done in WordPress, Drupal, Firefox, etc. How about a widget server that does all the work, returning the HTML. The only work that would have to be done on the client side is the call to the server. Dependence on a central server has its downsides too, e.g., downtime, but it could play an important role in the "book widget ecology". I have been thinking about designing OpenBook with a separate "server" module that encapsulates the functions I would hope to find on a server someday. --[[User:Johnmiedema|Johnmiedema]] 06:31, 12 January 2009 (PST)
+
 
+
[[Category:Open Source Book Widgets]]
+

Latest revision as of 16:09, 22 February 2009

This page can be deleted
https://wiki.code4lib.org/index.php?title=OSBW_Technical_Design&diff=cur&oldid=2103
wiki.code4lib.org
crawl=CC-MAIN-2022-05
26485
application/http; msgtype=response
sha1:FX3HPWNRRQW332LB4PD2JRIDNHGMUI3Y
<urn:uuid:1b74223c-12d7-44ec-90a3-0015ddacac23>
2022-01-21T03:05:43Z
128.193.164.120
text/html
sha1:VNVC2CWS2I5SJ3IT6BART7B5WTHDFVEM
<urn:uuid:823c610c-9aab-482e-b53a-cb366b0f0422>
https://wiki.code4lib.org/index.php?title=OSBW_Technical_Design&diff=cur&oldid=2103
response
<urn:uuid:3a796ae1-6f18-4e33-88db-c1cdc8f1ead4>
isPartOf: CC-MAIN-2022-05
publisher: Common Crawl
description: Wide crawl of the web for January 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-243
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/