• Robin Nixon
  • Learning PHP, MySQL and JavaScript
  • Buch
  • A Step-by-Step Guide to Creating Dynamic Websites

Detailinformationen

  • O'Reilly Vlg. GmbH & Co. , 08/2009
  • Einband: Kartoniert / Broschiert
  • Sprache: Englisch
  • ISBN-13: 9780596157135
  • Bestell-Nr.: 5761299
  • Umfang: 526 Seiten
  • Gewicht: 844 g
  • Maße: 232 x 178 mm
  • Stärke: 30 mm
  • Erscheinungstermin: 15.8.2009

Beschreibung

Learn how to create responsive, data-driven websites with PHP, MySQL, and JavaScript -- whether or not you know how to program. This simple, streamlined guide explains how the powerful combination of PHP and MySQL provides a painless way to build modern websites with dynamic data and user interaction. You'll then learn how to add JavaScript to create rich Internet websites and applications. This book explains each technology separately, shows you how to combine them, and introduces valuable concepts in modern web programming, including objects, XHTML, and session management. Learning PHP, MySQL, & JavaScript will help you: Understand the essentials of PHP and the basics of object-oriented programming Master MySQL, from database structure to complex queries Create interactive web pages with PHP and MySQL by integrating forms and other HTML features Learn JavaScript from functions and event handling to accessing the Document Object Model Use libraries and packages such as the Smarty web template system, The PEAR program repository, and the Yahoo! User Interface Library (YUI) Make Ajax calls and turn your website into a highly dynamic environment Upload and manipulate files and images, validate user input, and secure your applications against being hacked Programming tips and exercises in each chapter will help you practice what you've learned. If you have a graphics or web design background and know your way around HTML, this book will have you building interactive websites quickly.

Inhaltsangabe

Inhaltsverzeichnis Chapter 1 Introduction to Dynamic Web Content HTTP and HTML: Berners-Lee s Basics The Benefits of PHP, MySQL, and JavaScript The Apache Web Server About Open Source Bringing It All Together Test Your Knowledge: Questions Chapter 2 Setting Up a Development Server What Is a WAMP, MAMP, or LAMP? Installing a WAMP on Windows Installing a MAMP on Mac OS X Installing a LAMP on Linux Working Remotely Using a Program Editor Using an IDE Test Your Knowledge: Questions Chapter 3 Introduction to PHP Incorporating PHP Within HTML This Book s Examples The Structure of PHP Test Your Knowledge: Questions Chapter 4 Expressions and Control Flow in PHP Expressions Operators Conditionals Looping Implicit and Explicit Casting PHP Dynamic Linking Test Your Knowledge: Questions Chapter 5 PHP Functions and Objects PHP Functions Including and Requiring Files PHP Version Compatibility PHP Objects Test Your Knowledge: Questions Chapter 6 PHP Arrays Basic Access The foreach...as Loop Multidimensional Arrays Using Array Functions Test Your Knowledge: Questions Chapter 7 Practical PHP Using printf Date and Time Functions File Handling System Calls XHTML Test Your Knowledge: Questions Chapter 8 Introduction to MySQL MySQL Basics Summary of Database Terms Accessing MySQL via the Command Line Indexes MySQL Functions Accessing MySQL via phpMyAdmin Test Your Knowledge: Questions Chapter 9 Mastering MySQL Database Design Normalization Relationships Transactions Using EXPLAIN Backing Up and Restoring Test Your Knowledge: Questions Chapter 10 Accessing MySQL Using PHP Querying a MySQL Database with PHP A Practical Example Practical MySQL Test Your Knowledge: Questions Chapter 11 Form Handling Building Forms Retrieving Submitted Data An Example Program Test Your Knowledge: Questions Chapter 12 Templating with Smarty Why Smarty? Installation Creating Scripts Creating Templates A Practical Example Test Your Knowledge: Questions Chapter 13 Cookies, Sessions, and Authentication Using Cookies in PHP HTTP Authentication Using Sessions Test Your Knowledge: Questions Chapter 14 Exploring JavaScript JavaScript and HTML Text Using Comments Semicolons Variables Operators Variable Typing Functions Global Variables The Document Object Model Test Your Knowledge: Questions Chapter 15 Expressions and Control Flow in JavaScript Expressions Operators The with Statement Using onError Using try...catch Conditionals Looping Explicit Casting Test Your Knowledge: Questions Chapter 16 JavaScript Functions, Objects, and Arrays JavaScript Functions JavaScript Objects JavaScript Arrays Test Your Knowledge: Questions Chapter 17 JavaScript and PHP Validation and Error Handling Validating User Input with JavaScript Regular Expressions Redisplaying a Form After PHP Validation Test Your Knowledge: Questions Chapter 18 Using Ajax What Is Ajax? Using XMLHttpRequest Test Your Knowledge: Questions Chapter 19 Using YUI for Ajax and More Choosing a Framework Using YUI Other Uses for YUI Test Your Knowledge: Questions Chapter 20 Bringing It All Together Designing a Social Networking Site On the Website rnfunctions. php rnheader. php rnsetup. php index. php rnsignup. php rnsignup. php (YUI version) rncheckuser. php rnlogin. php rnprofile. php rnmembers. php rnfriends. php rnmessages. php rnlogout. php Appendix Solutions to the Chapter Questions Answers Answers Answers Answers Answers Answers Answers Answers Answers Answers Answers Answers Answers Answers Answers Answers Answers Answers Answers Appendix Online Resources PHP Resource Sites MySQL Resource Sites JavaScript Resource Sites Ajax Resource Sites Miscellaneous Resource Sites O Reilly Resource Sites Appendix MySQL s FULLTEXT Stopwords Appendix MySQL Functions String Functions Date Functions Time Functions Appendix Using PEAR and PHPUnit Installation Creating a Connect

Klappentext

If you know HTML, this guide will have you building interactive websites quickly. You'll learn how to create responsive, data-driven websites with PHP, MySQL, and JavaScript, regardless of whether you already know how to program. Discover how the powerful combination of PHP and MySQL provides an easy way to build modern websites complete with dynamic data and user interaction. You'll also learn how to add JavaScript to create rich Internet applications and websites. Learning PHP, MySQL, and JavaScript explains each technology separately, shows you how to combine them, and introduces valuable web programming concepts, including objects, XHTML, cookies, and session management. You'll practice what you've learned with review questions in each chapter, and find a sample social networking platform built with the elements introduced in this book. This book will help you: * Understand PHP essentials and the basics of object-oriented programming * Master MySQL, from database structure to complex queries * Create web pages with PHP and MySQL by integrating forms and other HTML features * Learn about JavaScript, from functions and event handling to accessing the Document Object Model * Use libraries and packages, including the Smarty web template system, PEAR program repository, and the Yahoo! User Interface Library * Make Ajax calls and turn your website into a highly dynamic environment * Upload and manipulate files and images, validate user input, and secure your applications

Biografie

Robin Nixon has worked with and written about computers since the early 1980s (his first computer was a Tandy TRS 80 Model 1 with a massive 4KB of RAM!). During this time he has written in excess of 500 articles for many of the UK's top computer magazines. Learning PHP, MySQL & JavaScript is his third book.§§Robin started his computing career in the Cheshire homes for disabled people, where he was responsible for setting up computer rooms in a number of residential homes, and for evaluating and tailoring hardware and software so that disabled people could use the new technology--sometimes by means of only a single switch operated by mouth or finger.§§After writing articles for computer magazines about his work with disabled people, he eventually worked full time for one of the country's main IT magazine publishers, where he held several roles including editorial, promotions, and cover disc editing.§§With the dawn of the Internet in the 1990s, Robin branched out into developing websites. One of these presented the world's first radio station licensed by the music copyright holders, and was featured in several news reports on TV and radio networks in the United Kingdom. In order to enable people to continue to surf while listening, Robin also developed the first known pop-up windows.§§Robin lives on the southeast coast of England with his wife Julie, a trained nurse, and five children, where he also finds time to foster three disabled children, as well as working full time from home as a technical author.

EUR 33,78

-15%

EUR 28,46*

versandfertig innerhalb 24 Stunden

portofrei innerhalb Deutschlands