万本电子书0元读

万本电子书0元读

顶部广告

jQuery 1.3 with PHP电子书

售       价:¥

22人正在读 | 0人评论 9.8

作       者:Kae Verens

出  版  社:Packt Publishing

出版时间:2009-10-26

字       数:87.8万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book takes a practical approach to integrating PHP and jQuery, showing examples of every point discussed. All examples are written such that you should be able to copy out the code into your own projects and see immediate results, no matter what your experience with JavaScript. You will find projects developed within a chapter, building them up step-by-step, describing the process and thought that goes into it. Minimal requirements are needed on the server-side, so the examples should work with any setup. This book is for PHP application developers who want to improve their user interfaces through jQuery's capabilities and responsiveness. Whether you are familiar with jQuery or have only dabbled a little with JavaScript, this book will provide you with numerous practical examples of how to improve your application.
目录展开

jQuery 1.3 with PHP

Table of Contents

jQuery 1.3 with PHP

Credits

About the Author

About the Reviewers

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Errata

Piracy

Questions

1. Introduction and Overview

Expected developer skills

Differences between PHP and JavaScript

What is jQuery?

Why jQuery?

How does jQuery fit in with PHP?

How to work with the examples

Projects that use PHP and jQuery

WordPress

RoundCube

KFM

Drupal

Summary

2. Quick Tricks

Dynamic select boxes

Client-side code

How it works

Server-side code

Quick deletes

Client-side code

Server-side code

Contextual help

Inline editing

Client-side code

Server-side code

Summary

3. Tabs and Accordions

Using a jQuery tab plugin

Client-side code

Server-side considerations

Using jQuery accordion plugins

Client-side code

Server-side management of accordions

Client-side code

Server-side code

Just the conversion

Now show the data with the accordions

Server-side management of tabs

Server-side code

Just the conversion

Now show the data with the tabs

Using special codes to define tabs

Client-side code

Server-side code

Loading accordion panels through Ajax

Client-side code

Server-side code

Loading tab panels through Ajax

Client-side code

Summary

4. Forms and Form Validation

Using the jQuery validation plugin

Client-side code

Setting up jQuery validation from PHP

Server-side code (setup)

Client-side code

Server-side code

Remote validation

Server-side code (setup)

Client-side code

Server-side code

Large select boxes

Client-side code

Server-side code

Auto-suggestion

Client-side code

Server-side code

Client-side code

Summary

5. File Management

Security

Choosing a directory

Client-side code

Server-side code

Creating, renaming, and deleting directories

Client-side code

Server-side code

Moving directories

Client-side code

Server-side code

File uploads

Client-side code

Server-side code

Renaming, deleting, and moving files

Client-side code

Server-side code

File downloads

Client-side code

Server-side code

Summary

6. Calendars

Displaying the calendar

Creating an event

Client-side code

Server-side code

Loading events from the server

Client-side code

Server-side code

Moving and resizing events

Client-side code

Server-side code

Editing events

Client-side code

Server-side code

Deleting events

Client-side code

Server-side code

Walk-through of the calendar so far

Recurring events

Client-side code

Server-side code

Deleting recurring events

Client-side code

Server-side code

Summary

7. Image Manipulation

Showing the list of images

Server-side code

Client-side code

Selecting an image

Client-side code

Server-side code

Preparing your PHP

Rotating

Client-side code

Server-side code

Caching or saving the image

Client-side code

Server-side code

Resizing

Client-side code

Server-side code

Cropping

Client-side code

Server side

Summary

8. Drag and Drop

Sorting simple lists

Client-side code

Server-side code

Client-side code

Sorting trees

Client-side code

Server-side code

Connecting lists

Client-side code

Server-side code

Summary

9. Data Tables

Setting up DataTables

Client-side code

Getting data from the server

Client-side code

Server-side code

Caching your database queries

Server-side code

Pagination through Ajax

Client-side code

Server-side code

Sorting by column

Filtering

Server-side code

Setting a delay on the filter

Summary

10. Optimization

Optimizing the page load

Place scripts at the bottom

Aggregate and cache your scripts

Output HTML similar to the post-jQuery code

Optimizing development and maintenance

Writing your own plugins

Un-caching your JavaScript

Optimizing jQuery

Use Google's CDN

Caching jQuery objects

Use $.load for non-visual code

JavaScript optimizations

Chaining

Speeding up selectors

Inject multiple elements at once

Using setTimeout

Use var for your variables

Summary

Index

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部