Dynamic Slides using OpenOffice.org Impress and Python

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

2 Favorites & 1 Group

Dynamic Slides using OpenOffice.org Impress and Python - Presentation Transcript

  1. Dynamic slides using OpenOffice Impress
      • Lexatel Technologies, S.L.
  2. Dynamic presentations using OpenOffice Impress SQL queries and high-level API Carles Pina i Estany carles.pinaestany@ lexatel.com
    • What is a dynamic slide?
        • OpenOffice Impress Template
        • Data behind it updated every several seconds, automatically
        • Data from external source:
          • Mysql (implemented)
          • Any Python code (implemented)
          • Webservices
          • Serial port
    Data Source Program
    • Practical Applications
    • Information Desks
    • Point of Sale
    • Airport
    • Train Station
    • Any waiting room
    • Real Time Monitoring
    Any place where up-to-date information is critical.
    • Quick win:
    • After this presentation you will be able to:
      • Grab the code (http://www.lexatel.com/slides)
      • Make an OpenOffice Impress template
      • Write the config.py file using:
        • Mysql username and password
        • Mysql host
        • Write some queries
      • Execute it!
  3. Automatically refreshed
    • Architecture
    tcp Data Slides Python tcp MySQL Python Open Office
    • Config:
    • SQL
    • Other param.
    Your own application
    • Features
      • Allows complete separation between interface design and system administration, databases, etc. Graphics designers can have fun!
      • 100% remote administration.
      • You can use several screens (Dual Head, replicate the same image, etc.)
        • CPU load: on average: 0%
        • Multiplatform!
    Screen 1 Screen 2
    • Problems
      • OpenOffice v2.2 crashed often (New version 2.3 released 17-Sep is much more stable). We implemented watchdog to restart OO if needed.
      • Python and Mysql do not communicate well over a network (low-level design problem). Using sql-relay (or similar utilities) could avoid the problem.
    • Download
      • Download code from http://www.lexatel.com/slides
      • Setup the follow variables in config.py:
        • dbhost, dbname, dbuser, dbpassword
      • Assign odpfile1 and odpfile2 to some .odp file (if one fails, try another one)
    • 3 types of code:
      • -SQL queries
        • sql[“name_object”]=”””select param_value from table order by date limit 1”””
      • -Code using high level API
        • sql”code”]=”””
        • a=function(b,c,d)
        • config.ret=a
        • “””
      • -Code_step: same than Code but will move the graphic

+ cpinacpina, 11 months ago

custom

1724 views, 2 favs, 0 embeds more stats

How to fetch some data from Mysql using Python and more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 1724
    • 1724 on SlideShare
    • 0 from embeds
  • Comments 1
  • Favorites 2
  • Downloads 34
Most viewed embeds

more

All embeds

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories

Groups / Events