Pro PHP and JQuery


-
This book is for intermediate programmers interested in building AJAX web applications using jQuery and PHP. Along with teaching some advanced PHP techniques, it will teach you how to take your dynamic applications to the next level by adding a JavaScript layer with jQuery., * Learn to utilize built
Pro PHP and jQuery JASON LENGSTORF Apress° Pro PHP and jQuery Copyright@ 2010 by Jason Lengstorf 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-2847-9 ISBN-13( electronic:978-1-4302-2848-6 Printed and bound in the united states of america 987654321 Trademarked names, logos, and images may appearin this book. Rather than use a trademark symbol in an editorial fashion and to the benefit of the trademark owner, with no intention of infringemello y with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only the trademark The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. President and Publisher: Paul Manning Lead editor: Michelle lowman Technical reviewer: robert banh Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Jonathan gennick, Jonathan Hassell, Michelle Lowman, Matthew moodie, duncan Parkes Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade. Tom Welsh Coordinating Editor: Anita Castro Copy Editor: Patrick Meader and Heather Lang Compositor: Kimberly Burton Indexer: BIM Indexing Proofreading Services Artist: April milne Cover Designer: Anna Ishchenko Distributed to the book trade worldwide by Springer Science+Business Media, LLC, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax(201)348-4505, e-mail orders-ny@springer-sbm.com,orvisitwww.springeronline.com Forinformationontranslationspleasee-mailrights@apress.com,orvisitwww.apress.com Apress and friends of ed books may be purchased in bulk for academic, corporate, or promotional use. e Book versions and licenses are also available for most titles For more information reference our SpecialBulkSales-ebooklicensingwebpageatwww.apress.com/info/bulksales The information in this book is distributed on an"as is"basis, without warranty. Although every precaution 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 indirectly by the information contained in this work Thesourcecodeforthisbookisavailabletoreadersatwww.apress.com.youwillneedtoanswer questions pertaining to this book in order to successfully download the code Contents at a Glance About the Author About the technical reviewer Acknowledgements aaAaaa aAaaaa RRRRaaRaaaa IERaaIIman Xi PART 1: Getting Comfortable with jquery mmat Chapter 1: Introducing jQuery ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ Chapter 2: Common jQuery Actions and Methods ammann 25 PART 2: Getting Into Advanced PhP Programming ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■口■■■■■■■■■■■■■■■■■ 85 Chapter 3: Object-Oriented Programming 87 Chapter 4: Build an Events calendar ma 119 Chapter 5: Add controls to create, edit, and delete Events mmammmmma 167 Chapter 6: Password Protecting Sensitive Actions and Areas mmammmaammmmnaan 199 PART 3: Combining jQuery with PHP Applications ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 233 Chapter 7: Enhancing the User Interface with jQuery mm mmmm. 235 Chapter 8: Editing the Calendar with AJAX and jQuery m mamma 263 PART 4: Advancing jQuery and PhPammman ■■■■■■■■■■■■■■■■■■■■■■■■■■口■■■■■■■■■■■■■■■■■■■■■■■■■■ 309 Chapter 9: Performing Form Validation with Regular Expressions ammmmmmmmmmmamm 311 Chapter 10: Extending jquery mmaa ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■口■■■ 345 Index ■■■■■■■■ Contents About the author About the Acknowledgements ma m B RBB RaanD PART 1: Getting Comfortable with jQuery ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■口■■口■■■a■■■■画■国■国a■■■■ Chapter 1: Introducing jQuery ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ Choosing jQuery over JavaScript…… Understanding JavaScript Libraries.......... 3-3-3- Understanding the Benefits of jQuery....................................4 Understanding the History of jQuery.……,………,,,,,…,,…,……,,…,,…,…,…,,…,………,…,………,4 Setting up a testing environment stalling Firefox.....,,……………………………5 Installing Firebug Including jQuery in Web Pages Including a Downloaded Copy of the jQuery Library 7 Including a Remotely Hosted copy of the jQuery Library ................8 Using the Google AJAX Libraries APl Setting up a Test File 8 Introducing the jQuery Function(s)... Selecting DOM Elements Using CSS Syntax.... Summary…,…, 23 Chapter 2: Common jQuery Actions and Methods manat ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 5 Understanding the Basic Behavior of jQuery Scripts 25 ■ coNTEntS Understanding jQuery Methods Traversing dOM elements 533 Creating and inserting dom elements 日面面日,面日面面a日面面面面日B自面面面面B面B面面B自B自面面面面自B面面自面面自面日面B自面B面日面B重 Accessing and Modifying cSS and attributes....….……….53 Affecting Result Sets 62 Using Animation and other Effects.......,..,.,,,…,,…….65 Handling Events 重日自日自重 Using AJAX Controls Summary 84 PART 2: Getting Into Advanced PhP Programming Emmm mB RRIAREIIEIIIIIII 85 Chapter 3: Object-Oriented Programming ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 87 Understanding object-Oriented Programming Understanding objects and Classes....m.m.......tnn...tnn...tn.n.87 Recognizing the differences between objects and classes 88 Structuring Classes. ..........................................88 Defining class properties Defining class Methods sing Class Inheritance........,,………………99 Assigning the visibility of properties and methoc 103 Commenting with DocBlocks 110 Comparing object-Oriented and Procedural code 112 Ease of Implementation ....................................................................................................112 Better organization …117 Easier maintenance 117 Summary 117 Chapter 4: Build an Events calendar assam 119 Planning the calendar. 19 Defining the Database Structure......……….,119 CONTENTS Creating the Class Map 119 Planning the application's Folder Structure ..............................................................120 Modifying the Development Environment.……… 122 Building the Calendar..,……124 Creating the database. Connecting to the database with a class 125 Creating the Class Wrapper…….,.,.,.,.,.,.,.,.,,… 127 Adding class properties 127 Building the Constructor........... Loading Events Data 136 Outputting HTML to Display the Calendar and Events 143 Outputing hTML to Display Full Event Descriptions...........................160 Summary ..................................................................................................................166 Chapter 5: Add controls to create, Edit, and Delete Events mmmmmmmmmmmmn 167 Generating a Form to create or edit events 167 Adding a Token to the Form . .169 Creating a file to display the Form............ Adding a New stylesheet for Administrative Features 172 Saving new events in the database 176 Adding a processing File to call the Processing Method …179 Adding a button to the main view to create New events 181 Adding edit controls to the Full Event View …185 Modifying the Full Event Display Method to Show Admin Contro|s………… 187 Adding the admin Stylesheet to the Full Event View Page........................188 Deleting Events.aaaaaa 190 Generating a Delete Button ........ 191 Creating a Method to require confirmation 192 Creating a File to Display the confirmation Form …95 ■ coNTEntS Summary 198 Chapter 6: Password Protecting Sensitive Actions and Areas mmmmmmmmmaa 199 Building the Admin table in the Database.m... m.. 199 Building a File to display a login Form. Creating the Admin class 202 Defining the class...... 202 Building a Method to Check the Login Credentials. Modifying the App to Handle the Login Form Submission 213 Allowing the User to Log Out 218 Adding a log out Button to the calendar…....…….218 Creating a Method to Process the logout….… 220 Modifying the App to Handle the User Logout.. 221 Displaying Admin Tools only to Administrators 223 Showing Admin Options to Administrators .......................... 223 Limiting Access to Administrative Pages .. 228 Summary… 231 PART 3: Combining jquery with PHP Applications mammmmammaamamm 233 Chapter 7: Enhancing the User Interface with jQuery ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■国■■ 235 Adding Progressive Enhancements with jQuery 235 Setting Progressive Enhancement Goals ……236 Include jQuery in the calendar app……… 236 Create a JavaScript Initialization File………,… 237 Creating a New Stylesheet for Elements created by jQuery.…………238 Creating a Modal window for event data 240 Binding a Function to the click Event of Title Links 240 Preventing the Default Action and Adding an Active class. Extracting the Query String with Regular Expressions............. 241

11.94MB
pro_php_and_jquery
2011-05-11This book is for intermediate programmers interested in building Ajax web applications using jQuery and PHP. Along with teaching some advanced PHP techniques, it will teach you how to take your dynamic applications to the next level by adding a JavaScript layer with jQuery. * Learn to utilize built-in PHP functions to build calendar tools and photo galleries. * Learn how jQuery can be used for Ajax, animation, client-side validation, and more. * Learn jQuery UI and how to create drag-and-drop features easily.
8.97MB
Pro PHP and jQuery(Apress,2ed,2016)
2016-02-11Take advantage of the improved performance and reduced memory requirements of PHP version 7, and learn to utilize the new built-in PHP functions and features such as typed variable enforcement with declare(strict_types=1) and the new available data types, scalar type declarations for function arguments and return statements, constant arrays using define(), argument unpacking with the ... operator, integer division with intdiv(), the null coalesce operator, the spaceship operator, new exception types, and improvements to existing features. Pro PHP and jQuery, Second Edition is for intermediate level programmers interested in building web applications using jQuery and PHP. Updated for PHP version 7 and the latest version of jQuery, this book teaches some advanced PHP techniques and it shows you how to take your dynamic applications to the next level by adding a JavaScript layer using the jQuery framework and APIs. After reading and using this book, you'll come away having built a fully functional PHP and jQuery web application that you can reapply as a template for your own particular web application.
8.59MB
Pro PHP and jQuery Second Edition
2019-03-11Pro PHP and jQuery Second Edition
2.31MB
pro php and jquery
2015-03-17电子图书,介绍使用php和jquery开发网站的技术
11.10MB
Pro PHP and jQuery
2010-07-12* Author: Jason Lengstorf * Paperback: 400 pages * Publisher: Apress; 1 edition (June, 2010) * Language: English * ISBN-10: 1430228474 * ISBN-13: 978-1430228479 This book is for intermediate programmers interested in building Ajax web applications using jQuery and PHP. Along with teaching some advanced PHP techniques, it will teach you how to take your dynamic applications to the next level by adding a JavaScript layer with jQuery. * Learn to utilize built-in PHP functions to build calendar tools and photo galleries. * Learn how jQuery can be used for Ajax, animation, client-side validation, and more. * Learn jQuery UI and how to create drag-and-drop features easily.
11.93MB
2010 Pro PHP and jQuery
2010-08-18出版日期:Jun 2010 出版社:Apress 页数:400 ISBN:978-1-4302-2847-9 文件格式:PDF 文件大小:11.93 MB Use PHP to build a calendar application that allows users to post, view, edit, and delete events. Use jQuery to allow the calendar app to be viewed and edited without requiring page refreshes using built-in AJAX functions. Learn the power and versatility of PHP’s object-oriented programming style. Learn the various forms of security available and how to best apply them. Learn jQuery plug-in development patterns and create modular, reusable jQuery plug-ins. Learn the basics of jQuery effects, including fading elements, generating HTML markup on the fly, and creating modal windows.
151KB
《Pro PHP and jQuery》源码
2012-03-27This book is for intermediate programmers interested in building Ajax web applications using jQuery and PHP. Along with teaching some advanced PHP techniques, it will teach you how to take your dynamic applications to the next level by adding a JavaScript layer with jQuery.
7.87MB
Pro PHP and jQuery (英文)
2010-07-24This book is for intermediate programmers interested in building Ajax web applications using jQuery and PHP. BY Jason Lengstorf Published Jun 2010
7.89MB
英文原版-Pro PHP and jQuery 1st Edition
2019-09-23This book is for intermediate programmers interested in building Ajax web applications using jQuery and PHP. Along with teaching some advanced PHP techniques, it will show you how to take your dynamic applications to the next level by adding a JavaScript layer with jQuery.,解压密码 share.weimo.info
8.11MB
ProPHPAndJquery.pdf 英文原版
2019-08-19Pro PHP And Jquery
3.34MB
深入PHP与jQuery开发.doc
2012-06-26中文翻译Pro PHP and JQuery,目前最全的翻译,2012·6·26
7.84MB
[jQuery] PHP & jQuery 高级程序设计 (英文版)
2013-08-16☆ 资源说明:☆ [Apress] PHP & jQuery 高级程序设计 (英文版) [Apress] Pro PHP and jQuery (E-Book) ☆ 出版信息:☆ [作者信息] Jason Lengstorf [出版机构] Apress [出版日期] 2010年06月22日 [图书页数] 400页 [图书语言] 英语 [图书格式] PDF 格式
22.49MB
jQuery学习相关电子书(3)
2010-10-11①jQuery.Reference.Guide.pdf ②jQuery.Visual.Cheat.Sheet.1.4.2.pdf ③jQuery1.2API.chm ④jQuery1.4.1中文查询手册.chm ⑤jQuery培训讲义.ppt ⑥LearningJQuery13.pdf ⑦mootools1.11中文手册.chm ⑧Pro.PHP.and.jQuery.pdf ⑨Prototype1.6.0中文手册.chm ⑩从零开始学习jQuery.pdf
757.2MB
Kindle Computer Science other.rar
2020-07-23计算机科学类图书打包,mobi格式。 Apress Beginning 3D Game Development with Unity.mobi Apress Beginning BlackBerry 7 Development.mobi NoStarch IDA Pro Book 2nd.mobi OReilly PDF Explained.mobi OReilly Programming Scala.mobi Social Engineering.mobi Wrox Beginning Lua Programming.mobi Android\Android Programming Tutorials.mobi Android\Apress Android Recipes.mobi Android\Apress Pro Android Python with SL4A.mobi Android\OReilly Application Security for the Android Platform.mobi Android\Oreilly Learning Android.mobi Android\The Busy Coders Guide to Advanced Android Development.mobi Android\The Busy Coders Guide to Android Development.mobi Android\Wiley App Inventor for Android.mobi Apple\101024Apple Pro Training Aperture 3.mobi Apple\101102Apple Pro Training Series AppleScript 1-2-3.mobi Apple\Apple Pro Training Aperture 3 - Organize Perfect and Showcase Your Photos.mobi Apple\Apple Pro Training Series AppleScript 1-2-3.mobi Database\Apress Access 2010 Development.mobi Database\Apress Expert Oracle Exadata.mobi Database\Apress Expert Oracle GoldenGate.mobi Database\Apress Expert PL SQL Practices for Oracle Developers and DBAs.mobi Database\Apress Oracle PLSQL Recipes - A Problem-Solution Approach.mobi Database\Apress Pro Oracle Database 11g Administration.mobi Database\Apress Troubleshooting Oracle Performance.mobi Database\Oracle Internals - Tips Tricks and Techniques for DBAs.mobi Database\OReilly High Performance MySQL.mobi Database\OReilly SQL and Relational Theory 2nd.mobi Database\OReilly SQL Cookbook.mobi Database\OReilly SQL Pocket Guide 3rd.mobi Database\Pragmatic SQL Antipatterns Avoiding the Pitfalls of Database Programming.mobi Flash\FriendsofED AdvancED ActionScript 3.0 Design Patterns.mobi Flash\OReilly Automating ActionScript Projects with Eclipse and Ant.mobi Flash\OReilly Quick Guide to Flash Catalyst.mobi iOS_Mac\Addison Learning Cocos2D.mobi iOS_Mac\Addison Programming in Objective-C 3rd.mobi iOS_Mac\Apple Pro Training Aperture 3 - Organize Perfect and Showcase Your Photos.mobi iOS_Mac\Apple Pro Training Series AppleScript 1-2-3.mobi iOS_Mac\Apress Beginning OSX Lion Apps Development.mobi iOS_Mac\Apress Learn cocos2d Game Development with iOS 5.mobi iOS_Mac\Apress Migrating to iPhone and iPad for dotNET Developers.mobi iOS_Mac\Apress Pro iOS Apps Performance Optimization.mobi iOS_Mac\iPhone Programming The Big Nerd Ranch Guide.mobi iOS_Mac\OReilly Basic Sensors in iOS.mobi iOS_Mac\OReilly Developing Enterprise iOS Applications.mobi iOS_Mac\OReilly iOS 4 Programming Cookbook.mobi iOS_Mac\OReilly Mac OS X for Unix Geeks Leopard 4th.mobi iOS_Mac\Pragmatic iOS Recipes.mobi iOS_Mac\Pragmatic Mac Kung Fu.mobi iOS_Mac\Wrox Beginning iOS Game Development.mobi iOS_Mac\Wrox Building Applications for Mac App Store.mobi Lisp\NoStarch Land of Lisp - Learn to Program One Game at a Time.mobi Perl\OReilly Learning Perl 6th.mobi Perl\OReilly Perl Pocket Reference.5th.mobi PHP\OReilly Building on SugarCRM.mobi PHP\OReilly Web Database Applications with PHP and MySQL 2nd.mobi PHP\Packt WordPress 3 Plugin Development Essentials.mobi Python\Addison Python Standard Library by Example, the Developers Library.mobi Python\Addison Python Web Development with Django.mobi Python\Apress The Definitive Guide to Django - Web Development Done Right.mobi Python\OReilly Learning Python 4th.mobi Python\OReilly MongoDB and Python.mobi Python\OReilly Programming Python 3rd.mobi Python\OReilly Python and AWS Cookbook.mobi Python\OReilly Python for Unix and Linux System Administration.mobi Python\OReilly Social Network Analysis for Startups.mobi Python\Packt Django 1.1 Testing and Debugging.mobi R\NoStarch The Art of R Programming.mobi R\OReilly Data Mashups in R.mobi R\OReilly Machine Learning for Email.mobi R\OReilly Parallel R.mobi SAP\McGraw SAP Project System Handbook.mobi SAP\OReilly Microsoft .NET and SAP (Pro-Developer).mobi SAP\Sams Teach Yourself SAP in 24 Hours 4th.mobi StackOverflowE-Books\stack_overflow_ajax.mobi StackOverflowE-Books\stack_overflow_android.mobi StackOverflowE-Books\stack_overflow_asp.net.mobi StackOverflowE-Books\stack_overflow_c.mobi StackOverflowE-Books\stack_overflow_clojure.mobi StackOverflowE-Books\stack_overflow_cocoa.mobi StackOverflowE-Books\stack_overflow_css.mobi StackOverflowE-Books\stack_overflow_database.mobi StackOverflowE-Books\stack_overflow_delphi.mobi StackOverflowE-Books\stack_overflow_django.mobi StackOverflowE-Books\stack_overflow_drupal.mobi StackOverflowE-Books\stack_overflow_erlang.mobi StackOverflowE-Books\stack_overflow_f#.mobi StackOverflowE-Books\stack_overflow_flash.mobi StackOverflowE-Books\stack_overflow_flex.mobi StackOverflowE-Books\stack_overflow_git.mobi StackOverflowE-Books\stack_overflow_haskell.mobi StackOverflowE-Books\stack_overflow_html.mobi StackOverflowE-Books\stack_overflow_html5.mobi StackOverflowE-Books\stack_overflow_iphone.mobi StackOverflowE-Books\stack_overflow_jquery.mobi StackOverflowE-Books\stack_overflow_linq.mobi StackOverflowE-Books\stack_overflow_linux.mobi 。。。
Linux系统编程:入门篇视频教程
2018-10-16Linux系统编程视频课程为《Linux系统编程》入门篇,主要针对零基础的Linux开发学员科普Linux系统编程的概念以及需要掌握的各种技能,掌握Linux命令编写、Linux学习路线并熟悉嵌入式设备编程的方法。为后续的Linux系统编程深入学习打下良好的基础。
程序员的数学:概率统计
2019-09-19编程的基础是计算机科学,而计算机科学的基础是数学。因此,学习数学有助于巩固编程的基础,写出更健壮的程序。本门课程主要讲解程序员必备的数学知识,借以培养程序员的数学思维。学习者无需精通编程,也无需精通数学。从概率统计、线性代数、微积分、优化理论、随机过程到当前大热的机器学习,讲师幽默风趣,课件精致美观,深入浅出带你重学数学!
JAVA入门精品课程
2018-12-20课程目标: 1、让初学者从小白开始,善于运用知识点,解脱学习的苦恼 2、能够学习更多的工作中使用技巧,成为编程高手
JavaEE+大数据+2个实战项目终极套餐震撼来袭
2017-05-19该套视频教程共包含16门课程,分别是Linux入门到精通、大型ERP项目实战教程、solr教程、Lucene教学视频、Java反射与注解开发、Hadoop大数据入门教程、Activiti工作流教程、redis高并发由浅入深、webservice入门教程、hibernate4入门教程、大型分布式redis+solr+Linux+nginx+springmvc+mybatis电商项目、struts2深入浅出、oracle入门到大神、springmvc深入浅出、spring 3.2教程、mybatis入门到精通教程、Java EE教程、Mysql教程。
程序员的数学:线性代数
2019-09-26编程的基础是计算机科学,而计算机科学的基础是数学。因此,学习数学有助于巩固编程的基础,写出更健壮的程序。程序员的数学系列课程主要讲解程序员必备的数学知识,借以培养程序员的数学思维。学习者无需精通编程,也无需精通数学。从概率统计、线性代数、微积分、优化理论、随机过程到当前大热的机器学习,讲师幽默风趣,课件精致美观,深入浅出带你重学数学,时间不可重来,知识可以重学!
-
下载
教育知识与能力知识点.rar
教育知识与能力知识点.rar
-
下载
Boston_housing.zip
Boston_housing.zip
-
下载
xilinx V5用户手册(中文)
xilinx V5用户手册(中文)
-
下载
802.11s 正式标准
802.11s 正式标准
-
下载
BSP129中文资料.pdf
BSP129中文资料.pdf
-
下载
基于物联网和大数据的智慧供热解决方案.pptx
基于物联网和大数据的智慧供热解决方案.pptx
-
下载
20级教育学类3班白嘉雯PPT模板.pptx
20级教育学类3班白嘉雯PPT模板.pptx
-
下载
unity文字转语音插件.rar
unity文字转语音插件.rar
-
下载
智慧工地大数据云服务平台解决方案.pptx
智慧工地大数据云服务平台解决方案.pptx
-
下载
YCF_VirtualBox-6.1.18-142142-Win.zip
YCF_VirtualBox-6.1.18-142142-Win.zip
