More on TurboGears Leif Oppermann, 24.04.2008. Course of this lecture Example project: Movie Collection Utilizing movie data –IMDb –IMDbPy Explaining.

Slides:



Advertisements
Similar presentations
Introductory to database handling Endre Sebestyén.
Advertisements

© 2008 EBSCO Information Services SUSHI, COUNTER and ERM Systems An Update on Usage Standards Ressources électroniques dans les bibliothèques électroniques.
Adding NLN Resources to your Course. Where to Find the Resources The NLN Resources have already been uploaded onto the system you will find them in the.
Creating a Google Site April 2011 Public Computer Center at Moore Memorial Library | Greene, NY.
Presentation. Contemporary Communication Fast – connects us quickly without delays Reliable – works always Global – connects us with the whole world Low.
Easy, like an attachment. But can your doc stand on its own? Yes. Only teachers can upload files to course site. So definitely a push- tool. Maybe.
Task 8 Design and create a business presentation on Safe Working Practices when using ICT.
1. 2 Viewing window: You can watch the movie that is emerging by using the controls underneath. These work like a standard video player. Timeline: When.
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall
Database Systems A 1. 2  Project goal: to tackle and resolve real-life DB related development issues  So what do we need to do:  Design.
Introduction to Model-View-Controller (MVC) Web Programming with TurboGears Leif Oppermann,
MIRC Matthew Forest. Introduction mIRC itself is a program designed for text based messaging via the IRC (internet relay chat) protocol. (Link:
Input Validation For Free Text Fields ADD Project Members: Hagar Offer & Ran Mor Academic Advisor: Dr Gera Weiss Technical Advisors: Raffi Lipkin & Nadav.
LCT2506 Internet 2 Data-driven web sites Week 5. LCT2506 Internet 2 Current Practice  Combining web pages and data stored in a relational database is.
C++ Programming: Program Design Including Data Structures, Third Edition Chapter 17: Linked Lists.
Russell Taylor Lecturer in Computing & Business Studies.
SharePoint document libraries I: Introduction to sharing files How to add and edit files Wondering how to actually work with a document library? You’re.
Proxy Design Pattern Source: Design Patterns – Elements of Reusable Object- Oriented Software; Gamma, et. al.
Review of last session The Weebly Dashboard The Weebly Dashboard Controls your account and your sites Controls your account and your sites From here you.
Application for Internet Radio Directory 19/06/2012 Industrial Project (234313) Kickoff Meeting Supervisors : Oren Somekh, Nadav Golbandi Students : Moran.
Before you begin If a yellow security bar appears at the top of the screen in PowerPoint, click Enable Editing. You need PowerPoint 2010 to view this presentation.
SMART Board Basics for Fire Prevention and Education Programs E. Brene Duggins Fire Educaator Fair Grove Fire Department 2013.
Introducing ETIS n Express Term Internet Server is Express Term ‘on the Net’ n All the features of Express Term, plus –Complete control of your site look.
Developing professional presentations Office XP PowerPoint? Who? Us?
Getting Started with. EndNote Web: It allows you to: Access your references from any computer with internet Collect references from online sources Drop.
IMDb Bus111 Matt Campbell. Internet Movie Database Online database of movies, TV shows, actors, production crew, video games, fictional characters October.
Top 12 Free Mobile Apps for ESU Hornets The Information Technology department is all about technology and the ways technology can enhance and improve your.
Web 2.0 Features on Scitation. Web 2.0 and Powder Diffraction Web 2.0 features can be found on the Scitation platform for Powder Diffraction –
PHP meets MySQL.
Silent Movie. Visual story telling Rules Create a ppt of five pictures or more that tell a story You cannot use a known story but the story could be.
Kimberly Otos FACS Instructor Mandan High School WEEBLY 101.
Felipe Pollola Paulo Vitor. MVC (Model-View-Controller); About TurboGears; TurboGears Installation; Creating a Project; Starting a Project; Implementing.
YouTube. Introduction YouTube is another great Social Media site that allows you to show your results to the world, share tips and ideas, and build relationships.
Java CGI Lecture notes by Theodoros Anagnostopoulos.
Tippecanoe 4-H Computer Project Mikel BergerBret Madsen Ed Evans
LOGO 2 nd Project Design for Library Programs Supervised By Dr: Mohammed Mikii.
By Rebecca Logan. Research and Planning Within my research used a variety of websites to give me clearer understanding of genre research. I mostly used.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 24 Managing and Reporting Database Information 1 Morrison / Wells / Ruffolo.
Preparing and Deploying Data to ArcPad Juan Luera.
The primary elements of a bibliographic reference are the same for most styles of documentation. These elements include the name of the author, the title,
+ Introduction to Class IST210 Class Lecture. + Course Objectives Understand the importance of data, databases, and database management Design and implement.
Graphing and statistics with Cacti AfNOG 11, Kigali/Rwanda.
240-Current Research Easily Extensible Systems, Octave, Input Formats, SOA.
TurboGears A python-based web Megaframework. What does it do?  Write web applications faster. Achieves this by allowing the user to write applications.
Tutorial support.ebsco.com Core Collections Complete.
MOVIE RETRIEVAL SYSTEM INFORMATION VISUALIZATION & PROPOSING NEW INTERFACE IAT 814 Adrian Bisek.
SMART Boards in the World Language Classroom Amanda Robustelli-Price 9/20/11.
Web-Applications: TurboGears BCHB Lecture 25 12/02/2015BCHB Edwards.
C++ Programming: Program Design Including Data Structures, Fourth Edition Chapter 17: Linked Lists (part 3)
By George Rose. I used a lot of research websites to look up post apocalypse dystopian films like Wikipedia, YouTube, IMDB. While researching what makes.
Caroline Stirling Academic Support Librarian –
PowerPoint Animated Template For technology, originality presentation.
Introduction to Model-View-Controller (MVC) Web Programming with TurboGears Leif Oppermann,
Wikis in Education: Part III Wiki Basics University School of Milwaukee.
How to Turnitin Dr Stephen Rankin Lecturer in Academic Writing and Literacy Murdoch University A 6 step guide for submitting your assignments to Turnitin.
/16 Final Project Report By Facializer Team Final Project Report Eagle, Leo, Bessie, Five, Evan Dan, Kyle, Ben, Caleb.
By Hello Team Awesome World™.  To avoid strangers using others’ keys, cards, and passwords to enter the buildings, our team will develop a face recognition-based.
Utilizing Technology. Logging on… You are able to access BrainPOP Jr. during school hours from 7:00am to 5:30pm. Username: barnwellprimary Password: bps.
Web-Applications: TurboGears
Holdings Management Overview
Computers, Technology & Education
Training course on Euro SDMX Registry
Louisiana: Our History.
NoodleTools Creating a Works Cited
201X BUSINESS TEMPLATE CORPORATION NAME HERE.
Slides prepared by Sarah Benis Scheier-Dolberg
The key to success, Yesform
Chapter 2 Applications Software and Operating Systems
What is StudentWeb? In StudentWeb you can access:
2019 PowerPoint Template powerpoint template designed by freeppt7.com.
Presentation transcript:

More on TurboGears Leif Oppermann,

Course of this lecture Example project: Movie Collection Utilizing movie data –IMDb –IMDbPy Explaining –Model –Views –Controllers

Source of data: IMDB The Internet Movie Database ( is an online database of information about movies, actors, television shows, production crew personnel, and video games. IMDb began October 17, In 1998, it was acquired by Amazon.com. As of April 26, 2007, the site featured 981,916 titles (372,912 theatrically released) and 2,336,303 people.

Getting IMDb data IMDb *always* had a data interface (Zipped text files over FTP server) a Python implementation of the interface is available: IMDBPy Remember: TurboGears uses Python!

IMDbPY IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about both movies and people. Platform-independent and written in pure Python (and few C lines), it can retrieve data from both the IMDb's web server and a local copy of the whole database.

Example project: Movie Collection Idea: browse movies (with IMDB info) and store favourites with annotations Functionality: –Search (fuzzy, showing matching titles) –Browse movie details –Store movie to favourites –Add a note

Uses 2 databases Database #1: imdb.sqlite –Self generated from IMDB data –>11 hours parsing –~ 2 GB in one file Database #2: devdata.sqlite –Generated by Turbogears (SQLObject)

Model for database #2 from turbogears.database import PackageHub from sqlobject import * hub = PackageHub("imdb01") __connection__ = hub class Movie(SQLObject): title = UnicodeCol(alternateID=True, length=40) imdbid = UnicodeCol(alternateID=True, length=16) director = UnicodeCol() notes = UnicodeCol()

Templates Movielist.kid Search.kid Browsemovie.kid Edit.kid Movie.kid

Showing your collection of movies Choose a movie or start a search ${title}

Editing note for: move title goes here You can return to the Movie List or Search again ${movie.notes}

Search def search(self, searchterm): i = imdb.IMDb(**IMDB_PARAMS) # finding matching movies try: # Do the search, and get the results (a list of Movie objects). matchingtitles = i.search_movie(searchterm) except imdb.IMDbError, e: print "***ERROR connecting to IMDB. Complete error report:" print e if not matchingtitles: pass return dict(searchterm=searchterm, matchingtitles = matchingtitles)

Away with Powerpoint Let‘s talk about the source!

Thanks for your attention Questions / Comments / Get the source: –Now, or via Blog entry for this lecture: –

Additional pointers Of course there are similar frameworks for other programming languages, the "original" being Ruby on Rails. Original in the sense that its design was so influential that it quickly got adapted by others. Have a look at the following if you feel that you like what you saw in the lectures, but would rather do it in another language or framework: (Ruby) – (PHP) – (Python) – (Python) – (Python, Django) –