jQuery 1.3 with PHP pptx

248 1.9K 0
jQuery 1.3 with PHP pptx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... here On my test server, my directory layout (within the public_html directory) is like this: /php_ and _jquery /php_ and _jquery/ jquery.min.js /php_ and _jquery/ jquery-ui.css /php_ and _jquery/ jquery-ui.min.js /php_ and _jquery/ 1-tests /php_ and _jquery/ 2-contextual_help [ others from various chapters ] /php_ and _jquery/ ckeditor /php_ and _jquery/ images /php_ and _jquery/ jquery-validate [ other plugins ] [ 14 ] This... recommend using PHP 5.2 or up You will also need to download the jQuery library from http://docs .jquery. com/Downloading _jQuery Who this book is for 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... responsive interfaces—all with the minimum of code This is the first book in the market that will ease the server-side PHP coder into the client-side world of the popular jQuery JavaScript library This book will show you how to use jQuery to enhance your PHP applications, with many examples using jQuery' s user interface library jQuery UI, and other examples using popular jQuery plugins It will help... Now, without further ado, let's get on with the fun stuff Summary In this chapter, we discussed what jQuery is, why you would want to use it, and why is it useful to combine it with PHP We also saw a list of projects illustrating some uses for combining PHP and jQuery In the next chapter, we will look at a few examples of how you can use jQuery immediately to give your site a more "live" feel, without... end up with is a very clear piece of code, which can be understood immediately The problems of cross-browser compatibility are also solved by using the jQuery library You can be sure that the new script will work as planned in all major browsers The example links to the jQuery library file, jquery. min.js, which you can download from http://jqueryjs.googlecode.com/files /jquery- 1.3. 2.min.js Why jQuery? ... jQuery it is about how to work with both PHP and jQuery This book will teach you how to use jQuery to create some really cool effects, but without you needing to have in-depth knowledge of how jQuery works This material is copyright and is licensed for the sole use by JEROME RAYMOND on 30th October 2009 125 Louis ST, , So Hackensack, , 07606 Introduction and Overview With this book, we are more interested... Introduction and Overview Projects that use PHP and jQuery Here is a small list of projects that use jQuery along with PHP This illustrates the variety of uses that jQuery is put to WordPress WordPress (http://wordpress.org/) is probably the best-known blogging software on the net Recently, the admin dashboard area was given a thorough going over, and is now extremely flexible with the areas you can move around... this book covers Chapter 1, Introduction and Overview, introduces you to what jQuery is, why you would want to use it, and why is it useful to combine it with PHP Also, it gives a list of projects illustrating uses for combining PHP and jQuery Chapter 2, Quick Tricks, looks at a few quick examples on how to interface PHP and jQuery and a few tricks, which demonstrate how to relieve the most obvious resource... explain There is simply a select box for the country, with both the name and the id as country, and there is a placeholder table cell with the ID cities The real magic happens with the JavaScript How it works The main function in jQuery is called jQuery But most people use the common alias $ as it is already set up with the script and is much shorter In PHP, the $ symbol indicates that the following string... technology these days jQuery simplifies Ajax With pure Ajax, you need to do low-level stuff like create an XMLHTTPRequest object (taking care of cross-browser incompatibilities), set callbacks, check response values, and so on With jQuery, all you need to do is use $.get or one of the other jQuery JSON functions These functions will take care of the lowlevel stuff for you How to work with the examples . code 11 2 Renaming, deleting, and moving les 11 3 Client-side code 11 4 Server-side code 11 5 File downloads 11 6 Client-side code 11 6 Server-side code 11 7 Summary. events 13 2 Client-side code 13 3 Server-side code 13 4 Walk-through of the calendar so far 13 4 Recurring events 13 6 Client-side code 13 6 Server-side code 13 9 Deleting

Ngày đăng: 22/03/2014, 16:20

Từ khóa liên quan

Mục lục

  • Cover

  • Copyright

  • Credits

  • About the Author

  • About the Reviewers

  • Table of Contents

  • Preface

  • Chapter 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

      • Chapter 2: Quick Tricks

        • Dynamic select boxes

          • Client-side code

            • How it works

            • Server-side code

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan