1 / 20

Automatic for the personnel “Librarian friendly programming”

Automatic for the personnel “Librarian friendly programming”. Dror Berger & Meirav Livne IGELU 2014. Why do we need programming?. Customize our systems to our own workflows and extend their capabilities Add a functionality Analyzing our data. What are our available resources?.

onawa
Télécharger la présentation

Automatic for the personnel “Librarian friendly programming”

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Automatic for the personnel“Librarian friendly programming” Dror Berger & Meirav Livne IGELU 2014

  2. Why do we need programming? • Customize our systems to our own workflows and extend their capabilities • Add a functionality • Analyzing our data

  3. What are our available resources? • In-house development resources • Institutional computation Centre • System librarians / Computer Savvy librarians

  4. “Librarian friendly programming” • System librarians are able to see if the logic matches their definitions • System librarians are able to suggest changes and corrections to the developers • System librarians are able to amend the code, and even create their own programme by copying and pasting parts of existing code lines into a new and cohesive programme • Most importantly to our IGELU community - Code can be easily shared between libraries, and can be used by libraries who do not have sufficient programming resources.

  5. “Librarian friendly programming”

  6. Thank you!Questions? Dror Berger – dror.berger@nli.org.il Meirav Livne – Meirav.livne@nli.org.il

  7. Input files – Sequential file

  8. Input files – SQL output

  9. Input files – Text from Excel

  10. Variable names

  11. Relatively easy to understand • Beautiful is better than ugly • Explicit is better than implicit • Simple is better than complex • Complex is better than complicated • Readability counts

  12. Relatively easy to understand

  13. Use comments that librarians can read

  14. Human readable outputs

  15. Human readable outputs

  16. Human readable outputs

  17. What is gawk • Gawk is the GNU version of the commonly available UNIX awk program, a popular stream editor. • An open source programme with a large developers community. • Last version: 4.1.1 released on 08-Apr-2014

  18. Why use gawk? • Programs in awk are different from programs in most other languages, because awk programs are "data-driven": you describe the data you want to work with and then what to do when you find it. Most other languages are "procedural." You have to describe, in great detail, every step the program is to take. When working with procedural languages, it is usually much harder to clearly describe the data your program will process. For this reason, awk programs are often refreshingly easy to read and write.

  19. Code maintenance

More Related