Learning PHP, Mysql, and Javascript

Total Page:16

File Type:pdf, Size:1020Kb

Learning PHP, Mysql, and Javascript Learning PHP, MySQL, and JavaScript Robin Nixon Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo Learning PHP, MySQL, and JavaScript by Robin Nixon Copyright © 2009 Robin Nixon. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editor: Andy Oram Indexer: Ellen Troutman Zaig Production Editor: Sumita Mukherji Cover Designer: Karen Montgomery Copyeditor: Nancy Kotary Interior Designer: David Futato Proofreader: Kiel Van Horn Illustrator: Robert Romano Printing History: July 2009: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Learning PHP, MySQL, and JavaScript, the image of sugar gliders, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information con- tained herein. TM This book uses RepKover™, a durable and flexible lay-flat binding. ISBN: 978-0-596-15713-5 [M] 1246467361 Table of Contents Preface . xiii 1. Introduction to Dynamic Web Content ... ................................... 1 HTTP and HTML: Berners-Lee’s Basics 2 The Request/Response Procedure 2 The Benefits of PHP, MySQL, and JavaScript 5 Using PHP 5 Using MySQL 6 Using JavaScript 7 The Apache Web Server 8 About Open Source 9 Bringing It All Together 9 Test Your Knowledge: Questions 11 2. Setting Up a Development Server . ...................................... 13 What Is a WAMP, MAMP, or LAMP? 13 Installing a WAMP on Windows 14 Overcoming Installation Problems 14 Testing the Installation 16 Alternative WAMPs 18 Installing a MAMP on Mac OS X 19 Some Final Tweaking 24 Other Alternatives 25 Installing a LAMP on Linux 25 Working Remotely 26 Logging In 27 Using FTP 27 Using a Program Editor 28 Using an IDE 30 Test Your Knowledge: Questions 32 iii 3. Introduction to PHP . ................................................. 33 Incorporating PHP Within HTML 33 Calling the PHP Parser 34 This Book’s Examples 35 The Structure of PHP 36 Using Comments 36 Basic Syntax 37 Understanding Variables 38 Operators 42 Variable Assignment 45 Multiple-Line Commands 47 Variable Typing 49 Constants 50 The Difference Between the echo and print Commands 51 Functions 52 Variable Scope 53 Test Your Knowledge: Questions 58 4. Expressions and Control Flow in PHP . ................................... 61 Expressions 61 Literals and Variables 62 Operators 63 Operator Precedence 64 Associativity 66 Relational Operators 67 Conditionals 70 The if Statement 71 The else Statement 72 The elseif Statement 73 The switch Statement 74 The ? Operator 77 Looping 78 while Loops 78 do...while Loops 80 for Loops 81 Breaking Out of a Loop 83 The continue Statement 84 Implicit and Explicit Casting 84 PHP Dynamic Linking 85 Dynamic Linking in Action 86 Test Your Knowledge: Questions 87 iv | Table of Contents 5. PHP Functions and Objects . ........................................... 89 PHP Functions 90 Defining a Function 91 Returning a Value 92 Returning an Array 93 Passing by Reference 94 Returning Global Variables 95 Recap of Variable Scope 96 Including and Requiring Files 96 The include Statement 96 Using include_once 97 Using require and require_once 97 PHP Version Compatibility 98 PHP Objects 98 Terminology 99 Declaring a Class 100 Creating an Object 101 Accessing Objects 101 Constructors 104 Writing Methods 105 Declaring Properties 106 Declaring Constants 107 Property and Method Scope in PHP 5 107 Inheritance 109 Test Your Knowledge: Questions 113 6. PHP Arrays . 115 Basic Access 115 Numerically Indexed Arrays 115 Associative Arrays 117 Assignment Using the array Keyword 118 The foreach...as Loop 119 Multidimensional Arrays 121 Using Array Functions 123 is_array() 123 count() 124 sort() 124 shuffle() 124 explode() 125 extract() 125 compact() 126 reset() 127 end() 128 Table of Contents | v Test Your Knowledge: Questions 128 7. Practical PHP . ...................................................... 129 Using printf 129 Precision Setting 131 String Padding 132 Using sprintf 133 Date and Time Functions 133 Date Constants 136 Using checkdate 136 File Handling 137 Checking Whether a File Exists 137 Creating a File 137 Reading from Files 139 Copying Files 139 Moving a File 140 Deleting a File 140 Updating Files 141 Locking Files for Multiple Accesses 142 Reading an Entire File 143 Uploading Files 144 System Calls 149 XHTML 151 The Benefits of XHTML 151 XHTML Versions 151 What’s Different? 152 HTML 4.01 Document Types 153 XHTML 1.0 Document Types 153 XHTML Validation 154 Test Your Knowledge: Questions 155 8. Introduction to MySQL . .............................................. 157 MySQL Basics 157 Summary of Database Terms 158 Accessing MySQL via the Command Line 158 Starting the Command-Line Interface 159 Using the Command-Line Interface 163 MySQL Commands 164 Data Types 168 Indexes 177 Creating an Index 178 Querying a MySQL Database 183 Joining Tables Together 192 vi | Table of Contents Using Logical Operators 194 MySQL Functions 194 Accessing MySQL via phpMyAdmin 195 Windows Users 195 Mac OS X Users 195 Linux Users 195 Using phpMyAdmin 197 Test Your Knowledge: Questions 198 9. Mastering MySQL ... .................................................. 201 Database Design 201 Primary Keys: The Keys to Relational Databases 202 Normalization 203 First Normal Form 204 Second Normal Form 206 Third Normal Form 208 When Not to Use Normalization 210 Relationships 211 One-to-One 211 One-to-Many 212 Many-to-Many 212 Databases and Anonymity 214 Transactions 214 Transaction Storage Engines 215 Using BEGIN 216 Using COMMIT 216 Using ROLLBACK 216 Using EXPLAIN 217 Backing Up and Restoring 218 Using mysqldump 219 Creating a Backup File 220 Restoring from a Backup File 222 Dumping Data in CSV Format 222 Planning Your Backups 223 Test Your Knowledge: Questions 223 10. Accessing MySQL Using PHP . ......................................... 225 Querying a MySQL Database with PHP 225 The Process 225 Creating a Login File 226 Connecting to MySQL 227 A Practical Example 232 The $_POST Array 234 Table of Contents | vii Deleting a Record 235 Displaying the Form 236 Querying the Database 236 Running the Program 237 Practical MySQL 238 Creating a Table 238 Describing a Table 239 Dropping a Table 240 Adding Data 240 Retrieving Data 241 Updating Data 242 Deleting Data 242 Using AUTO_INCREMENT 243 Performing Additional Queries 244 Preventing SQL Injection 245 Preventing HTML Injection 248 Test Your Knowledge: Questions 250 11. Form Handling .. .................................................... 251 Building Forms 251 Retrieving Submitted Data 253 register_globals: An Old Solution Hangs On 254 Default Values 254 Input Types 256 Text Boxes 256 Text Areas 256 Checkboxes 257 Radio Buttons 259 Hidden Fields 260 Select 260 Labels 262 Sanitizing Input 262 An Example Program 264 Test Your Knowledge: Questions 266 12. Templating with Smarty . ............................................ 269 Why Smarty? 270 Installation 270 Creating Scripts 271 Creating Templates 272 A Practical Example 272 Test Your Knowledge: Questions 277 viii | Table of Contents 13. Cookies, Sessions, and Authentication . 279 Using Cookies in PHP 279 Setting a Cookie 281 Accessing a Cookie 281 Destroying a Cookie 282 HTTP Authentication 282 Storing Usernames and Passwords 285 Salting 285 Using Sessions 289 Starting a Session 289 Ending a Session 292 Session Security 293 Test Your Knowledge: Questions 296 14. Exploring JavaScript . ................................................ 299 JavaScript and HTML Text 299 Using Scripts Within a Document Head 301 Older and Nonstandard Browsers 301 Including JavaScript Files 302 Debugging JavaScript Errors 303 Using Comments 305 Semicolons 305 Variables 306 String Variables 306 Numeric Variables 307 Arrays 307 Operators 308 Arithmetic Operators 308 Assignment Operators 308 Comparison Operators 309 Logical Operators 309 Variable Incrementing and Decrementing 310 String Concatenation 310 Escaping Characters 310 Variable Typing 311 Functions 312 Global Variables 312 Local Variables 312 The Document Object Model 314 Browser Incompatibilities 316 Using the DOM 317 Test Your Knowledge: Questions 318 Table of Contents | ix 15. Expressions and Control Flow in JavaScript . 319 Expressions 319 Literals and Variables 320 Operators 321 Operator Precedence 321 Associativity 322 Relational Operators 323 The with Statement 325 Using onError 326 Using try...catch 327 Conditionals 328 The if Statement 328 The switch Statement 329 The ? Operator 331 Looping 331 while Loops 331 do...while Loops 332 for Loops 332 Breaking Out of a Loop 333 The continue Statement 334 Explicit Casting 334 Test Your Knowledge: Questions 335 16. JavaScript Functions, Objects, and Arrays . 337 JavaScript Functions 337 Defining
Recommended publications
  • THE FUTURE of SCREENS from James Stanton a Little Bit About Me
    THE FUTURE OF SCREENS From james stanton A little bit about me. Hi I am James (Mckenzie) Stanton Thinker / Designer / Engineer / Director / Executive / Artist / Human / Practitioner / Gardner / Builder / and much more... Born in Essex, United Kingdom and survived a few hair raising moments and learnt digital from the ground up. Ok enough of the pleasantries I have been working in the design field since 1999 from the Falmouth School of Art and onwards to the RCA, and many companies. Ok. less about me and more about what I have seen… Today we are going to cover - SCREENS CONCEPTS - DIGITAL TRANSFORMATION - WHY ASSETS LIBRARIES - CODE LIBRARIES - COST EFFECTIVE SOLUTION FOR IMPLEMENTATION I know, I know, I know. That's all good and well, but what does this all mean to a company like mine? We are about to see a massive change in consumer behavior so let's get ready. DIGITAL TRANSFORMATION AS A USP Getting this correct will change your company forever. DIGITAL TRANSFORMATION USP-01 Digital transformation (DT) – the use of technology to radically improve performance or reach of enterprises – is becoming a hot topic for companies across the globe. VERY DIGITAL CHANGING NOT VERY DIGITAL DIGITAL TRANSFORMATION USP-02 Companies face common pressures from customers, employees and competitors to begin or speed up their digital transformation. However they are transforming at different paces with different results. VERY DIGITAL CHANGING NOT VERY DIGITAL DIGITAL TRANSFORMATION USP-03 Successful digital transformation comes not from implementing new technologies but from transforming your organisation to take advantage of the possibilities that new technologies provide.
    [Show full text]
  • Appendix a the Ten Commandments for Websites
    Appendix A The Ten Commandments for Websites Welcome to the appendixes! At this stage in your learning, you should have all the basic skills you require to build a high-quality website with insightful consideration given to aspects such as accessibility, search engine optimization, usability, and all the other concepts that web designers and developers think about on a daily basis. Hopefully with all the different elements covered in this book, you now have a solid understanding as to what goes into building a website (much more than code!). The main thing you should take from this book is that you don’t need to be an expert at everything but ensuring that you take the time to notice what’s out there and deciding what will best help your site are among the most important elements of the process. As you leave this book and go on to updating your website over time and perhaps learning new skills, always remember to be brave, take risks (through trial and error), and never feel that things are getting too hard. If you choose to learn skills that were only briefly mentioned in this book, like scripting, or to get involved in using content management systems and web software, go at a pace that you feel comfortable with. With that in mind, let’s go over the 10 most important messages I would personally recommend. After that, I’ll give you some useful resources like important websites for people learning to create for the Internet and handy software. Advice is something many professional designers and developers give out in spades after learning some harsh lessons from what their own bitter experiences.
    [Show full text]
  • Directing Javascript with Arrows
    Directing JavaScript with Arrows Khoo Yit Phang Michael Hicks Jeffrey S. Foster Vibha Sazawal University of Maryland, College Park {khooyp,mwh,jfoster,vibha}@cs.umd.edu Abstract callback with a (short) timeout. Unfortunately, this style of event- JavaScript programmers make extensive use of event-driven pro- driven programming is tedious, error-prone, and hampers reuse. gramming to help build responsive web applications. However, The callback sequencing code is strewn throughout the program, standard approaches to sequencing events are messy, and often and very often each callback must hard-code the names of the next lead to code that is difficult to understand and maintain. We have events and callbacks in the chain. found that arrows, a generalization of monads, are an elegant solu- To combat this problem, many researchers and practitioners tion to this problem. Arrows allow us to easily write asynchronous have developed libraries to ease the construction of rich and highly programs in small, modular units of code, and flexibly compose interactive web applications. Examples include jQuery (jquery. them in many different ways, while nicely abstracting the details of com), Prototype (prototypejs.org), YUI (developer.yahoo. asynchronous program composition. In this paper, we present Ar- com/yui), MochiKit (mochikit.com), and Dojo (dojotoolkit. rowlets, a new JavaScript library that offers arrows to the everyday org). These libraries generally provide high-level APIs for com- JavaScript programmer. We show how to use Arrowlets to construct mon features, e.g., drag-and-drop, animation, and network resource a variety of state machines, including state machines that branch loading, as well as to handle API differences between browsers.
    [Show full text]
  • Adobe Spry and Dreamweaver ADOBE SPRY and DREAMWEAVER (SUP)
    Adobe Spry and Dreamweaver ADOBE SPRY AND DREAMWEAVER (SUP) The Adobe Spry Framework for Ajax (Spry v.1.6.1 is the latest release of Spry) Spry is a JavaScript-base framework that enables the rapid development of Ajax-powered web pages. Ajax is technology. It is a term commonly used to define a group of interrelated web development techniques used on the client-side to create interactive web applications. Spry uses JavaScript, but acts like an extension of HTML and CSS (so anyone with HTML and CSS can use it). Spry can be used with both client-side and server-side technologies. • Spry is implemented as a set of JavaScript libraries. To add Spry to your page, the user includes the JavaScript library that contains the Spry features as needed, and then deploys that JavaScript file to the web site along with other page. • Spry has three basic components: Spry Data, Spry Widgets and Spry Effects. They can be used together or independently of one another. • No browser plug-ins or server-side modules are required for Spry to work. • Dreamweaver CS4 has features that ease the development of Spry pages but Spry itself is completely tool independent. Any code editor can be used to develop Spry pages (Dreamweaver, Visual Studio, Notepad…). Sidebar AJAX Other Frameworks similar to Spry: Google, Yahoo, jQuery, MooTools, Dojo, etc Spry provides developers with easy to implement tools (Spry Data, Spry Widgets and Spry Effects) Widgets examples Validation widgets Menu Bars (Vertical and Horizontal) Sliding Panels Tooltip Effects examples Show/Hide: Fade
    [Show full text]
  • Analysis Report
    METU Computer Engineering AKAMAI WEB TOOLKIT ANALYSIS REPORT Members of the Team: • Ahmet Emin Tosun è [email protected] • Uğur Can Tekin è [email protected] • Hasan İşler è [email protected] • Vedat Şengül è [email protected] • Muhammet Yavuz Aşık è [email protected] 1. PROJECT DEFINITION, SCOPE AND GOALS 1.1 Project Definition 1.2 Project Scope and Goals 2. PROCESS 2.1 Team Organization 2.2 Process Model 2.3 Major Constraints 2.3.1 Project Schedule 2.3.1 Language Constraints 2.3.3 User Interface 2.4 Gantt Chart 3. MARKET RESEARCH 3.1 CURRENT PRODUCTS 3.1.1 APTANA 3.1.1.1 What is Aptana? 3.1.1.2 Main Features of Aptana 3.1.1.3 About the Aptana Editors 3.1.1.3.1 JavaScript Editor 3.1.1.3.2 HTML Editor 3.1.1.3.3 CSS Editor 3.1.1.4 Screenshots 3.1.2 AJAX JOYISTAR WEBSHOP 3.1.2.1 What is Ajax Joyistar Webshop? 3.1.2.2 Main Features of Joyistar Webshop 3.1.2.3 Screenshots 3.1.3 ZAPATEC 3.1.3.1 What is Zapatec 3.1.3.2 Main Features of Zapatec 3.1.4 GOOGLE WEB TOOLKIT 3.1.4.1 What is Google Web Toolkit? 3.1.4.2 Main Features of GWT 3.1.4.3 Google Web Toolkit Components 3.1.5 DOJO TOOLKIT 3.1.5.1 What is Dojo? 3.1.5.2 Main Features of Dojo 2 3.1.6 MORFIK WEBOS APPSBUILDER 3.1.6.1 What is Morfik WebOS AppsBuilder 3.1.6.2 Main Features of Morfik WebOS AppsBuilder 3.1.6.3 About the Morfik Editor 3.1.6.4 Screenshots 3.1.7 Comparison Table 3.2 Questionnaire 3.3 Interview 4.
    [Show full text]
  • Javascript Hijacking
    JavaScript Hijacking Brian Chess, Yekaterina Tsipenyuk O'Neil, Jacob West {brian, katrina, jacob}@fortifysoftware.com March 12, 2007 Summary An increasing number of rich Web applications, often called Ajax applications, make use of JavaScript as a data transport mechanism. This paper describes a vulnerability we term JavaScript Hijacking, which allows an unauthorized party to read confidential data contained in JavaScript messages. The attack works by using a <script> tag to circumvent the Same Origin Policy enforced by Web browsers. Traditional Web applications are not vulnerable because they do not use JavaScript as a data transport mechanism. We analyzed 12 popular Ajax frameworks, including 4 server-integrated toolkits – Direct Web Remoting (DWR), Microsoft ASP.NET Ajax (a.k.a. Atlas), xajax and Google Web Toolkit (GWT) -- and 8 purely client-side libraries -- Prototype, Script.aculo.us, Dojo, Moo.fx, jQuery, Yahoo! UI, Rico, and MochiKit. We determined that among them only DWR 2.0 implements mechanisms for preventing JavaScript Hijacking. The rest of the frameworks do not explicitly provide any protection and do not mention any security concerns in their documentation. Many programmers are not using any of these frameworks, but based on our findings with the frameworks, we believe that many custom-built applications are also vulnerable. An application may be vulnerable if it: • Uses JavaScript as a data transfer format • Handles confidential data We advocate a two-pronged mitigation approach that allows applications to decline malicious requests and prevent attackers from directly executing JavaScript the applications generate. 1. Introduction Although the term “Web 2.0” does not have a rigorous definition, it is commonly used in at least two ways.
    [Show full text]
  • Ajax, State of The
    AjAjaax,x, ststaattee ooff tthhee aarrtt Tarek Ziadé, Nuxeo [email protected] WWhhoo aamm ii ● I am engineer at Nuxeo ● I work on CPS, the famous ECM Plateform ;) ● I©ve been lately in charge of Ajax stuff in CPS ● I read Ajax related feeds before I go to bed WWhhaatt iiss AAjjaaxx ?? A dutch football club (a good one) A cleanser (really works) AA WWeebb 22..00 tteechchnnoollooggyy Asynchronous Javascript And XML WWhhaatt©©ss WWeebb 22..00 ?? TTiimm OO©©RReeiillllyy©©ss ©©ccoommppaacctt©© ddeeffiinniittiioonn:: Web 2.0 is the network as platform, spanning all connected devices; Web 2.0 applications are those that make the most of the intrinsic advantages of that platform: delivering software as a continually-updated service that gets better the more people use it, consuming and remixing data from multiple sources, including individual users, while providing their own data and services in a form that allows remixing by others, creating network effects through an "architecture of participation," and going beyond the page metaphor of Web 1.0 to deliver rich user experiences. MMaarrkkuuss AAnnggeerrmmeeiieerr©©ss vviieeww ooff WWeebb 22..00:: (courtesy of Markus Angermeier) WWeebb 22..00 AAppppss ✔ del.icio.us ✔ flickr ✔ Voo2do ✔ Digg ✔ Google Mail (Gmail) ✔ Writely ✔ Basecamp ✔ ... AjAjaaxx bbiigg ppiictctuurere 11//22 (courtesy of J. J. Garett) AjAjaaxx bbiigg ppiictctuurere 22//22 (courtesy of J. J. Garett) TThhee LLiistst ooff tthhiinnggss AjAjaaxx rereaallllyy bbririnnggss ✔ Increases interactivity ✔ Save bandwidth ✔ Helps avoiding some interactive
    [Show full text]
  • Debugging Javascript
    6803.book Page 451 Thursday, June 15, 2006 2:24 PM APPENDIX ■ ■ ■ Debugging JavaScript In this appendix, I will introduce you to some tricks and tools to debug your JavaScript code. It is very important to get acquainted with debugging tools, as programming consists to a large extent of trying to find out what went wrong a particular time. Some browsers help you with this problem; others make it harder by having their debugging tools hidden away or returning cryptic error messages that confuse more than they help. Some of my favorites include philo- sophical works like “Undefined is not defined” or the MSIE standard “Object doesn’t support this property or method.” Common JavaScript Mistakes Let’s start with some common mistakes that probably every JavaScript developer has made during his career. Having these in the back of your head when you check a failing script might make it a lot quicker to spot the problem. Misspellings and Case-Sensitivity Issues The easiest mistakes to spot are misspellings of JavaScript method names or properties. Clas- sics include getElementByTagName() instead of getElementsByTagName(), getElementByID() instead of getElementById() and node.style.colour (for the British English writers). A lot of times the problem could also be case sensitivity, for example, writing keywords in mixed case instead of lowercase. If( elm.href ) { var url = elm.href; } There is no keyword called If, but there is one called if. The same problem of case sensi- tivity applies to variable names: var FamilyGuy = 'Peter'; var FamilyGuyWife = 'Lois'; alert( 'The Griffins:\n'+ familyGuy + ' and ' + FamilyGuyWife ); This will result in an error message stating “familyGuy is not defined”, as there is a variable called FamilyGuy but none called familyGuy.
    [Show full text]
  • Zenoss Zeveloper's Guide Version
    Zenoss, Inc. www.zenoss.com Copyright © 2008 Zenoss, Inc., 275 West St. Suite 204, Annapolis, MD 21401, U.S.A. All rights reserved. The Zenoss logo is a registered trademark of Zenoss, Inc. Zenoss and Open Enterprise Management are trademarks of Zenoss, Inc. in the U.S. and other countries. Flash is a registered trademark of Adobe Systems Incorporated. Java is a registered trademark of Sun Microsystems, Inc. Linux is a registered trademark of Linus Torvalds. SNMP Informant is a trademark of Garth K. Williams (Informant Systems, Inc.). Tomcat is a trademark of the Apache Software Foundation. Windows is a registered trademark of Microsoft Corporation in the United States and other countries. All other companies and products mentioned are trademarks and property of their respective owners. Zenoss Developer’s Guide for Version 2.3 Zenoss Developer’s Guide for Version 2.3 Table of Contents 1. Introduction ............................................................................................................................... 1 1.1. Overview ........................................................................................................................ 1 1.1.1. Model ................................................................................................................. 1 1.1.2. Availability .......................................................................................................... 1 1.1.3. Events ................................................................................................................
    [Show full text]
  • Developer's Guide ● Using the Conscriptus Web API
    Conscriptus Developers Guide Pages: 39 Version: 1.0 Issued: 2008-08-30 Author: Andrei Ivanov [email protected] Yakutsk Copyright © 2007-2008, Andrei Ivanov. All rights reserved. mailto:[email protected] Important notice: Author(s) makes no warranty for the use of its products and assumes no responsibility for any errors which may appear in this document nor does it make a commitment to update the information contained herein. Described products are not intended for use in medical, life saving or life sustaining applications. Author(s) assumes no liability for applications assistance, customer’s applications or product designs, software performance, or infringement of patents. Author(s) retains the right to make changes to these specifications at any time, without notice. All trademarks mentioned in this document or Web site are the property of their respective owners. Date: 08/30/2008 Page 3 of 39 Conscriptus Developers Guide - Conscriptus appointment timesheet time sheduler History of changes 2008/01/08 First release 2008/06/04 Group manipulation added Summary Этот документ описывает необходимые и рекомендуемые действия по настройке рабочего окружения среды разработчика приложения MeetUp, может быть полезна как справочник по выполнению некоторых операций и содержит такую полезную информацию, как информацию о размещении файлов. Definitions and Abbreviations ADO Microsoft ActiveX Database Objects ® library BDE Borland Database Engine® library GUI Graphical user interface IDE интегрированная среда разработки LUW ОС Linux®, Unix® or Microsoft Windows® RAD rapid application development SDI single document interface VCL Borland Visual Component Library® User Software application user Scope Cellphone application to assist persons assign a meeting at the suitable place and time according to their location and time sheet.
    [Show full text]
  • HTML5 HTML5 Designing Rich Internet Applications
    HTML5 HTML5 DESIGNING RICH INTERNET APPLICATIONS MATTHEW DAVID AMSTERDAM • BOSTON • HEIDELBERG • LONDON • NEW YORK • OXFORD PARIS • SAN DIEGO • SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO Focal Press is an imprint of Elsevier Focal Press is an imprint of Elsevier 30 Corporate Drive, Suite 400, Burlington, MA 01803, USA The Boulevard, Langford Lane, Kidlington, Oxford, OX5 1GB, UK © 2010 Elsevier, Inc. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the Publisher. Details on how to seek permission, further information about the Publisher's permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www.elsevier.com/permissions. This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this field are constantly changing. As new research and experience broaden our understanding, changes in research methods, professional practices, or medical treatment may become necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any information, methods, compounds, or experiments described herein. In using such information or methods they should be mindful of their own safety and the safety of others, including parties for whom they have a professional responsibility. To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any liability for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products, instructions, or ideas contained in the material herein.
    [Show full text]
  • NEAR EAST UNIVERSITY Faculty of Engineering
    NEAR EAST UNIVERSITY Faculty of Engineering Department of Computer Engineering AUTO GALLERY MANAGEMENT SYSTEM Graduation Project COM 400 Student: Ugur Emrah CAKMAK Supervisor : Assoc. Prof. Dr. Rahib ABIYEV Nicosia - 2008 ACKNOWLEDGMENTS "First, I would like to thank my supervisor Assoc. Prof. Dr. Rahib Abiyev for his invaluable advice and belief in my work and myself over the course of this Graduation Project.. Second, I would like to express my gratitude to Near East University for the scholarship that made the work possible. Third, I thank my family for their constant encouragement and support during the preparation of this project. Finally, I would like to thank Neu Computer Engineering Department academicians for their invaluable advice and support. TABLE OF CONTENT ACKNOWLEDGEMENT i TABLE OF CONTENTS ii ABSTRACT iii INTRODUCTION 1 CHAPTER ONE - PHP - Personal Home Page 2 1.1 History Of PHP 2 1.2 Usage 5 1.3 Security 6 1 .4 Syntax 7 1.5 Data Types 8 1.6 Functions 9 1.7 Objects 9 1.8 Resources 10 1.9 Certification 12 1 .1 O List of Web Applications 12 1.11 PHP Code Samples 19 CHAPTER TWO - MySQL 35 2.1 Uses 35 2.2 Platform and Interfaces 36 2.3 Features 37 2.4 Distinguishing Features 38 2.5 History 40 2.6 Future Releases 41 2.7 Support and Licensing .41 2.8 Issues 43 2.9Criticism 44 2.10 Creating the MySQL Database 45 2.11 Database Code of a Sample CMS 50 CHAPTER THREE - Development of Auto Gallery Management System 72 CONCLUSION 77 REFERENCES 78 APPENDIX 79 ii ABSTRACT Auto Gallery Management System is a unique Content Management System which supports functionality for auto galleries.
    [Show full text]