作者:empty 页数:247 出版社:empty |
About the Author
Ka eVer ens lives in Monaghan, Ireland with his wife Bronwyn and their two kidsJareth and Bo ann.He has been programming for twenty years, fifteen of which wereas a professional.Kae started writing in JavaScript in the mid nineties, and started working onthe server-side languages a few years later.After writing CGl inC and Perl,Kae switched to PHP in 2000, and has worked with it since then.Kae is currently the secretary of the Irish PHP Users'Group,http://php.ie/,is part-owner of the Irish web-development company Webworks.ie,http://webworks.ie/, and is the author of popular web-based file-manager KFM,http://kfm.verens.com/.In his spare time, Kae plays the guitar, juggles, is learning to play the piano, and likesto occasionally dust the skateboard off and mess around on it.I would like to thank Pack t Publishing for considering me for thisproject; it's been a journey, and Ive learned quite alot from it Iwould also like to thank Webworks.ie for hiring me wayback in2001, when I was abrash programmer, eager to show how thingsshould be done.And finally, Id like to thank Bronwyn and the kidsfor putting up with the days and hours that I've had to avoid them toconcentrate on the book!
About the Reviewers
Akash Mehta is a web application developer and technical author based inAustralia.His area of workcover se-learning solutions, information systems, anddeveloper training He regularly writes web development articles for Adobe, CNet,the APC Magazine, and other print and online publications.He is a regular speakerat IT conferences, usergroups, and Bar Camps.Currently, Akash provides variousservices like web development, technical writing, consulting, and training throughhis website,http://bitmeta.org/.Hailing from an igloo somewhere up in Canada, Ashok Modi is currently a systemsanalyst for California Institute of the Arts(http://calarts.edu/) .He was a systems(and games) programmer for zinc Roe Design(http://www.zincroe.com/) , andhas been working with Drupal for the last three years.Starting from Drupal 4.6, heis the author of the abuse module(and looking for co-maintainers!) , and has helpedmany maintainers in updating their contributed modules from 4.7.x to 5.x to 6.x.Healso helped organize Drupal Camp Toronto in2007 and 2008 and recently presentedmultiple sessions at Drupal Cam pLAin 2009.In his spare time, Ashok tries to helpcontributed module maintainers with features and bugs.He was a technical revieweron another book, Drupal 6SocialNehweorking, also published by Puck t Publish ring.John K.Murphy is a graduate of the University of West Virginia and has beenwrapped up in computers and software development since the 1980s.When he is notburied in a book or jumping out of an airplane, he works as an IT consultant.John lives with his wife and two children in Pittsburgh, PA and is currentlyobsessing about the In tem net of ThingsI would like to thank my wife, Rich a, for letting me obsess overtechnology and pushing me to freelance and try other open-sourcetechnologies in my spare time.
Although we have taken every care to ensure the accuracy of our content, mistakes dohappen.If you find a mistake in one of our books-maybe a mistake in the text or thecode-we would be grateful if you would report this to us.By doing so, you can saveother readers from frustration, and help us to improve subsequent versions of thisbook.If you find any errata,pleasereportthembyvisitinghttp://www.packtpub.ccm/a upport, selecting your book, clicking on the let us know link, and entering thedetails of your errata.Once your errata are verified, your submission wll be acceptedand the errata added to any list of existing errata.Any existing errata can be viewedbyselectingyourtitlefromhttp://www.packtpub.com/support.PiracyPiracy of copyright material on the Internet is an ongoing problem across all mediaAt Pack t, we take the protection of our copyright and licenses very seriously.If youcome across any illegal copies of our works, in any form, on the Internet, pleaseprovide us with the location address or website name immediately so that we canpursue a remedyPleasecontactusatcopyrightpacktpub.comwith a link to the suspectedpirated material.We appreciate your help in protecting our authors, and our ability to bring youvaluable content.
Chapter1:IntroductionandOverview
Expected developer skills
Differences between PHP and JavaScript
What is j Query?
Why j Query?
How does j Query fit in with PHP?
Howto work with the examples
Projects that use PHP and j Query
chapter2:QuickTricks
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
In ble of Contents
Chapter3:TabsandAccordions
Using aj Query tab plugin
Client-side code
Server-side considerations
Using j Query accordion plugins
Client-side code
Server-side management of accordions
Client-side code
Server-side code
Download a tWo weB oak.Com
Download a tWo weB oak.Com
Just the conversion
Just the conversion
Now show the data with the accordions
Server-side management of tabs
Server-side code
Now show the data wth 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
Chapter4:FormsandFormValidation
Using the j Query validation plugin
Client-side code
Setting up j Query 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
Chapter5:FileManagement
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
Chapter6: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
Ible of Contents
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
Chapter7:ImageManipulation
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
Serverside
............