Publication Date: June 22, 2010 | Series: Expert's Voice in Open Source
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 show 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.
Learn how jQuery can be used for Ajax, animation, client-side validation, and more.
What youll learn
How to use PHP to build a calendar application that allows users to post, view, edit, and delete events
How to use jQuery to allow the calendar app to be viewed and edited without requiring page refreshes using built-in Ajax functions
The power and versatility of PHP's object-oriented programming style
The various forms of security available and how to best apply them
jQuery plug-in development patterns to create modular, reusable jQuery plug-ins.
The basics of jQuery effects, including fading elements, generating HTML markup on the fly, and creating modal windows
Who this book is for
This book is intended for programmers who want to bridge the gap between front- and back-end programming. It does not cover HTML or CSS except where absolutely necessary, and it focuses on taking intermediate PHP developers to the next level while getting comfortable with Ajax and the power of jQuery.
Table of Contents
Introducing jQuery
Common jQuery Actions and Methods
Object-Oriented Programming
Build an Events Calendar
Add Controls to Create, Edit, and Delete Events
Password Protecting Sensitive Actions and Areas
Enhancing the User Interface with jQuery
Editing the Calendar with Ajax and jQuery
Performing Form Validation with Regular Expressions
{"itemData":[{"priceBreaksMAP":null,"buyingPrice":29.92,"ASIN":"1430228474","isPreorder":0},{"priceBreaksMAP":null,"buyingPrice":27.48,"ASIN":"143022925X","isPreorder":0}],"shippingId":"1430228474::9m1WFQU3If%2F9cnvLoTjhv5oZuUKvZMWN4QrOwuLHSvCleNWKjTBmo29GekmqhLWUXzo3hP6977B3ij56slinWxTT7eam%2BEvqbKQhwuu7X9lysc1oaaBd2g%3D%3D,143022925X::3TG3Cp9To1xIkIIPqosBf5JLo9b1ObxK6aY%2FXrQN5pZhVuV6zSpnMGxI4tgLOmyjv%2FN7Co9GFycFwLjCczQW4nnB8Vfc7DIMXdwGayHsqCC1t408pzNtaA%3D%3D","sprites":{"addToWishlist":["wl_one","wl_two","wl_three"],"addToCart":["s_addToCart","s_addBothToCart","s_add3ToCart"],"preorder":["s_preorderThis","s_preorderBoth","s_preorderAll3"]},"currenyCode":"USD","shippingDetails":{"xy":"same"},"tags":["x","y","z"],"strings":{"addToWishlist":["add to wishlist","Add both to Wish List","Add all three to Wish List"],"addToCart":["Add to Cart","Add both to Cart","Add all three to Cart"],"showDetailsDefault":"Show availability and shipping details","shippingError":"An error occurred, please try again","hideDetailsDefault":"Hide availability and shipping details","priceLabel":["Price:","Price for both:","Price for all three:"],"preorder":["Pre-order this item","Pre-order both items","Pre-order all three items"]}}
Jason Lengstorf is a 27-year-old turbogeek from Portland, OR. He started building websites in his late teens when his band couldnt afford to pay someone to do it, and he continued building websites after he realized his band wasnt actually very good. Hes been a full-time freelance web developer since 2007, and expanded his business under the name Copter Labs, which is now a distributed freelance collective, keeping about 10 freelancers worldwide busy. He is also the author of PHP for Absolute Beginners and Pro PHP and jQuery.
Jason Lengstorf is a twenty-something from Portland, Oregon who has spent the last decade or so learning how to make a living without wearing pants. Along the way, he's started Copter Labs, written a few books, drawn a few pictures, and spoken to a few like-minded geeks. He's a music nerd, a foodie, a shameless coffee snob, and a big fan of wandering the globe.
You can find more info about Jason at his personal website, http://www.lengstorf.com, or on the Copter Labs site at http://www.copterlabs.com/
I can't think of a title, but I do think I wasted the money on this book.
If you've never heard of PHP or jQuery, then this book will serve you well, provided you want to type page after page of code, html & css to make the example work.
The book has one primary example (an event calendar) which you mess with from start to finish.
Two thirds into the book you finally get into integrating jQuery with PHP. That doesn't last long and the author jumps to an intro into RegEx.
There are thousands of free web sites with better material, like IBM's Developerworks, for instance.
What is so good about Jason's books are that they dont waste your time on 10 pages of what is a variable. It gives your a concise guide into the world of jQuery, arms you with the tools to continue educating yourself, and then moves on to using it.
As far as PHP and OOP goes, this book picks off where Jason's last book left off. It gives you an detailed and succinct explanation of PHP and its OO concepts. Then he guides your though these waters helping you navigate ambiguous concepts.
BTW, he also has some great tuts on netttus. You can get a taste for his teaching style there. :)
If the jQuery syntax and and mechanism looks foreign and confusing to you, and you need help coming up to speed on it, then this is the book for you, or at least one of them. I liked the book. Although I've written a lot of server-side ASP, PHP, ASP.NET, etc. and a little client side js, I needed to quickly understand jQuery. This books was hands on and led me through writing a real-world application. It shows how to build a site without AJAX, but then incorporate jQuery/AJAX for those that can handle it, to make the site more like an app. I thought it was a great start. I think anyone understanding the basics taught in this book, should easily be able to grasp the jQuery ui without a book. That is if they have some rudimentary skills.
I got this when it first came out thinking it would help me with jquery, but in fact it did not. i felt it didn't go far enough to use jquery where it should and some chapter was on oop php, which should a common knowledge to those reading this book.
i learned jquery more once i went through their api and articles that met my needs.
This guy is a smart. Obviously has some great great ideas. His programming style, however, is very messy. His codes are scattered all over.
Modularity is good to a certain limit. You don't make codes that go left and right.
Its hard for others to follow. Also the code provided from the website has some errors in it. His programming style makes it hard to trace the error(s).