PHP 6 and Mysql 5 for Dynamic Web Sites (2008).Pdf

Total Page:16

File Type:pdf, Size:1020Kb

PHP 6 and Mysql 5 for Dynamic Web Sites (2008).Pdf VISUAL QUICKPRO GUIDE PHP 6 AND MYSQL 5 FOR DYNAMIC WEB SITES Larry Ullman Peachpit Press Visual QuickPro Guide PHP 6 and MySQL 5 for Dynamic Web Sites Larry Ullman Peachpit Press 1249 Eighth Street Berkeley, CA 94710 510/524-2178 510/524-2221 (fax) Find us on the Web at: www.peachpit.com To report errors, please send a note to: [email protected] Peachpit Press is a division of Pearson Education. Copyright © 2008 by Larry Ullman Editor: Rebecca Gulick Copy Editor: Bob Campbell Production Coordinator: Becky Winter Compositors: Myrna Vladic, Jerry Ballew, and Rick Gordon Indexer: Rebecca Plunkett Cover Production: Louisa Adair Technical Reviewer: Arpad Ray Notice of rights All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, elec- tronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the pub- lisher. For information on getting permission for reprints and excerpts, contact [email protected]. Notice of liability The information in this book is distributed on an “As Is” basis, without warranty. While every precaution has been taken in the preparation of the book, neither the author nor Peachpit Press 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 instructions contained in this book or by the computer software and hardware products described in it. Trademarks MySQL is a registered trademark of MySQL AB in the United States and in other countries. Macintosh and Mac OS X are registered trademarks of Apple Computer, Inc. Microsoft and Windows are registered trade- marks of Microsoft Corporation. Other product names used in this book may be trademarks of their own respective owners. Images of Web sites in this book are copyrighted by the original holders and are used with their kind permission. This book is not officially endorsed by nor affiliated with any of the above com- panies, including MySQL AB. 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 Peachpit was aware of a trademark claim, the designations appear as requested by the owner of the trademark. All other product names and services identified throughout this book are used in editorial fashion only and for the benefit of such companies with no intention of infringement of the trademark. No such use, or the use of any trade name, is intended to convey endorsement or other affiliation with this book. ISBN-13: 978-0-321-52599-4 ISBN-10: 0-321-52599-X 987654321 Printed and bound in the United States of America Dedication Dedicated to the fine faculty at my alma mater, Northeast Missouri State University. In particular, I would like to thank: Dr. Monica Barron, Dr. Dennis Leavens, Dr. Ed Tyler, and Dr. Cole Woodcox, whom I also have the pleasure of calling my friend. I would not be who I am as a writer, as a student, as a teacher, or as a person if it were not for the magnanimous, affecting, and brilliant instruction I received from these educators. Special Thanks to: My heartfelt thanks to everyone at Peachpit Press, as always. My gratitude to editor extraordinaire Rebecca Gulick, who makes my job so much easier. And thanks to Bob Campbell for his hard work, helpful suggestions, and impressive attention to detail. Thanks also to Rebecca Plunkett for indexing and Becky Winter, Myrna Vladic, Jerry Ballew, and Rick Gordon for laying out the book, and thanks to Arpad Ray for his technical review. Kudos to the good people working on PHP, MySQL, Apache, phpMyAdmin, and XAMPP, among other great projects. And a hearty “cheers” to the denizens of the various news- groups, mailing lists, support forums, etc., who offer assistance and advice to those in need. Thanks, as always, to the readers, whose sup- port gives my job relevance. An extra helping of thanks to those who provided the transla- tions in Chapter 15, “Example—Message Board,” and who offered up recommendations as to what they’d like to see in this edition. Thanks to Nicole and Christina for enter- taining and taking care of the kids so that I could get some work done. Finally, I would not be able to get through a single book if it weren’t for the love and support of my wife, Jessica. And a special shout out to Zoe and Sam, who give me rea- sons to, and not to, write books! Table of Contents Introduction: ix What Are Dynamic Web Sites? . x What You’ll Need . xvi About This Book . xvii Companion Web Site . xix Chapter 1: Introduction to PHP 1 of Contents Table Basic Syntax . 2 Sending Data to the Web Browser . 6 Writing Comments . 10 What Are Variables? . 14 Introducing Strings . 18 Concatenating Strings . 21 Introducing Numbers . 23 Introducing Constants . 27 Single vs. Double Quotation Marks . 30 Chapter 2: Programming with PHP 33 Creating an HTML Form . 34 Handling an HTML Form . 38 Conditionals and Operators . 42 Validating Form Data . 46 Introducing Arrays . 52 For and While Loops . 70 Chapter 3: Creating Dynamic Web Sites 73 Including Multiple Files . 74 Handling HTML Forms, Revisited . 84 Making Sticky Forms . 89 Creating Your Own Functions . 92 Chapter 4: Introduction to MySQL 107 Naming Database Elements . 108 Choosing Your Column Types . 110 Choosing Other Column Properties . 114 Accessing MySQL . 116 v Table of Contents Chapter 5: Introduction to SQL 123 Creating Databases and Tables . 124 Inserting Records . 127 Selecting Data . 131 Using Conditionals . 133 Using LIKE and NOT LIKE . 136 Sorting Query Results . 138 Limiting Query Results . 140 Updating Data . 142 Deleting Data . 144 Using Functions . 146 Chapter 6: Advanced SQL and MySQL 157 Database Design . 158 Performing Joins . 173 Grouping Selected Results . 178 Creating Indexes . 180 Using Different Table Types . 185 Performing FULLTEXT Searches . 188 Performing Transactions . 194 Chapter 7: Error Handling and Debugging 199 Error Types and Basic Debugging . 200 Displaying PHP Errors . 206 Table of Contents Table Adjusting Error Reporting in PHP . 208 Creating Custom Error Handlers . 211 PHP Debugging Techniques . 216 SQL and MySQL Debugging Techniques . 220 Chapter 8: Using PHP with MySQL 223 Modifying the Template . 224 Connecting to MySQL . 226 Executing Simple Queries . 230 Retrieving Query Results . 239 Ensuring Secure SQL . 243 Counting Returned Records . 249 Updating Records with PHP . 251 Chapter 9: Common Programming Techniques 259 Sending Values to a Script . 260 Using Hidden Form Inputs . 264 Editing Existing Records . 270 Paginating Query Results . 277 Making Sortable Displays . 285 vi Table of Contents Chapter 10: Web Application Development 291 Sending Email . 292 Date and Time Functions . 298 Handling File Uploads . 302 PHP and JavaScript . 315 Understanding HTTP Headers . 322 Chapter 11: Cookies and Sessions 327 Making a Login Page . 328 Making the Login Functions . 331 Using Cookies . 336 Using Sessions . 349 Improving Session Security . 358 Chapter 12: Security Methods 361 Preventing Spam . 362 Table of Contents Table Validating Data by Type . 369 Preventing XSS Attacks . 374 Preventing SQL Injection Attacks . 377 Database Encryption . 383 Chapter 13: Perl-Compatible Regular Expressions 389 Creating a Test Script . 390 Defining Simple Patterns . 394 Using Quantifiers . 397 Using Character Classes . 400 Finding All Matches . 403 Using Modifiers . 407 Matching and Replacing Patterns . 409 Chapter 14: Making Universal Sites 413 Character Sets and Encoding . 414 Creating Multilingual Web Pages . 416 Unicode in PHP . 420 Collation in PHP . 424 Transliteration in PHP . 427 Languages and MySQL . 430 Time Zones and MySQL . 434 Working with Locales . 437 vii Table of Contents Chapter 15: Example—Message Board 441 Making the Database . 442 Writing the Templates . 451 Creating the Index Page . 460 Creating the Forum Page . 461 Creating the Thread Page . 466 Posting Messages . 471 Chapter 16: Example—User Registration 483 Creating the Templates . 484 Writing the Configuration Scripts . 490 Creating the Home Page . 498 Registration . 500 Activating an Account . 509 Logging In and Logging Out . 513 Password Management . 519 Chapter 17: Example—E-Commerce 529 Creating the Database . 530 The Administrative Side . 536 Creating the Public Template . ..
Recommended publications
  • Dynamic Web Pages with the Embedded Web Server
    Dynamic Web Pages With The Embedded Web Server The Digi-Geek’s AJAX Workbook (NET+OS, XML, & JavaScript) Version 1.0 5/4/2011 Page 1 Copyright Digi International, 2011 Table of Contents Chapter 1 - How to Use this Guide ............................................................................................................... 5 Prerequisites – If You Can Ping, You Can Use This Thing! ..................................................................... 5 Getting Help with TCP/IP and Wi-Fi Setup ............................................................................................ 5 The Study Guide or the Short Cut? ....................................................................................................... 5 C Code ................................................................................................................................................... 6 HTML Code ............................................................................................................................................ 6 XML File ................................................................................................................................................. 6 Provide us with Your Feedback ............................................................................................................. 6 Chapter 2 - The Server-Client Relationship ................................................................................................... 7 Example – An Analogy for a Normal HTML page .................................................................................
    [Show full text]
  • Effects and Opportunities of Native Code Extensions For
    Effects and Opportunities of Native Code Extensions for Computationally Demanding Web Applications DISSERTATION zur Erlangung des akademischen Grades Dr. Phil. im Fach Bibliotheks- und Informationswissenschaft eingereicht an der Philosophischen Fakultät I Humboldt-Universität zu Berlin von Dipl. Inform. Dennis Jarosch Präsident der Humboldt-Universität zu Berlin: Prof. Dr. Jan-Hendrik Olbertz Dekan der Philosophischen Fakultät I: Prof. Michael Seadle, Ph.D. Gutachter: 1. Prof. Dr. Robert Funk 2. Prof. Michael Seadle, Ph.D. eingereicht am: 28.10.2011 Tag der mündlichen Prüfung: 16.12.2011 Abstract The World Wide Web is amidst a transition from interactive websites to web applications. An increasing number of users perform their daily computing tasks entirely within the web browser — turning the Web into an important platform for application development. The Web as a platform, however, lacks the computational performance of native applications. This problem has motivated the inception of Microsoft Xax and Google Native Client (NaCl), two independent projects that fa- cilitate the development of native web applications. Native web applications allow the extension of conventional web applications with compiled native code, while maintaining operating system portability. This dissertation determines the bene- fits and drawbacks of native web applications. It also addresses the question how the performance of JavaScript web applications compares to that of native appli- cations and native web applications. Four application benchmarks are introduced that focus on different performance aspects: number crunching (serial and parallel), 3D graphics performance, and data processing. A performance analysis is under- taken in order to determine and compare the performance characteristics of native C applications, JavaScript web applications, and NaCl native web applications.
    [Show full text]
  • AJAX and Jquery L Raw AJAX Handling in JS Is Very Tedious L Jquery Provides Flexible and Strong Support to Handle AJAX Interactions Through a Set of Jquery Functions
    AJAX Asynchronous Design in Web Apps IT 4403 Advanced Web and Mobile Applications Jack G. Zheng Fall 2019 Topics l AJAX concepts and technical elements l AJAX implications and impacts l jQuery AJAX l Basic and shorthand methods l Error handling 2 AJAX l AJAX (Asynchronous JavaScript and XML) is a group of interrelated web development techniques used on the client-side to create interactive web applications. l Despite the name, the use of XML is not actually required, nor do the requests need to be asynchronous. 3 First Impression l https://www.google.com Use Chrome’s developer tools to view network communications while typing the search terms. A set of requests have been made to get JSON data from the server as I type in the search term box. Observe the “q” parameter in all URLs. 4 AJAX Model Difference With Ajax, web applications can communicate with servers in the background without a complete page loading after every request/response cycle. http://www.adaptivepath.com /ideas/ajax-new-approach- web-applications/ 5 Traditional Model The client does not generate views/presentations (HTML/CSS). Synchronous communications feature sequential request/response cycles, one after another The server prepares the whole page. http://www.websiteoptimization.com/secrets/ajax/8-1-ajax-pattern.html 6 Ajax Model l With Ajax, web applications can communicate with servers in the background without a complete page loading after every request/response cycle. The client generates views/presentations and update content (partial page) by manipulating DOM. Asynchronous communications feature independent request/response cycles The server prepares partial pages (partial HTML) or just data (XML or JSON).
    [Show full text]
  • EMERGING TECHNOLOGIES Dymamic Web Page Creation
    Language Learning & Technology January 1998, Volume 1, Number 2 http://llt.msu.edu/vol1num2/emerging/ pp. 9-15 (page numbers in PDF differ and should not be used for reference) EMERGING TECHNOLOGIES Dymamic Web Page Creation Robert Godwin-Jones Virginia Comonwealth University Contents: • Plug-ins and Applets • JavaScript • Dynamic HTML and Style Sheets • Instructional Uses • Resource List While remaining a powerful repository of information, the Web is being transformed into a medium for creating truly interactive learning environments, leading toward a convergence of Internet connectivity with the functionality of traditional multimedia authoring tools like HyperCard, Toolbook, and Authorware. Certainly it is not fully interactive yet, but that is undeniably the trend as manifested in the latest (version 4) Web browsers. "Dynamic HTML," incorporated into the new browsers, joins plug-ins, Web forms, Java applets, and JavaScript as options for Web interactivity. Plug-ins and Applets While Web pages are beginning to behave more like interactive applications, traditional authoring tools are themselves becoming Internet-savvy, primarily through the use of "plug-in" versions of players which integrate with Web browsers. The most commonly used plug-in today is Macromedia's "Shockwave," used to Web-enable such applications as Director, Authorware, and Flash. "Shocked" Web pages can be very interactive and provide a visually appealing means of interacting with users (as in some sample ESL exercises from Jim Duber). Plug-ins are easy to use -- they just need to be downloaded and installed. Some come bundled with Netscape and Microsoft's browsers, which simplifies considerably the installation process (and gives developers the confidence that most users will actually have the plug-in installed).
    [Show full text]
  • How We Build Web Applications
    Whitepaper How We Build Web Applications Whitepaper 1 BuildableWorks.com Table of Contents About Buildable ............................................................................................ 3 Web Application Architecture ................................................................. 4 Our Process .................................................................................................. 6 Application Architecture Guidelines ............................................... 8 Management ......................................................................................... 8 Anatomy of a Web App .............................................................................. 10 User Experience Design ...................................................................... 10 Application Build and Deployment .................................................... 14 Frontend Tools ...................................................................................... 15 Backend Tools ........................................................................................ 20 Authentication and Security ............................................................. 22 Whitepaper 2 BuildableWorks.com About Buildable Our nimble, versatile team of full-stack engineers, creatives, and developers come to work every day with the knowledge we’re making the stuff that will change our clients’ work lives for the better. It’s why we attract and keep some of the best technical talent in the industry, and it’s how we deliver the highest quality
    [Show full text]
  • Lecture 6: Dynamic Web Pages Lecture 6: Dynamic Web Pages Mechanics • Project Preferences Due • Assignment 1 out • Prelab for Next Week Is Non-Trivial
    Lecture 6: Dynamic Web Pages Lecture 6: Dynamic Web Pages Mechanics • Project preferences due • Assignment 1 out • PreLab for next week is non-trivial 1/31/2020 2 Lecture 5: JavaScript JavaScript has its Quirks • Procedural, Functional and Object-Oriented all at once • Objects are very different from Java/C++ o Newer versions have Java-like classes however • Scoping is different o var versus let or const o Declarations can follow uses o Declarations are optional • Automatic type conversion • Strict versus non-strict equality testing • eval function • Semicolons are optional if unambiguous • Read up on the language (prelab) 1/31/2020 3 Lecture 6: Dynamic Web Pages What is an Interactive Application • How do we want to use JavaScript • What does interactive mean • What does it do when you interact o Check inputs, compute next page o Change the page without getting a new page 1/30/2020 4 Lecture 6: Dynamic Web Pages Dynamic Web Page Examples • http://bdognom.cs.brown.edu:5000/ (spheree) • http://conifer.cs.brown.edu/s6 (s6) • http://conifer.cs.brown.edu:8888 (twitter) • http://fred4.cs.brown.edu:8800/ (sign) 1/23/2020 5 Lecture 6: Dynamic Web Pages Interactive Applications • Respond to user inputs • Change the display (e.g. add fields, show errors, …) • Dynamically check and verify inputs • Allow direct manipulation (drag and drop) • Use animation to highlight or emphasize or show things • Display external changes in real time • Provide input help (e.g. text completion) • Handle dynamic resizing of the display 1/23/2020 6 Lecture 6: Dynamic Web Pages Achieving Interactivity • Using CSS • Handling HTML events using JavaScript o Dynamically check and verify inputs o Handle direct manipulation • With modern HTML features • With animation/drawing/multimedia packages • By talking to the server continually • Displaying external changes in real time • Changing styles and the content of the page o Change the display (e.g.
    [Show full text]
  • Advanced Web Design
    Implementation Date Fall 2008 PROGRAM CONCENTRATION Business & Computer Science CAREER PATHWAY: Interactive Media COURSE TITLE: Advanced Web Design The goal of this course is to provide students with the study of advanced topics in web design. Computer in the Modern World and Beginning Web Design are both prerequisites for this course. Upon completion of this course, students should have a thorough knowledge of all areas of web page design. Topics include the web development process, advanced layout and design features, advanced study of scripting languages, site development with HTML editors, and web servers and databases. This course also prepares students to take the CIW Associate Design Specialist Certification. OVERVIEW OF WEB DESIGN BCS-AWD-1. Students will explore web design concepts, the current state of the web, and technologies used on the web. a. Identify, evaluate, compare, and contrast web browsers. b. Identify and describe plug-ins, applets and other web based utilities. Academic Standards: ELA12W3. The student uses research and technology to support writing. ELA12RC3. The student acquires new vocabulary in each content area and uses it correctly. BCS-AWD-2. Students will examine ethical and legal issues related to web development. a. Discuss and develop strategies for handling privacy issues. b. Distinguish between legal and ethical issues. 1. Discuss appropriate and inappropriate content on sites such as Facebook and My Space. c. Describe security issues associated with web servers. Academic Standards: ELA12LSV1. The student participates in student-to-teacher, student-to-student, and group verbal interactions. ELA12RC2. The student participates in discussions related to curricular learning in all subject areas.
    [Show full text]
  • Virtual Geographic World: the Web-Based 3D Kyong-Ho Kim
    Transactions on Information and Communications Technologies vol 18, © 1998 WIT Press, www.witpress.com, ISSN 1743-3517 Virtual geographic world: the web-based 3D CIS Kyong-Ho Kim, Kiwon Lee, Ho-Geun Lee: & Young- Lyol Ha GIS Lab. Image Processing Dept. Systems Engineering Research Institute, Yusung, Taejon, 305-600, S.Korea Email: {khkim, kilee, hglee,ylha} @seri. re. kr Abstract To design and implement web-based 3D GIS, the strategic linkage of Java and VRML is first regarded: 3D feature format definition in the passion of conventional GIS including aspatial attributes, 3D feature indexing, 3D analytical operations such as selection, buffering, and near, metric operation such as distance measurement and statistical description, and 3D visualization. In 3D feature format definition, the following aspects are considered: aspatial attributes, spatial information for 3D primitives, multimedia data, visualization information for VRML specification. "Lantern operator" is newly introduced in this 3D GIS. Because this system is implemented by Java applet, any client with Java-enable browser including VRML browser plug-in can utilize the new style of 3D GIS function in the virtual space. 1 Introduction The integration of virtual environment and GIS has been initiated]!]. Since the mid 1990s, 3D GIS on World Wide Web(WWW)[2] has been regarded as one of promising alternatives in the GIS field mainly due to cost-effectiveness and wide accessibility. In this newly emerging approach, Virtual Reality Modeling Language(VRML)[3] shows several Transactions on Information and Communications Technologies vol 18, © 1998 WIT Press, www.witpress.com, ISSN 1743-3517 344 GIS Technologies and their Environmental Applications linked aspects with 3D GIS under Internet environment^].
    [Show full text]
  • Uwsgi Documentation Release 2.0
    uWSGI Documentation Release 2.0 uWSGI Jun 17, 2020 Contents 1 Included components (updated to latest stable release)3 2 Quickstarts 5 3 Table of Contents 33 4 Tutorials 303 5 Articles 343 6 uWSGI Subsystems 375 7 Scaling with uWSGI 457 8 Securing uWSGI 485 9 Keeping an eye on your apps 503 10 Async and loop engines 511 11 Web Server support 525 12 Language support 541 13 Other plugins 629 14 Broken/deprecated features 633 15 Release Notes 643 16 Contact 741 17 Commercial support 743 18 Donate 745 19 Sponsors 747 20 Indices and tables 749 i Python Module Index 751 Index 753 ii uWSGI Documentation, Release 2.0 The uWSGI project aims at developing a full stack for building hosting services. Application servers (for various programming languages and protocols), proxies, process managers and monitors are all implemented using a common api and a common configuration style. Thanks to its pluggable architecture it can be extended to support more platforms and languages. Currently, you can write plugins in C, C++ and Objective-C. The “WSGI” part in the name is a tribute to the namesake Python standard, as it has been the first developed plugin for the project. Versatility, performance, low-resource usage and reliability are the strengths of the project (and the only rules fol- lowed). Contents 1 uWSGI Documentation, Release 2.0 2 Contents CHAPTER 1 Included components (updated to latest stable release) The Core (implements configuration, processes management, sockets creation, monitoring, logging, shared memory areas, ipc, cluster membership and the uWSGI Subscription Server) Request plugins (implement application server interfaces for various languages and platforms: WSGI, PSGI, Rack, Lua WSAPI, CGI, PHP, Go .
    [Show full text]
  • A Web-Based Collaborative Multimedia Presentation Document System
    ABSTRACT With the distributed and rapidly increasing volume of data and expeditious de- velopment of modern web browsers, web browsers have become a possible legitimate vehicle for remote interactive multimedia presentation and collaboration, especially for geographically dispersed teams. To our knowledge, although there are a large num- ber of applications developed for these purposes, there are some drawbacks in prior work including the lack of interactive controls of presentation flows, general-purpose collaboration support on multimedia, and efficient and precise replay of presentations. To fill the research gaps in prior work, in this dissertation, we propose a web-based multimedia collaborative presentation document system, which models a presentation as media resources together with a stream of media events, attached to associated media objects. It represents presentation flows and collaboration actions in events, implements temporal and spatial scheduling on multimedia objects, and supports real-time interactive control of the predefined schedules. As all events are repre- sented by simple messages with an object-prioritized approach, our platform can also support fine-grained precise replay of presentations. Hundreds of kilobytes could be enough to store the events in a collaborative presentation session for accurate replays, compared with hundreds of megabytes in screen recording tools with a pixel-based replay mechanism. A WEB-BASED COLLABORATIVE MULTIMEDIA PRESENTATION DOCUMENT SYSTEM by Chunxu Tang B.S., Xiamen University, 2013 M.S., Syracuse University, 2015 Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Electrical and Computer Engineering. Syracuse University June 2019 Copyright c Chunxu Tang 2019 All Rights Reserved To my parents.
    [Show full text]
  • Caching Dynamic Web Content: Designing and Analysing an Aspect-Oriented Solution
    Caching Dynamic Web Content: Designing and Analysing an Aspect-Oriented Solution Sara Bouchenak1, Alan Cox2, Steven Dropsho3, Sumit Mittal4?, Willy Zwaenepoel3 1INRIA, 655, av. de l'Europe, Montbonnot, 38334 St. Ismier Cedex, France [email protected] 2Rice University, Department of Computer Science, Houston, TX USA [email protected] 3EPFL, Department of Computer Science, CH-1015 Lausanne, Switzerland fSteven.Dropsho, Willy.Zwaenepoelg@epfl.ch 4IBM India Research Lab, Block-1, IIT, Hauz Khas, New Delhi, India [email protected] Abstract. Caching dynamic web content is an effective approach to re- duce Internet latency and server load. An ideal caching solution is one that can be added transparently by the developers and provides complete consistency of the cached documents, while minimizing false cache invali- dations. In this paper, we design and implement AutoWebCache, a middle- ware system for adding caching of dynamic content transparently to J2EE server-side applications having a backend database. For this purpose, we first present the principles involved in caching dynamic web content, in- cluding our logic to ensure consistency of the cached entries. Thereafter, we demonstrate the use of aspect-oriented (AOP) techniques to implement our system, showing how AOP provides modularity and transparency to the entire process. Further, we evaluate the effectiveness of AutoWebCache in reducing response times of applications, thereby improving throughput. We also analyze the transparency of our system for a general application suite, considering issues such as dynamic web pages aggregating data from mul- tiple sources, presence of insufficiently structured interfaces for exchanging information and the use of application semantics while caching.
    [Show full text]
  • World Wide Web
    World Wide Web Introduction to networking Dr. Klára Pešková, [email protected] Department of Software and Computer Science Education 1 / 32 Feel free to contact me: ● Join a Zoom meeting during an officially scheduled lecture ● E-mail me Assignment You can find the “Simple Static Web” assignment in ReCodEx. Your goal is to create a simple static web, the specification of this assignment in ReCodEx is quite detailed. You will be rewarded by one point if your solution meets the required criteria. Except for ReCodEx, the assignment has to be approved by myself. Your web page has to look like a real web page, it is not enough to just stack the mandatory elements with no concept. You will find my comments to your solution directly in ReCodEx. If your solution is approved, I will reward you one extra point. You need to get 1+1 points to be able to take the “Introduction to networking” test. WWW – World Wide Web ● WWW is the most used Internet service ● Started as an experiment in CERN ● Last year’s description – Platform for information and data exchange – Environment for applications, that are accessible from anywhere ● This year – Social interactions – Shopping – Culture – Studying – Entertainment … Introduction to networking (2020) 2 / 32 World Wide Web and Internet are not the same. Web is one of the Internet’s (most used) services. Ancient history ● 1945 – Vannevar Bush – Human brain works with associations – hypothetical electromechanical device Memex – "enlarged intimate supplement to one's memory", bookmark list of static microfilm pages ● ‘60s – Theodore Nelson first used the word hyper-text, i.e.
    [Show full text]