Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition

所需积分/C币:11 2017-11-22 19:38:21 14.53MB PDF
10
收藏 收藏
举报

Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition
FOURTH EDITION Learning PHP, MySQL JavaScript With jQuery, CSS e HTML5 Robin nixon Beng. Cambridge. Farnham·Kn· Sebastopol, Tokyo OREILLY° Learning PHP, MySQL& JavaScript With jQuery, CSS& HTML5 by robin Nixon Copyright O 2015 Robin Nixon. All rights reserved Printed in the united states of america Published by O reilly Media, InC, 1005 Gravenstein Highway North, Sebastopol, CA95472 O Reilly books may be purchased for educational, business, or sales promotional use. Online editions are alsoavailableformosttitles(http://safaribooksonline.com).Formoreinformationscontactourcorporate institutionalsalesdepartment800-998-9938orcorporate@oreilly.com Editor: Andy oram Indexer: Ellen troutman Production Editor: Nicole Shelby Interior Designer: David Futato Copyeditor: Rachel Monaghan Cover Designer: Randy comer Proofreader Sharon wilkey Illustrator: Rebecca demarest December 2014: Fourth edition Revision History for the Fourth Edition 2014-11-21: First Release Seehttp://oreilly.com/catalog/errata.csp?isbn=9781491918661forreleasedetails The O reilly logo is a registered trademark of O Reilly Media, InC. Learning PHP MySQL e JavaScript, the cover image, and related trade dress are trademarks of o reilly Media, Inc While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights 978-1-491-91866 For Julie Table of contents Prefab 1. Introduction to dynamic Web Content Http and html Berners-lees basics The Request/Response Procedure The Benefits of PHP, MySQL, JavaScript, CSS, and HTML5 Using PHP Using mysQl Using JavaScript 2256789 Using CSS And then theres html5 10 The apache Web server 11 About Open Source Bringing It All Together 12 Questions 14 2. Setting up a development server ,15 What is a WAMP mamp or lamp? 16 Installing XAMPP on Windows 16 Testing the installation 24 Installing XAMPP on Mac osX 27 Accessing the Document Root 27 Installing a lamp on linux 28 Working remotely 28 Logging In 22 8 Using FTP 9 Using a Program Editor Using an IDE 31 Questions 33 3. Introduction to php ,35 Incorporating php Within HTML 35 This Books examples The Structure of php 38 Using Comments 38 Basic syntax 39 Variables Operators 45 Variable assignment Multiple-Line Commands 50 Variable Typing 52 Constants 53 Predefined Constants 54 The Difference Between the echo and print commands Functions 55 Variable Scope 56 Questions 62 4. Expressions and Control Flow in PHP. 63 Expressions 63 TRUE or False? Literals and variables 65 Operators Operator Precedence 67 associativity 69 Relational Operators 70 Conditionals 74 The if Statement The else statement 76 The elseif Statement 78 The switch Statement The Operator 82 Looping 83 while loops 84 do. while loops 86 for Loops 86 Breaking Out of a loop 88 The continue Statement 89 Implicit and Explicit Casting 90 PHP Dynamic Linking 91 Table of contents Dynamic Linking in action 92 Qu uestions 3 5. PHP Functions and objects PHP Functions 96 Defining a function 98 Returning a value Returning an array 100 Do Not Pass arguments by reference 100 Returning Global Variables 102 Recap of Variable Scope 103 Including and Requiring files 103 The include Statement 104 Using include once 104 USing require and require_once 105 PHP Version Compatibility 105 PHP Objects 106 Terminology 106 Declaring a class 107 Creating an object 108 Accessing Objects 109 Cloning objects 110 Constructors 111 PHP 5 Destructors Writing methods 112 Static Methods in php 5 113 Declaring properties 114 Declaring Constants 115 Property and Method Scope in PHP 5 Static Properties and methods 116 Inheritance Questions 121 6. PHP Arrays. 123 Basic access 123 Numerically Indexed Arrays 123 Associative arrays 125 Assignment Using the array Keyword 126 The foreach.as Loop 127 Multidimensional array 129 Using array functions 132 Is_array 132 Table of contents|ⅶi count 132 sort 133 huffle 133 explode 133 extract 134 compact 135 reset 136 136 Questions 137 7. Practical PhP ,,139 Using printf 139 Precision Setting 140 String Padding 142 Using sprintf 143 Date and Time functions 143 Date Constants 146 Using checkdate 146 File handling 147 Checking whether a File exists 147 Creating a file 147 Reading from Files 149 Copying files 150 Moving a Fi 150 Deleting a File 151 Updating Files 151 Locking Files for Multiple Accesses 152 Reading an Entire File 154 Uploading Files 155 System calls 160 XHTML or hTml5? 162 Questions 162 8. Introduction to MySQL. ,,,,165 MySOL Basics 165 Summary of database Terms 166 Accessing MySQL via the Command line 166 Starting the Command-Line Interface 167 USing the Command-Line Interface 171 MySQL Commands 172 Data Types Indexes 186 I Table of Contents

...展开详情
试读 127P Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition
立即下载 低至0.43元/次 身份认证VIP会员低至7折
一个资源只可评论一次,评论内容不能少于5个字
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
关注 私信
上传资源赚钱or赚积分
最新推荐
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition 11积分/C币 立即下载
1/127
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第1页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第2页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第3页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第4页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第5页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第6页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第7页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第8页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第9页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第10页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第11页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第12页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第13页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第14页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第15页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第16页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第17页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第18页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第19页
Learning PHP, MySQL & JavaScript With jQuery, CSS & HTML5, 4th Edition第20页

试读结束, 可继续阅读

11积分/C币 立即下载 >