|
| 1 | +\documentclass{beamer} |
| 2 | +%\usepackage[latin1]{inputenc} |
| 3 | +\usetheme{Warsaw} |
| 4 | +\title[Python Certificate: System Development]{System Development with Python: Week 9} |
| 5 | +\author{Christopher Barker} |
| 6 | +\institute{UW Continuing Education} |
| 7 | +\date{May 21, 2013} |
| 8 | + |
| 9 | +\usepackage{listings} |
| 10 | +\usepackage{hyperref} |
| 11 | + |
| 12 | +\begin{document} |
| 13 | + |
| 14 | +% --------------------------------------------- |
| 15 | +\begin{frame} |
| 16 | + \titlepage |
| 17 | +\end{frame} |
| 18 | + |
| 19 | +% --------------------------------------------- |
| 20 | +\begin{frame} |
| 21 | +\frametitle{Table of Contents} |
| 22 | +%\tableofcontents[currentsection] |
| 23 | + \tableofcontents |
| 24 | +\end{frame} |
| 25 | + |
| 26 | + |
| 27 | +\section{Introduction} |
| 28 | + |
| 29 | +% --------------------------------------------- |
| 30 | +\begin{frame}[fragile]{Desktop GUIs: wxPython} |
| 31 | + |
| 32 | +{\Large Desktop GUIs} |
| 33 | + |
| 34 | +\vfill |
| 35 | +{\large Traditional Graphical User Interface Applications} |
| 36 | + |
| 37 | +\vfill |
| 38 | +{\large Run entirely on machine -- interative, interface and logic code in one process} |
| 39 | + |
| 40 | +\vfill |
| 41 | + |
| 42 | +{\large Advantages:} |
| 43 | +\begin{itemize} |
| 44 | + \item Easier to write -- all in one program |
| 45 | + \item Faster -- data/interface direct communication |
| 46 | + \item Faster display: direct to screen (or even OpenGL, etc.) |
| 47 | + \item Runs without network |
| 48 | + \item Save/Manipulate local files |
| 49 | + \item Familiar install/start/stop/run, etc. |
| 50 | +\end{itemize} |
| 51 | + |
| 52 | + |
| 53 | +\end{frame} |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | +\begin{frame}[fragile]{Python Options} |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | +{\Large Multiple GUI frameworks available:} |
| 62 | + |
| 63 | +\begin{itemize} |
| 64 | + \item PyGTK |
| 65 | + \item PYQT / PySide |
| 66 | + \item TkInter |
| 67 | + \item wxPython |
| 68 | + \item PyGame |
| 69 | + \item Native GUIs: Cocoa (PyObject), PythonWin |
| 70 | + \item Some more minor ones... |
| 71 | +\end{itemize} |
| 72 | + |
| 73 | +\end{frame} |
| 74 | + |
| 75 | +\section{wxPython} |
| 76 | + |
| 77 | +\begin{frame}[fragile]{wxPython} |
| 78 | + |
| 79 | +{\Large Why wxPython?} |
| 80 | + |
| 81 | +\begin{itemize} |
| 82 | + \item Python wrapper around C++ toolkit (wxWidget) |
| 83 | + \item wxWidgets is a wrapper around \emph{native} toolkit: |
| 84 | + \begin{itemize} |
| 85 | + \item Windows: Win32 (64) |
| 86 | + \item OS-X: Cocoa |
| 87 | + \item Linux: GTK |
| 88 | + \end{itemize} |
| 89 | + \item Native look and feel |
| 90 | + \item License: (modified) LGPL |
| 91 | +\end{itemize} |
| 92 | + |
| 93 | +\vfill |
| 94 | +{\Large Legacy: it was the best option for me when I first needed something...} |
| 95 | + |
| 96 | +\end{frame} |
| 97 | + |
| 98 | + |
| 99 | +%------------------------------- |
| 100 | +\begin{frame}[fragile]{BILS} |
| 101 | + |
| 102 | +\vfill |
| 103 | +{\Large {\bf B}rowser {\bf I}nterface, {\bf L}ocal {\bf S}erver} |
| 104 | +\vfill |
| 105 | + |
| 106 | +\vfill |
| 107 | +{\Large Web app: Server runs on local machine} |
| 108 | +\vfill |
| 109 | + |
| 110 | +\vfill |
| 111 | +{\Large Browser is the interface -- but all running local} |
| 112 | + |
| 113 | +\vfill |
| 114 | +{\Large Can wrap the Browser window in a desktop app: Chrome Embedded Framework, wxWebkit, etc.} |
| 115 | + |
| 116 | +\vfill |
| 117 | +{\Large Good way to get both a web app and desktop app with one codebase} |
| 118 | + |
| 119 | +\vfill |
| 120 | +{\Large Example: Cameo Chemicals} |
| 121 | + |
| 122 | +\end{frame} |
| 123 | + |
| 124 | + |
| 125 | +%------------------------------- |
| 126 | +\begin{frame}[fragile]{Wrap up} |
| 127 | + |
| 128 | +\vfill |
| 129 | +{\Large } |
| 130 | +\vfill |
| 131 | + |
| 132 | +\end{frame} |
| 133 | + |
| 134 | +%------------------------------- |
| 135 | +\begin{frame}{Next Week:} |
| 136 | + |
| 137 | +\vfill |
| 138 | +{\LARGE Student Project Presentations} |
| 139 | + |
| 140 | +\vfill |
| 141 | + |
| 142 | +\end{frame} |
| 143 | + |
| 144 | +%------------------------------- |
| 145 | +\begin{frame}[fragile]{Project Time!} |
| 146 | + |
| 147 | +\vfill |
| 148 | +\Large{Final wrap up} |
| 149 | + |
| 150 | +\vfill |
| 151 | +\Large{Put it together} |
| 152 | + |
| 153 | +\vfill |
| 154 | +\Large{Get ready to present} |
| 155 | + |
| 156 | +\vfill |
| 157 | +\Large{Presentation: focus on code!} |
| 158 | + |
| 159 | +\end{frame} |
| 160 | + |
| 161 | +\end{document} |
| 162 | + |
| 163 | + |
0 commit comments