Zend Enterprise PHP Patterns

Total Page:16

File Type:pdf, Size:1020Kb

Zend Enterprise PHP Patterns Zend Enterprise PHP Patterns John Coggeshall with Morgan Tocker [email protected] Zend Enterprise PHP Patterns Copyright © 2009 by John Coggeshall All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-4302-1974-3 ISBN-13 (electronic): 978-1-4302-1975-0 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Lead Editor: Matt Wade Technical Reviewer: Kevin Schroeder Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Tony Campbell, Gary Cornell, Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie, Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh Project Managers: Sofia Marchant and Kylie Johnston Copy Editor: Hastings Hart Associate Production Director: Kari Brooks-Copony Production Editor: April Eddy Compositor: Lynn L’Heureux Proofreader: Liz Welch Indexer: BIM Indexing & Proofreading Services Artist: April Milne Cover Designer: Anna Ishchenko Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail kn`ano)ju<olnejcan)o^i*_ki, or visit dppl6++sss*olnejcankjheja*_ki. For information on translations, please contact Apress directly at 233 Spring Street, New York, NY 10013. E-mail ejbk<]lnaoo*_ki or visit dppl6++sss*]lnaoo*_ki. Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk Sales–eBook Licensing web page at dppl6++sss*]lnaoo*_ki+ejbk+^qhgo]hao. The information in this book is distributed on an “as is” basis, without warranty. Although every precau- tion has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indi- rectly by the information contained in this work. The source code for this book is available to readers at dppl6++sss*]lnaoo*_ki. [email protected] To my daughter, Diana Katheryn Coggeshall, who continues to be the single steadfast reason I have to do more and be more in my life John Coggeshall [email protected] Contents at a Glance Foreword ........................................................................xiii About the Authors.................................................................xv About the Technical Reviewer ..................................................... xvii Acknowledgments ................................................................xix Introduction ......................................................................xxi CHAPTER 1 Introduction to Zend Framework .................................1 CHAPTER 2 Introduction to Zend Studio for Eclipse ..........................33 CHAPTER 3 Web Application Performance and Analysis......................57 CHAPTER 4 Data-Caching Strategies in PHP.................................71 CHAPTER 5 Asynchronous Operations with PHP .............................93 CHAPTER 6 Securing Your PHP Applications................................123 CHAPTER 7 Monitoring Your Applications ..................................141 CHAPTER 8 Web Services and Zend Framework ............................167 CHAPTER 9 Production Farms for PHP .....................................193 CHAPTER 10 The MySQL Database..........................................211 INDEX .......................................................................249 v [email protected] Contents Foreword ........................................................................xiii About the Authors.................................................................xv About the Technical Reviewer ..................................................... xvii Acknowledgments ................................................................xix Introduction ......................................................................xxi CHAPTER 1 Introduction to Zend Framework............................1 Introduction to Zend Framework Library .............................1 Zend Framework MVC ............................................3 Model, View, and Controller ...................................3 “Hello World” in Zend Framework .............................9 Zend Framework Request/Response Objects and Error Handling.... 27 Conclusion .....................................................31 CHAPTER 2 Introduction to Zend Studio for Eclipse ...................33 Getting Started Zend Studio for Eclipse.............................33 Creating Projects in Zend Studio for Eclipse ....................36 Debugging in Zend Studio for Eclipse..........................38 Profiling in Zend Studio for Eclipse ............................52 Conclusion .....................................................55 CHAPTER 3 Web Application Performance and Analysis ..............57 Locating the Bottleneck ..........................................59 How Are You Bound?........................................59 Using vmstat ...............................................59 Determining Whether You Are CPU-Bound .....................62 Determining Whether You Are Memory-Bound..................63 Determining Whether You Are I/O-Bound ......................65 vii [email protected] viii NCONTENTS Where to Start Looking ...........................................66 CPU Bounding Influence .....................................66 Memory Bounding Influence .................................67 I/O Bounding Influence ......................................67 When the Bottleneck Is a Remote Procedure Call ...............68 Simulating Load to Identify Future Bottlenecks .................68 Conclusion .....................................................70 CHAPTER 4 Data-Caching Strategies in PHP ...........................71 Opcode Caching.................................................71 The PHP Execution Cycle ....................................71 Full-Page Caching ...............................................74 What Is Full-Page Caching? ..................................74 Setting Up Full-Page Caching ................................76 Final Thoughts on Full-Page Caching..........................79 Semi-Full-Page Caching..........................................79 Programmatic Caching ...........................................82 Components of Caching in Zend Framework ...................82 You Can (Almost) Always Cache Things........................83 Knowing Your Cache Effectiveness............................85 The Various Zend_Cache Back Ends ..........................85 Conclusion .....................................................92 CHAPTER 5 Asynchronous Operations with PHP .......................93 Getting Started with Job Queue ...................................95 Advanced Job Queue Configuration ................................97 Replacing Job Queue’s PHP with Your Own ....................97 Modifying the Configuration of Job Queue’s PHP................99 Controlling the Job Queue from the Command Line .............99 Using the Job Queue to Execute PHP Scripts .......................100 Creating Your First Job .....................................100 Searching for Existing Jobs .................................102 Using Input Parameters in Job Queue Scripts..................105 Creating Jobs Programmatically Using the Job Queue API.......108 Conclusion ....................................................121 [email protected] NCONTENTS ix CHAPTER 6 Securing Your PHP Applications ..........................123 Setting the Context .............................................123 Defining Security ...............................................124 Common Threats and Defenses ..................................124 Input Security .............................................125 Securing File Uploads ......................................130 Output Security............................................135 Conclusion ....................................................138 CHAPTER 7 Monitoring Your Applications .............................141 Effective Logging Through Zend_Log .............................141 Getting Started with Zend_Log ..............................142 Advanced Monitoring ...........................................149 What Is PHP Intelligence?...................................149 Getting Started with PHP Intelligence.........................150 Creating Advanced Monitoring Facilities ......................155 Customizing Zend_Log Behavior and Integrating ..............159 with Zend Platform Logging and Performance .......................................165 Conclusion ....................................................166 CHAPTER 8 Web Services and Zend Framework ......................167 The Multi-Transport Services Architecture Using ZF.................167 The Command Pattern .....................................168
Recommended publications
  • Architectural Support for Scripting Languages
    Architectural Support for Scripting Languages By Dibakar Gope A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy (Electrical and Computer Engineering) at the UNIVERSITY OF WISCONSIN–MADISON 2017 Date of final oral examination: 6/7/2017 The dissertation is approved by the following members of the Final Oral Committee: Mikko H. Lipasti, Professor, Electrical and Computer Engineering Gurindar S. Sohi, Professor, Computer Sciences Parameswaran Ramanathan, Professor, Electrical and Computer Engineering Jing Li, Assistant Professor, Electrical and Computer Engineering Aws Albarghouthi, Assistant Professor, Computer Sciences © Copyright by Dibakar Gope 2017 All Rights Reserved i This thesis is dedicated to my parents, Monoranjan Gope and Sati Gope. ii acknowledgments First and foremost, I would like to thank my parents, Sri Monoranjan Gope, and Smt. Sati Gope for their unwavering support and encouragement throughout my doctoral studies which I believe to be the single most important contribution towards achieving my goal of receiving a Ph.D. Second, I would like to express my deepest gratitude to my advisor Prof. Mikko Lipasti for his mentorship and continuous support throughout the course of my graduate studies. I am extremely grateful to him for guiding me with such dedication and consideration and never failing to pay attention to any details of my work. His insights, encouragement, and overall optimism have been instrumental in organizing my otherwise vague ideas into some meaningful contributions in this thesis. This thesis would never have been accomplished without his technical and editorial advice. I find myself fortunate to have met and had the opportunity to work with such an all-around nice person in addition to being a great professor.
    [Show full text]
  • Curriculum of Php
    CETPA INFOTECH PVT. LTD. CURRICULUM OF PHP CORE PHP ARRAY WITH PHP PHP INPUT MACHANISM What is an Array? INTRODUCING PHP Working with ECHO, PRINT(), Creating and Working with PRINTF() Arrays The origin of PHP MINI TASK → Integrating Creating arrays PHP for Web Development & Web HTML Viewing arrays Applications with PHP Modifying arrays PHP History MINI TASK → Integrating CSS Removing values from arrays Features of PHP with PHP Sorting Arrays How PHP works with the MINI TASK → Integrating Walking through an Array Web Server JAVASCRIPT with PHP Traversing an array manually What is SERVER & how it Using foreach to walk through an Works BASICS LANGUAGE array What is ZEND Engine Creating a simple PHP script Finding Array Size Work of ZEND Engine Naming Variables Converting Arrays into Assigning and Displaying Strings (And Vice Versa) INSTALLING AND CONFIGURING Variable Converting Variables into PHP Values Arrays (And Vice Versa) ● PHP Installation Creating variables Splitting and Merging Arrays ● MySQL Installation Displaying variable values Exchanging keys and values ● Apache Installation Writing Your First Script That Multidimensional Arrays ● WAMP Installation Uses Variables Creating multidimensional arrays ● Installing and Configuring PHP Using Variable Variables Viewing multidimensional arrays on Windows. Removing Variables ● How to design PHP applications Using multidimensional arrays in Understanding Data Types statements using Dreamweaver Assigning data types ● How to design PHP
    [Show full text]
  • Zend Framework : Bien Développer En
    __ g les Programmez intelligent Cahiers avec du les Pauli Cahiers Ponçon J. Programmeur du Programmeur G. Architecte certifié PHP et Zend Framework, Julien Pauli est responsable du pôle Zend Frame- Framework work/PHP chez Anaska (groupe Zend Alter Way). Contributeur de la pre- mière heure au framework en colla- En imposant des règles strictes de gestion de code et en offrant une très boration avec Zend Technologies, riche bibliothèque de composants prêts à l’emploi, le framework PHP 5 Zend conférencier et membre de l’AFUP, Framework guide le développeur web dans l’industrialisation de ses dévelop- il publie des articles sur PHP dans la pements, afin d’en garantir la fiabilité, l’évolutivité et la facilité de maintenance. presse. Fondateur et gérant de la société Cet ouvrage présente les meilleures pratiques de développement web avec OpenStates (partenaire Zend PHP 5 et le Zend Framework : design patterns, MVC, base de données, sécu- Technologies et Anaska), Bien développer en PHP rité, interopérabilité, tests unitaires, gestion des flux et des sessions, etc. Guillaume Ponçon intervient Non sans rappeler les prérequis techniques et théoriques à l’utilisation du fra- depuis plus de sept ans auprès de Julien Pauli mework, l’ouvrage aidera tant les développeurs débutants en PHP que les grands comptes sur de nom- chefs de projets ou architectes aguerris souhaitant l’utiliser en entreprise. breuses missions d’expertise, de Guillaume Ponçon conseil et de formation PHP. Ingé- nieur EPITA, expert certifié PHP et Zend Framework, il est aussi spé- cialiste des systèmes Unix/Linux et Framework Préface de Wil Sinclair pratique Java et C/C++.
    [Show full text]
  • Ziparchive Extension Is Required Wordpress
    Ziparchive Extension Is Required Wordpress Sometimes one-time Skippy stay her glasswort merely, but cast-iron Standford dichotomizes nakedly or spank lumpishly. Andrej is lubricious and forbid aimlessly as spectacled Arvind patch-up responsively and fizz vexedly. Taxidermal and morainic Ernie cold-shoulder some nebrises so astuciously! Please make your spam folder name associated with a password is required by selectively decreasing the relevant link Keep moving ziparchive extension is required wordpress to. Could be ziparchive extension is required wordpress website you in the php versions between the right? Please ziparchive extension is required wordpress container has issues when the password! Os x upgrade the new database version ziparchive extension is required wordpress package files and from the user experience with us then assign the files may help icon if your inbox. Free Hosted Continuous Integration Platform for the Open Source Community. Or not common issues will be various directories until it will take care of the way to better configure ziparchive extension is required wordpress if nothing to. Thanks ziparchive extension is required wordpress, the correct filters slows the installer? The reason for this setup is to discourage using these settings and fix the real issue which is to update your database server. Contribute to optimize your server to the way to activate what should ziparchive extension is required wordpress, we will use their documentation for. Thanks for any applied filters slows the ziparchive extension is required wordpress site for clues in the package and to address your site? Check ziparchive extension is required wordpress dashboard that you might want to not show you a normal php extension is.
    [Show full text]
  • MIGRATING AUTOLUX WEBSITE from MODX to PHALCONPHP with FURTHER DEVELOPMENTS (Search Engine Optimization and Mobile Application Support Implementation)
    Jurnal Informatika, Vol. 14, No. 1, Mei 2017, 42-46 DOI: 10.9744/informatika.14.1.42-46 ISSN 1411-0105 / e-ISSN 2528-5823 MIGRATING AUTOLUX WEBSITE FROM MODX TO PHALCONPHP WITH FURTHER DEVELOPMENTS (Search Engine Optimization and Mobile Application Support Implementation) Hana Tanjung1*, Bert van Gestel2, Justinus Andjarwirawan3 1 Information Communication & Technology Student Petra Christian University & Fontys University of Applied Sciences Surabaya, Indonesia & Eindhoven, Netherlands Email: [email protected] 2 Information Communication & Technology Teacher Fontys University of Applied Sciences Eindhoven, Netherlands Email: [email protected] 3 Informatics Engineering, Petra Christian University, Surabaya, Indonesia Email: [email protected] *Korespondensi penulis Abstract: Autolux Project is owned by DTT Multimedia B.V. Autolux is a platform for car lovers sharing their information about favorite or latest cars. The website was built in MODx (CMS framework) which considered being old and heavy by the company. With that very reason, a project to migrate the website from MODx into PhalconPHP (pure PHP framework) was started. Migrating website from MODx to PhalconPHP was a success, and to boost the website popularity, the first thing to do is to implement the SEO standards. Another demand by the company was for the website to be responsive and using OOP standarts. Responsive website can be reached by using the help of libraries. PhalconPHP already implemented OOP, thus the developer will follow the MVC pattern given and refine it by doing more separation of concerns. Later on, the developer also put more refinements on the website to boost the speed of page loading, support multilingual, and management system.
    [Show full text]
  • 2.3 Apache Chemistry
    UNIVERSITY OF DUBLIN TRINITY COLLEGE DISSERTATION PRESENTED TO THE UNIVERSITY OF DUBLIN,TRINITY COLLEGE IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR THE DEGREE OF MAGISTER IN ARTE INGENIARIA Content Interoperability and Open Source Content Management Systems An implementation of the CMIS standard as a PHP library Author: Supervisor: MATTHEW NICHOLSON DAVE LEWIS Submitted to the University of Dublin, Trinity College, May, 2015 Declaration I, Matthew Nicholson, declare that the following dissertation, except where otherwise stated, is entirely my own work; that it has not previously been submitted as an exercise for a degree, either in Trinity College Dublin, or in any other University; and that the library may lend or copy it or any part thereof on request. May 21, 2015 Matthew Nicholson i Summary This paper covers the design, implementation and evaluation of PHP li- brary to aid in use of the Content Management Interoperability Services (CMIS) standard. The standard attempts to provide a language indepen- dent and platform specific mechanisms to better allow content manage- ment systems (CM systems) work together. There is currently no PHP implementation of CMIS server framework available, at least not widely. The name given to the library is Elaphus CMIS. The implementation should remove a barrier for making PHP CM sys- tems CMIS compliant. Aswell testing how language independent the stan- dard is and look into the features of PHP programming language. The technologies that are the focus of this report are: CMIS A standard that attempts to structure the data within a wide range of CM systems and provide standardised API for interacting with this data.
    [Show full text]
  • Comparative Studies of 10 Programming Languages Within 10 Diverse Criteria
    Department of Computer Science and Software Engineering Comparative Studies of 10 Programming Languages within 10 Diverse Criteria Jiang Li Sleiman Rabah Concordia University Concordia University Montreal, Quebec, Concordia Montreal, Quebec, Concordia [email protected] [email protected] Mingzhi Liu Yuanwei Lai Concordia University Concordia University Montreal, Quebec, Concordia Montreal, Quebec, Concordia [email protected] [email protected] COMP 6411 - A Comparative studies of programming languages 1/139 Sleiman Rabah, Jiang Li, Mingzhi Liu, Yuanwei Lai This page was intentionally left blank COMP 6411 - A Comparative studies of programming languages 2/139 Sleiman Rabah, Jiang Li, Mingzhi Liu, Yuanwei Lai Abstract There are many programming languages in the world today.Each language has their advantage and disavantage. In this paper, we will discuss ten programming languages: C++, C#, Java, Groovy, JavaScript, PHP, Schalar, Scheme, Haskell and AspectJ. We summarize and compare these ten languages on ten different criterion. For example, Default more secure programming practices, Web applications development, OO-based abstraction and etc. At the end, we will give our conclusion that which languages are suitable and which are not for using in some cases. We will also provide evidence and our analysis on why some language are better than other or have advantages over the other on some criterion. 1 Introduction Since there are hundreds of programming languages existing nowadays, it is impossible and inefficient
    [Show full text]
  • PHP: Zend for I5/OS
    Front cover PHP: Zend for i5/OS Learn how to install and administer Discover valuable development tips and advice Security, globalization, Zend Platform for i5/OS, and more! Gary Mullen-Schultz Melissa Anderson Vlatko Kosturjak ibm.com/redbooks International Technical Support Organization PHP: Zend for i5/OS January 2007 SG24-7327-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (January 2007) This edition applies to Version 1.0, Release 5.0, Modification 0.0 of Zend Core for i5/OS, Version 2.0, Release 1.0, Modification 2.0 of Zend Platform for i5/OS, and Version 5.0, Release 2.0, Modification 0.0 of Zend Studio for i5/OS. © Copyright International Business Machines Corporation 2007. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix The team that wrote this book . ix Become a published author . .x Comments welcome. .x Chapter 1. Welcome to PHP on i5/OS! . 1 1.1 Welcome! . 2 1.1.1 IBM and Zend Core. 2 1.1.2 Zend Core for IBM . 2 1.2 Previous support of PHP on i5/OS . 3 1.3 Current support of PHP on i5/OS . 3 1.3.1 Zend Core for i5/OS . 3 1.3.2 Zend Studio for i5/OS . 4 1.3.3 Zend Platform for i5/OS . 4 1.4 How i5 implementation differs from Zend Core.
    [Show full text]
  • Exploring Object Oriented Language and Migration with Zend
    WSEAS TRANSACTIONS on COMPUTER RESEARCH Alen Šimec, Josip Perić, Lidija Tepeš Golubić Exploring Object oriented language and migration with Zend ALEN ŠIMEC Polytechnic of Zagreb, Vrbik 8, 10 000 Zagreb, CROATIA [email protected], www.tvz.hr JOSIP PERIĆ Polytechnic of Zagreb, Vrbik 8, 10 000 Zagreb, CROATIA [email protected], www.tvz.hr LIDIJA TEPEŠ GOLUBIĆ Polytechnic of Zagreb, Vrbik 8, 10 000 Zagreb, CROATIA [email protected], www.tvz.hr Abstract: - This paper refers to the research of novelties and differences in the newest and currently active versions of PHP programming language. It gives some answers to the questions of usefulness and feasibility of changing the version used in a certain web project. The attention has been mostly focused on describing functionality with occasional evidence in the shape of a code. Key - Words: PHP, engine, memory, exception, class, object, generator separate them from the previous editions and mutually. 1 Introduction The goal of this paper is to highlight positive and useful Rapid expansion of web technologies has required a sides of the latest versions of this programming development of new approaches to data management. language by applying a mostly descriptive method with The consequence of the demand of interactive and occasional use of induction, experiments, measurements dynamic systems is the emergence of a script language and analysis. also known by the acronym PHP (Hypertext Preprocessor). Before PHP started being used, PHP web sites had been mostly static with the capacity limited to roughly show information in the form of a text of images. Integration of PHP into web spaces has enabled 2 Zend Engine System Overview interaction with the users as well as processing and Metadata is the most important part of the application of data from user sources.
    [Show full text]
  • On the Feasibility of Automated Built-In Function Modeling for PHP Symbolic Execution
    On the Feasibility of Automated Built-in Function Modeling for PHP Symbolic Execution Penghui Li Wei Meng Chinese University of Hong Kong Chinese University of Hong Kong [email protected] [email protected] Kangjie Lu Changhua Luo University of Minnesota Chinese University of Hong Kong [email protected] [email protected] ABSTRACT ACM Reference Format: Symbolic execution has been widely applied in detecting vulnerabil- Penghui Li, Wei Meng, Kangjie Lu, and Changhua Luo. 2021. On the Fea- ities in web applications. Modeling language-specific built-in func- sibility of Automated Built-in Function Modeling for PHP Symbolic Ex- ecution. In Proceedings of the Web Conference 2021 (WWW ’21), April 19– tions is essential for symbolic execution. Since built-in functions 23, 2021, Ljubljana, Slovenia. ACM, New York, NY, USA, 12 pages. https: tend to be complicated and are typically implemented in low-level //doi.org/10.1145/3442381.3450002 languages, a common strategy is to manually translate them into the SMT-LIB language for constraint solving. Such translation requires an excessive amount of human effort and deep understandings of the function behaviors. Incorrect translation can invalidate the final 1 INTRODUCTION results. This problem aggravates in PHP applications because of Web applications have been one of the primary channels connecting their cross-language nature, i.e., , the built-in functions are written service providers and hundreds of millions of end users. Because in C, but the rest code is in PHP. of their importance, web applications and their valuable users have In this paper, we explore the feasibility of automating the pro- been the primary targets of cyber attacks.
    [Show full text]
  • The Clean Architecture in PHP
    The Clean Architecture in PHP Kristopher Wilson This book is for sale at http://leanpub.com/cleanphp This version was published on 2015-04-24 This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do. ©2013 - 2015 Kristopher Wilson Dedication First and foremost, I dedicate this book to my wife, Ashley. Thank you for allowing me to spend so much time staring at millions of dots on a screen. Secondly, to my parents, who worked so hard to make sure their children had everything they needed and wanted, and for encouraging me to follow my dreams, however odd they may have been. Contents Introduction .......................................... i Organization ......................................... i The Author ......................................... i A Word about Coding Style ................................ ii The Problem With Code ................................ 1 Writing Good Code is Hard ................................. 2 Writing Bad Code is Easy .................................. 2 We Can’t Test Anything .................................. 3 Change Breaks Everything ................................. 4 We Live or Die by the Framework ............................. 4 We Want to Use All the Libraries ............................. 5 Writing Good Code ..................................... 5 What is Architecture?
    [Show full text]
  • Caching PHP Virtual Machine Opcodes for Reuse in a Secure, Multi-User, Enterprise Programming Environment
    PHP ACCELERATION IN THE CLOUD: Caching PHP Virtual Machine Opcodes for Reuse in a Secure, Multi-User, Enterprise Programming Environment by Leif Wendal Wickland A project submitted in partial fulfillment of the requirements for the degree of Master of Science in Computer Science MONTANA STATE UNIVERSITY Bozeman, Montana November 2010 ©COPYRIGHT by Leif Wendal Wickland 2010 All Rights Reserved ii APPROVAL of a thesis submitted by Leif Wendal Wickland This project has been read by each member of the thesis committee and has been found to be satisfactory regarding content, English usage, format, citation, bibliographic style, and consistency and is ready for submission to the Division of Graduate Education. Dr. Rocky Ross Approved for the Department of Computer Science Dr. John Paxton Approved for the Division of Graduate Education Dr. Carl A. Fox iii STATEMENT OF PERMISSION TO USE In presenting this project in partial fulfillment of the requirements for a master’s degree at Montana State University, I agree that the Library shall make it available to borrowers under rules of the Library. If I have indicated my intention to copyright this thesis by including a copyright notice page, copying is allowable only for scholarly purposes, consistent with “fair use” as prescribed in the U.S. Copyright Law. Requests for permission for extended quotation from or reproduction of this thesis in whole or in parts may be granted only by the copyright holder. Leif Wendal Wickland November 2010 iv DEDICATION and ACKNOWLEDGEMENTS To my wife and daughter who love me more than I deserve. -LW I would like to acknowledge Erich Hannan for giving me the opportunity to wait for the other shoe to drop.
    [Show full text]