Ajax and PHP: Building Responsive Web Applications
| |||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||
| Sort customer reviews by: | |||||||||||||||||||||||||||||
|
Show All Reviews on Page
Hide All Reviews on Page
| |||||||||||||||||||||||||||||
| Ajax and PHP: Building Responsive Web Applications | |||||||||||||||||||||||||||||
|
Building Responsive Web Applications with AJAX and PHP is the most practical and efficient resource a reader can get to enter the exciting world of AJAX. This book will teach you how to create faster, lighter, better web applications by using the AJAX ingredients technologies to their full potential. Assuming a basic knowledge of PHP, XML, JavaScript and MySQL, this book will help you understand how the heart of AJAX beats and how the constituent technologies work together. After teaching the foundations, the book will walk you through eight real-world case studies covering tasks you’ll be likely to need for your own applications: - AJAX enabled form-validation page - Online chat room - Customized type-ahead text entry solution, that helps users find the help page for the PHP functions - A simple cards game that supports multiple simultaneous sessions - Whiteboard where online users can draw online - Database-enabled, editable and customizable data grid - RSS aggregator application - Use the script.aculo.us JavaScript toolkit to build a drag&drop enabled sortable list The appendixes guide you through installing your working environment, using powerful tools that enable debugging, improving, and profiling your code, working with XSLT and XPath, and working with existing AJAX frameworks.
|
|||||||||||||||||||||||||||||
| Reader Reviews 1 - 33 of 33 | |||||||||||||||||||||||||||||
| Review Date |
Review Rating(5 High) |
Review Helpful to: |
Customer Review | Reviewer Info |
Permanent Link |
||||||||||||||||||||||||
| Reader Reviews Below Sorted by Newest First | |||||||||||||||||||||||||||||
| 07-16-08 | 2 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book does offer good insights into php and ajax. It however tends to not teach as much as redirect. It points to a lot of free resources on the web to explain things it should have had as it's own chapter.
I also spends way to many pages showing duplicate code. For example in the 2nd chapter it spends significant time creating a function called createXmlHttpRequestObject. This function is about 1/2 a printed page. then in every later chapter this same function is printed at least twice per chapter. This isn't the only example and in ends up that you have 10-15 pages of code for each section most of which is duplicate from previous sections. You could easily cut 50-100 pages from the book by removing the duplication. The book also doesn't spend any time on security. Specifically it doesn't show how to create a secure login or to validate that the javascript on the client is authorized to get the data that it is requesting. Everything is free and open with only basic validation that data is in the correct form. That being said it does provide a broad range of ways to use ajax. I would happily spend $10 on it again. Unfortunately i spent over double that :( (Review Data Last Updated: 2008-10-04 04:30:41 EST)
|
|||||||||||||||||||||||||||||
| 06-01-08 | 5 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
AJAX and PHP: Building Responsive Web Applications is the ideal book for those who currently have some PHP, XML, JavaScript and MySQL already under their belt. Little time is spent on the basics of these technologies other than a brief history of the Web and predictions for future Web applications making this book a great segue for those looking to take their basic skills to the next level. The code is well documented and commented so if you are the type of person who prefers to jump right in and work with code, then this book is for you.
The biggest strength of this book is that is provides practical code examples that teaches the reader how to combine and use these technologies together. Some of the most handy examples are server-enabled form validation, an online chat tool and an RSS feed reader. Even if you only need to know one of these items, though there are plenty more, it's well worth it to pick up this book. No only will you be able to create these applications yourself, but you'll learn best practices and understand the why and how of each program as well. Additionally, the book's companion website is quite good and allows you to download all of the code. This can be especially helpful if you find yourself getting stuck somewhere and want to do a side-by-side comparison of the your code and the book code. There are even five free additional PDF chapters for download including an updated version of Chapter 5 - AJAX Chat - which uses JSON instead of XML. However, if you're the type of person that is looking for a very concise, step-by-step book, you may find yourself frustrated. Just as its strengths are in letting you jump right into the code, if you're not at the stage where you're comfortable with any of the included technologies, you'll quickly find yourself overwhelmed with a lack of direction and an abundance of code. Additionally, while the use of bold type clearly indicates emphasis on specific code lines, if anything could improve this book, just for readability's sake, it would color-indicated code. In conclusion, if you've already gotten your feet wet with PHP, XML, JavaScript and MySQL then AJAX and PHP: Building Responsive Web Applications will help you get to the next level with real-world code examples and projects. You'll not just "copy code" but gain an understanding as to the "why and how" of creating AJAX Web applications. (Review Data Last Updated: 2008-07-16 13:40:52 EST)
|
|||||||||||||||||||||||||||||
| 05-21-08 | 5 | 1\1 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
The good folks at Packt Publishing have really nailed it with this title. This is one of the best books I have read on the topic of PHP and AJAX. They really broke down what the point and objectives of using AJAX with PHP are and then explained how to do things in a way that makes plenty of sense.
This book has no lack of code to copy, luckily most of the code can be found on the companion site hosted by Packt Publishing. I must say that as of my experience all the code was in working order, which was a pleasant change from some other coding books I have read recently. The XMLHttpRequest code in AJAX and PHP is quite impressive including try/catch formula for catching exceptions and failures in the code and handling them properly, again a very welcome change to some of the coding books or recent. I was particularly impressed with the structure of the code regarding the handling of responses as well as all the explanations of the code used in each example, never did the authors leave you wondering what any piece of code did, or why it do so. The book is a short 260 pages, and just full of useful information. A great follow up to this book would be anything DHTML as that is where most of the AJAX examples want to seem to lead a reader. Having a knowledge of DHTML is not important however a firm understanding of PHP and JavaScript would really benefit a reader choosing AJAX and PHP. (Review Data Last Updated: 2008-06-02 03:59:11 EST)
|
|||||||||||||||||||||||||||||
| 11-10-07 | 5 | 5\5 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
AJAX and PHP: Building Responsive Web Applications
This is a great book for beginners as well as intermediate users of AJAX. I have about 5 years of experience with PHP and 7 with Javascript and I had none with AJAX. I read a few tutorials online about AJAX and after reading some of this book, I love it. This book is a great start with AJAX, especially if you are a PHP programmer like myself. If you are looking to start building with PHP and AJAX, I recommend this book. (Review Data Last Updated: 2008-05-22 03:56:14 EST)
|
|||||||||||||||||||||||||||||
| 08-15-07 | 1 | 2\4 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
The book would be ok as a reference or code examples with brief explanations. However, the code practices used, when compared to other current books left me very disappointed.
The Good: - Good examples, all code is documented - Different projects - code provided online - The end results are good. (for Windows) The Bad: - Coding. They practice what I'd call "potluck programming". Basically you get 1 php page with inline calls to JavaScript, PHP, HTML and even some CSS properties. Maybe some programmers like this approach, but personally, I've been moving away from it, keeping your HTML alone, and inline JavaScript calls non-existent. The whole programming is basically obstrusive, taking over the file. Just bad programming practices. This is the biggest gripe I have with this book. Any current book should be teaching the more modern and less obstrusive ways of programming. - MAC support. A lot of the applications simply do not work, or work with lots of quirks under Safari and OS X. I know the market share is just around 5%, but it makes some of the applications worthless for those people. - There is not much in the way of teaching, I wanted to learn a bit more. The book has a lot of code, but the explanation section seems very lacking. (10 pages of code, followed by a "what just happened" section with less than 10 pages of code (there is less explanation than code, even though a lot of the code is repeated in that section.) Overall, I was expecting a lot more from this book. I use both PHP and starting to use Ajax, and was hoping this would help, but I would not recommend this book to anybody. There are better books that talk about both Ajax and PHP without having PHP in the title. Professional Ajax is one example and presents the code in different files (though it ocassional reverts back to inline JS). If you want a book of examples, but don't care much about your coding style, you could very well enjoy the book. If you are striving to become a better programmer, and use unobstrusive practices, stay away from this book, as you will be thoroughly disappointed. Also stay away if you use a OS X for most of your work. I would title the book: "Code for responsive web applications using AJAX and PHP". You will not learn how to build those applications, but they will be kind enough to provide you with their code. (Review Data Last Updated: 2007-09-07 18:21:00 EST)
|
|||||||||||||||||||||||||||||
| 08-15-07 | 1 | 4\7 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
The book would be ok as a reference or code examples with brief explanations. However, the code practices used, when compared to other current books left me very disappointed.
The Good: - Good examples, all code is documented - Different projects - code provided online - The end results are good. (for Windows) The Bad: - Coding. They practice what I'd call "potluck programming". Basically you get 1 php page with inline calls to JavaScript, PHP, HTML and even some CSS properties. Maybe some programmers like this approach, but personally, I've been moving away from it, keeping your HTML alone, and inline JavaScript calls non-existent. The whole programming is basically obstrusive, taking over the file. Just bad programming practices. This is the biggest gripe I have with this book. Any current book should be teaching the more modern and less obstrusive ways of programming. - MAC support. A lot of the applications simply do not work, or work with lots of quirks under Safari and OS X. I know the market share is just around 5%, but it makes some of the applications worthless for those people. - There is not much in the way of teaching, I wanted to learn a bit more. The book has a lot of code, but the explanation section seems very lacking. (10 pages of code, followed by a "what just happened" section with less than 10 pages of code (there is less explanation than code, even though a lot of the code is repeated in that section.) Overall, I was expecting a lot more from this book. I use both PHP and starting to use Ajax, and was hoping this would help, but I would not recommend this book to anybody. There are better books that talk about both Ajax and PHP without having PHP in the title. Professional Ajax is one example and presents the code in different files (though it ocassional reverts back to inline JS). If you want a book of examples, but don't care much about your coding style, you could very well enjoy the book. If you are striving to become a better programmer, and use unobstrusive practices, stay away from this book, as you will be thoroughly disappointed. Also stay away if you use a OS X for most of your work. I would title the book: "Code for responsive web applications using AJAX and PHP". You will not learn how to build those applications, but they will be kind enough to provide you with their code. (Review Data Last Updated: 2007-11-11 07:32:19 EST)
|
|||||||||||||||||||||||||||||
| 08-15-07 | 1 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
The book is probably ok as a: "Look code examples of PHP and Ajax to do stuff". But beyond it, it leaves a lot to be desired.
This book is basically pages and pages worth of PHP and Ajax code, with a few explanation. So I'd say the title is misleading. Or maybe I misinterpreted the title. Either way, it does little in the way of teaching or explaining, but does show how some stuff work. The goods in the book: - End result of front-end of form is good. - Ties in PHP and Ajax together - Lots of example code - Has a webpage where you can get the code from. Why only 1 star (the bad): - Does very little teaching (A section called "what just happened?" at the end of the code presented. - The JavaScript used is obstrusive. So you won't see any Hijax here. This is perhaps the worst part about the book. All the PHP, JavaScript/Ajax calls and HTML all all in the same page. Sure there is a separate JavaScript file, and CSS file, but the calls of the javascript functions are all within the HTML file. Basically, for a book so new, its coding practices are outdated. - A lot of the Ajax/JavaScript code (around 50% or more) does not work in OS X. Sure some of you may not cate, but I think it's important to make your applications compatible with at least Safari in OS X. The chat for example does not work at all. The form validation is buggy, the drawing example is worthless, I can't remember of any application presented that actually fully works in Safari. (Not iPhone friendly at all) - Very little attention to accessibility. I am actually rather surprised at the amount of positive reviews this book has received. I wonder if the author(s) got their friends and family to write in. Summary: If you just want to see how some people might use PHP and Ajax together, get this book. If you want to learn how to do it yourself, if you want to write Ajax unobstrusively, if you are working towards accessibility, look elsewhere. (Review Data Last Updated: 2007-08-15 21:26:32 EST)
|
|||||||||||||||||||||||||||||
| 08-09-07 | 5 | 1\2 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
Enjoyed this book. The authors clearly understand their subject and provide useful workable code that can be used as a basis for your own projects.
(Review Data Last Updated: 2007-08-30 08:09:58 EST)
|
|||||||||||||||||||||||||||||
| 08-06-07 | 5 | 1\1 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This is my second AJAX/PHP book and I must say this one is excellent. The author gives the reader not only great examples, but then reexamines the code to let the reader how and why each block is needed and what purpose it serves.
This is my first read from the publisher, Packt, but if the other books are laid out like this I'll give them a go. So should you buy it? I would say you definitely need a basic understanding of PHP and an Intermediate understanding of JavaScript to get through this book with a smile. Highly recommended. (Review Data Last Updated: 2007-08-10 07:25:21 EST)
|
|||||||||||||||||||||||||||||
| 07-06-07 | 2 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
First off I'm fairly new to web programming (Javascript and PHP) but I didn't find much to broaden my knowledge with this book. Ajax Javascript is covered extremely well elsewhere ("Pragmatic Ajax", "Ajax in Action" and "Ajax Design Patterns" for instance) and is PHP programming ("PHP and MySQL Web Development" and "Advanced PHP Programming").
The book is not complete enough to serve as an introduction to Javascript or PHP. It really doesn't seem to cover the issues with distributed asynchronous programming either. There is a huge need for a book that concentrates on building solid asynchronous servers with PHP. For instance how can state be carried from server call to server call (PHP session management?). What happens if multiple XML requests are sent while a PHP script is running? Can a single instance handle multiple requests without restarting from the beginning? How can a long running PHP program (yes you need to change the server time out) handle streams of data to and from Javascript? My suggestions for the next edition are: 1) More on server side patterns (PHP) for AJAX 2) Session management 3) remote RPC techniques 4) JSON servers (techniques like phpolait?) 5) Talk through the code examples more. I found the code in the book to be the hardest to read through and at the same time the most boring of any programming book I've ever read. (Review Data Last Updated: 2007-08-07 08:02:22 EST)
|
|||||||||||||||||||||||||||||
| 05-22-07 | 5 | 4\4 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This is a great book that discusses the frameworks and relations that PHP and AJAX use to provide dynamic applications. This book goes through the various methods to get the client side to talk with the server with out page refreshes and the tools that speed up the development process. This book has a lot of code examples of working projects that can be used in your own development projects.
(Review Data Last Updated: 2007-07-09 18:13:34 EST)
|
|||||||||||||||||||||||||||||
| 05-18-07 | 5 | 7\7 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I have a number of years experience with php,dhtml,javascript and css and this book has some excellent examples that are well written and each builds on the last example with more and deeper details. I only wish there was more examples as the authors did such a great job with the ones presented. great job all!
(Review Data Last Updated: 2007-07-06 07:42:34 EST)
|
|||||||||||||||||||||||||||||
| 05-14-07 | 1 | 2\10 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I really did not find this book much use at all. After reading the first 2 chapters I suddenly realized I knew more then the guys who wrote it (and there are a few of them).
For someone who knows no Ajax or Javascript, I guess it is ok. The major issue I had with this book is the repetition of code. Sure, code reuses is great...in practice. But instead of saying, "Use the connection script we build in chapter X", the book rewrites the connection script, and it is like that throughout the book. The book is approximately 260 pages long. If you take out all the re-occurrences of the code in the book, you would be left with about 100 pages. Another bad point for this book was...why all the code? Why not a CD with the book with all the code on, and a reference to it in the book. That way they could focus more on the design and logic and leave all the code on CD. I found this book ill planned and boring. Sorry writers! (Review Data Last Updated: 2007-07-06 07:42:34 EST)
|
|||||||||||||||||||||||||||||
| 03-07-07 | 5 | 6\7 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
Good examples and techniques aside, there's opportunities to turn your investment into cash in from projects in the real world. The later chapters contain great code examples for application pieces all web developers need in their arsenal; from javascript and security tips to interface how-to including a neat drag n' drop sortable list app I enjoy using more (probably because I understand it better from the inside out) than the [...] drag n' drop code I had been tinkering around with.
If you're a total newbie to AJAX and PHP this book will get your feet wet and dunk you in. If you're a PHP wiz with a good understanding of AJAX, this book will help "gel" it all together for you and add to your programming "street smarts". Even the most impatient learners will appreciated each chapter section's "Time for Action" samples which let you do stuff within the first 5 minutes of cracking the book open. (I jumped right to those sections then went back to read the other stuff if I felt I didn't understand why something worked or didn't work). (Review Data Last Updated: 2007-07-06 07:42:34 EST)
|
|||||||||||||||||||||||||||||
| 03-07-07 | 5 | 7\8 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
A technical book is only useful if it appropriate for your current skills and knowledge. I am a system admin who has written a fair amount of C++ code and lots of Perl and other scripts. I now need to develop a simple web app from scratch, and this book was perfect for me. While I have many issues with the PHP language, the popularity of LAMP solutions makes PHP a necessary evil that will be around for some time.
This book is a great intro to AJAX as well as PHP, XML, CSS and the DOM. The book is laid out and progresses very well, assuming virtually no knowledge in the first three chapters and with many sidebar comments that answer anticipated questions. The code examples are explained well and give you some good, functional examples to play with and learn from. They also do well by giving brief intros to important concepts such as DOM and CSS, but then provide links to good on-line resources rather than getting bogged down in these details. Why reinvent the wheel? If you start getting lost following the code that introduces one of these new concepts, just stop reading and peruse the sites they reference. If you truly new to these concepts, I would recommend reading the first 3 chapters closely and not at your computer, except to refer to the websites they mention. Then go back and re-read them while creating and playing with the code they provide. This helped me a great deal. (Review Data Last Updated: 2007-07-06 07:42:34 EST)
|
|||||||||||||||||||||||||||||
| 03-06-07 | 5 | 2\2 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
Good examples and techniques aside, there's opportunities to turn your investment into cash in from projects in the real world. The later chapters contain great code examples for application pieces all web developers need in their arsenal; from javascript and security tips to interface how-to including a neat drag n' drop sortable list app I enjoy using more (probably because I understand it better from the inside out) than the [...] drag n' drop code I had been tinkering around with.
If you're a total newbie to AJAX and PHP this book will get your feet wet and dunk you in. If you're a PHP wiz with a good understanding of AJAX, this book will help "gel" it all together for you and add to your programming "street smarts". Even the most impatient learners will appreciated each chapter section's "Time for Action" samples which let you do stuff within the first 5 minutes of cracking the book open. (I jumped right to those sections then went back to read the other stuff if I felt I didn't understand why something worked or didn't work). (Review Data Last Updated: 2007-04-11 09:06:51 EST)
|
|||||||||||||||||||||||||||||
| 03-06-07 | 5 | 2\2 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
A technical book is only useful if it appropriate for your current skills and knowledge. I am a system admin who has written a fair amount of C++ code and lots of Perl and other scripts. I now need to develop a simple web app from scratch, and this book was perfect for me. While I have many issues with the PHP language, the popularity of LAMP solutions makes PHP a necessary evil that will be around for some time.
This book is a great intro to AJAX as well as PHP, XML, CSS and the DOM. The book is laid out and progresses very well, assuming virtually no knowledge in the first three chapters and with many sidebar comments that answer anticipated questions. The code examples are explained well and give you some good, functional examples to play with and learn from. They also do well by giving brief intros to important concepts such as DOM and CSS, but then provide links to good on-line resources rather than getting bogged down in these details. Why reinvent the wheel? If you start getting lost following the code that introduces one of these new concepts, just stop reading and peruse the sites they reference. If you truly new to these concepts, I would recommend reading the first 3 chapters closely and not at your computer, except to refer to the websites they mention. Then go back and re-read them while creating and playing with the code they provide. This helped me a great deal. (Review Data Last Updated: 2007-04-11 09:06:51 EST)
|
|||||||||||||||||||||||||||||
| 02-05-07 | 5 | 7\8 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
For under 300 pages of content, this books packs quite a punch. I've always liked books that are under 400 pages because we never get to finish reading those that are over 1300 pages (definitely not for learning a new language). I start out with a mid-size book like this one and once I grasp the basics, I dig into advanced topics with another hefty book. But this one had me covered with so much I don't think I need an advanced book. Christian Darie proves it again - big books are heavy books, small books are great books. He and his co-author organized the content nicely and included lots of code examples that work. Real code! With links to some of the best stuff on these topics.
(Review Data Last Updated: 2007-07-06 07:42:34 EST)
|
|||||||||||||||||||||||||||||
| 01-03-07 | 5 | 2\3 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book highlights several different ways of using PHP and AJAX. It's short, but includes examples of form validation, instant messenger, and the all important sortable table. All-in-all, a good book, but if you're needing something more in-depth or more advanced, a longer (more pricey) book may be a better option.
(Review Data Last Updated: 2007-03-02 20:16:50 EST)
|
|||||||||||||||||||||||||||||
| 10-13-06 | 5 | 10\10 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I admit, when I first opened this book, I thought it would contain a dry discussion of how to use AJAX methods with PHP. But the book turned out to be so much more than advertised, I think its title must be wrong. It should have been called, "How to Use AJAX Methods with PHP, MySQL, DOM, CSS, SVG, XSL, XML, RSS, and JavaScript Frameworks." I certainly never expected to read it cover to cover, but that's what I did.
In addition to integrating a wide range of modern web technologies, the book contains great examples of how to write building blocks for powerful web applications. These include form validation, chat, suggest, auto-complete, charting, grid, RSS, and drag-and-drop. Somewhere in the code for these functions are techniques for almost everything you might want to program into an application. What I really like about the book, however, is the ongoing explanation of how to write the code so it will be secure, and will perform correctly in every browser. Most books I have read don't bother with such details, but this one even lays out a method to create user-friendly error reporting in production mode. It has a strong focus on writing code that might actually be used in a production environment. My only quibble with the authors is that they seemed to be avoiding OOP in their JavaScript, though they used it with their PHP code throughout the book. They said OOP emulation techniques required a longer learning curve. However, the result of their decision is JavaScript files that run for seven or eight pages. I really think that OOP would have been less intimidating to a new programmer than page after page of unbroken code. I would recommend that the authors at least use eye-catching headers for the major functions in these files to help the reader understand the structure of the code. (Readers of the book as published might want to take a highlight pen to the function headings.) As someone who is attempting to write my first significant web application, I think this book is wonderful. I expect to wear it out before I'm through looking up techniques. I already know that my application will need chat, validation, suggest, and data grid. This book practically hands me the code for these. But more than that, it provides me with a view of the basic methods to do many other things. Much of the major content of this book is code. While the authors explain how the code works, the reader will still need to know the basics of HTML, CSS, SQL, and scripting languages, such as PHP and JavaScript. Another major advantage of this book, however, is that the authors give web links to many of the best tutorials on these topics. In fact, it would be possible to start with this book, and use the authors' suggested links to look up almost every major web technology in order to learn it in the context of AJAX and PHP. All in all, that's a lot of value for a book that has less than 300 pages! (Review Data Last Updated: 2007-03-02 20:16:50 EST)
|
|||||||||||||||||||||||||||||
| 08-26-06 | 5 | 6\7 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book teaches by example. The first few chapters introduce AJAX and what part PHP, Javascript and XML all play. Then the remainder of the book takes you through several example applications. The example apps are simple enough that you can easily follow. These applications include Form Validation, Chat, Suggest and Autocomplete, Charting with SVG (Scalable Vector Graphics), using grids, and Drag and Drop.
Each example begins by showing you the source code and how to actually implemented/deploy that application. There is also a supporting appendix for additional information about deploying the examples on a web server. Then each chapter follows by by explaining how the example worked. If you would like to quickly begin using AJAX from PHP this book is a great start. (Review Data Last Updated: 2007-03-02 20:16:50 EST)
|
|||||||||||||||||||||||||||||
| 08-24-06 | 2 | 3\16 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
'ajax and php' is a very mediocre book with a lot of code in it, not especially good for learning, and not worth the price. if you want a really good ajax book, i recommend 'ajax in action'.
(Review Data Last Updated: 2007-03-02 20:16:50 EST)
|
|||||||||||||||||||||||||||||
| 08-04-06 | 4 | 2\3 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book tends to jump right in and show you the important parts of the code you will need for your applications. It walks you through creating some of the more requested scripts and explains each step in just enough detail to give you a good grasp. That said, the book isn't a major read at under 300 pages, which makes it light enough to get through in a weekend if needed. I highly recommend this book for those wanting to combine the power of AJAX with the speed and ease of PHP.
(Review Data Last Updated: 2007-03-02 20:16:50 EST)
|
|||||||||||||||||||||||||||||
| 07-23-06 | 5 | 3\3 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
Ajax and PHP came at exactly the right time in my self-inflicted education as I am just now gaining functional literacy in OOP, Client/Server. PHP, CSS et. al..
There are a lot of things to like about this book, starting with its organization. It starts off by documenting what you need to know to best use of this book. And supplies the URL/Hyperlinks to get those literacies if you don't have them. (Thank you!) It achieves a nice balance of choosing what needs to go into an appendix. It dispenses with the common irritating practice of showing code "excerpts" in favor of showing the entire script and follows each script example with a "What just happened" section that is as clear and concise as you will find anywhere. If you only buy one AJAX book, make it this one. (Review Data Last Updated: 2006-08-05 09:40:31 EST)
|
|||||||||||||||||||||||||||||
| 07-04-06 | 4 | 2\3 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
The book is good, the topic is right, and pretty much everyone is thrilling to learn how to benefit from AJAX -- even if this means you're going to use a lot of JavaScript, which you thought it was not necessary, since you know PHP, a powerful language, right?
To be frank, I was contemplating this book quite a lot before daring to open it for real. I can't really explain why, but I was intimidated by the idea: not by its size (274 pages is a common size), not by the technology itself (I'm coding PHP pretty often, and JS is no more than... JS), so maybe it was just because I'm too conservative. I'm prone to use PHP pages the "go-to-the-server-and-come-back-with-another-one-please" way. And this book really tries to learn you the basics of AJAX, through practical examples, that is. Quite impressive, given that most of us are usually grabbing new ideas & technologies from on-line articles, not from books entirely dedicated to a subject. Packt (pronounced "packed") has made every effort to support this book, even up to a point where you're overwhelmed by their will to make it easier for you. Here's what the web offer is: * A book's "classical" page with the publisher * A book's mini-site with the publisher, featuring demos of the case studies developed in the book * A book's mini-site with one of the authors, hosting an Errata and Notes Downloadables: * Chapter 1: AJAX and the Future of Web Applications * AJAX Chat Revised - Chapter 5: Ajax_Chat_and JSON, a revised version of Chapter 5, now using and presenting JSON instead of XML. The first printed edition is only featuring the original XML-based chapter. * AJAX Whiteboard mini-book - a case study on how to implement efficient client-server communications when heavy realtime communication is needed. * Appendix A - installing and configuring Apache, PHP, MySQL, and prepare the database used in the demos. * Appendix B: tools that can make your AJAX and PHP programming/debugging life easier. * Appendix C: - Advanced XML: XPath and XSLT. * Code download: the code for the samples described in the book. Let's get to the point. The first contact with AJAX was, for most people, the suggest & autocomplete feature of Google Suggest, somewhere at the end of 2004 or beginning of 2005. If you want to implement such a feature for yourself, the whole Chapter 6 is dedicated to this subject: you will be implementing suggestions from PHP functions, with direct redirection to the corresponding manual page. Unless you don't actually need any book on the matter, you should start with the beginning, to get a clear idea of what "Asynchronous JavaScript with XML" really is, and why is it needed to improve usability and to make a site more responsive, or to find out some drawbacks of using AJAX (bookmarking may become pointless). The basic principles of AJAX are very much disclosed from the first chapter, where you're presented with a simple (and useless) simple PHP AJAX application, described in detail. There is to note that the book features the full sources of all the applications used in the instructional process. If you download the source code, the use of the printed one is somehow limited, unless you want to make notes on the book, for analysing how things are done. To ease the understanding, the book holds a few flowcharts, in key places. Otherwise, a rather important number of screenshots are presented to help you follow the topic even if you're not in the front of your computer. OK, you're an intermediate PHP developer, but you know very few of JavaScript. Client-side scripting was not one of your major interests. How are you going to swallow the book? Chapter 2 is set to make you feel more relaxed and comfortable. Not only it describes JavaScript and the Document Access Model (DOM) in a nutshell, but it also provides you with useful reference links (page 30). As a general rule, you will find useful URLs in several places throughout the book, so be prepared to improve your skills even after having finished with it. The next "hard nut" is the very heart of AJAX: the XMLHttpRequest object. You will learn of it in the same Chapter 2, and the table at page 47 lists its methods and properties. But it wasn't tough, so far. Most people already knew about DOM (at least if they have used CSS), and a bit of JS too. Some people never needed to use XML though, but, you know, the "X" in AJAX is from XML, even if there is no XML involved in the functioning of XMLHttpRequest, and you're not bound to use XML if you don't want to! XML is a vast subject, and so are DTSs, schemas and namespaces, XSLT and Xpath, etc. Page 55 lists some starting points, and recommends Appendix C (not present in the first printed edition) for an introduction to XSLT and Xpath. Fininshing the Chapter 2, which is very dense in information, will get you introduced to some basic handling of XML, but more important, to handling errors and throwing exceptions. In the real world, you will need to do some serious data processing at the server level. This is what Chapter 3 is meant for, with some more examples too. This time, you will also need to work with a database, MySQL in our case. Make sure you'll properly setup the database, because you will need to create some tables in some future sample project too -- fortunately, the book is supportive, especially if you're using phpMyAdmin. As a general rule, once the access to the database is solved, everything should "just work". Each sample needing MySQL access has the credentials in a config.php file, so it's better you just create the user "ajaxuser" with the password "practical", to avoid editing several files. The only problem I encountered was an error message: "Class 'mysqli' not found" which should be solved by adding extension=mysqli.so or extension=php_mysqli.dll to php.ini (and don't forget to restart Apache). One of the first usability gain of using AJAX is form validation within the same page, without pushing back and forth error pages and the like. This is the first thing I'll implement in a web site in the process of "ajaxing" it -- and you will read Chapter 4 to get a good grip of one of the most useful usages of AJAX. The rest of the book is very much a sequence of labs where you will learn more and more through practical exercises, with full code and explanations provided. You will do with AJAX: * a web chat (Chapter 5). * real-time charts with SVG (Chapter 7). * grids with client-side XSLT (Chapter 8). * a RSS reader (Chapter 9). * drag and drop (Chapter 10). What are my impressions with this book? Once I went beyond the initial reluctance, I could see the book is actually not a bad one. The four Romanian authors did a good job, although some would have appreciated if a more playful style was used, instead of the rather academic one. For instance, PHP books by Julie C. Meloni can be swallowed easier due to the lighter style, more appropriated for people not willing to feel like in the front of a teacher. Also, fragmenting the code with more comments shouldn't hurt -- no, actually not "code comments", but textual descriptions of what is actually happening in there. For a practical introduction into AJAX with PHP, I would rate the book with 4 stars out of 5, but not more, for style reasons mainly. (Review Data Last Updated: 2006-07-23 05:55:41 EST)
|
|||||||||||||||||||||||||||||
| 06-02-06 | 5 | 4\4 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This book assumes a working knowledge of PHP, XML, JavaScript and MySQL and that you have PHP, MySQL, phpMyAdmin and a server such as Apache installed on your computer. In this book the authors, Cristian Darie, Bogdan Brinzarea, Filip Chereches-Tosa and Mihai Bucica, teach their readers how to add Ajax client-side features to PHP driven web applications.
As you would expect, the authors begin by discussing what Ajax is, its history and which Ajax features you will be adding to the PHP applications discussed in the book. The authors take a modular approach when building these web applications. The first programming task discussed in many computer books is client-side form validation and in this book the authors have done the same by showing how Ajax has changed the traditional form validation process. In the traditional process, the client-side validation occurs after the form has been submitted but before it reaches the server. The authors show you how to improve on this process by using Ajax to validate the user's input as he types. Next you will build an Ajax chat application. The authors do not cover supporting processes such as chat rooms, chat user lists and login. They choose to concentrate on improving the message posting and receiving processes using Ajax to eliminate the need to reload the webpage when performing these tasks. Before Ajax and other XMLHTTP related programming, this was only possible using Java, Flash or other special programming. Ajax was made popular due to Google Suggest. So it is only logical that the authors would show you how to build your own Ajax suggest and autocomplete application. The database used for the working example for this application is the PHP Function List at PHP.net. Next you learn how to build two real-time charting applications. The first is a graph drawn in real-time using SVG and the other is an Ajax grid using XSLT and XPath. Both of these applications update these charts without reloading the webpage. The popularity of RSS syndication makes this next application my favorite. You will build a simple RSS reader (aggregator) using Ajax, PHP, XSLT and SimpleSML. Finally, the last lesson is based on an existing web application (script.aculo.us). You will learn how to use Ajax to add drag and drop support to this task management application. (To Do List) The book has a supporting website which has working demos of the web applications featured in the book, sample chapters and a free case study eBook entitled AJAX Whiteboard. This is a simple Ajax web application that allows you to draw with your mouse. The authors of this book blend their varying backgrounds for this project. Cristian Darie is a software engineer and technical author. Bogdan Brinzarea has a background in banking and security. Filip Chereches-Tosa is a web developer and Mihai Bucica works in the field of communication software. (Review Data Last Updated: 2006-07-11 04:07:50 EST)
|
|||||||||||||||||||||||||||||
| 05-21-06 | 3 | 4\7 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I was personally a little disappointed with some aspects of this book. While the content is good, and relatively well-written, the print quality and paper used is very poor indeed. There is so much show-through on some pages that it makes reading the code very difficult as you can see the code on the reverse page too.
As, like many developers, I run sites on servers running PHP 4, many of the examples don't work as they're PHP 5 specific. Not unsurprising I suppose, but it would still be beneficial to have stated this in the title. (Review Data Last Updated: 2006-07-11 04:07:50 EST)
|
|||||||||||||||||||||||||||||
| 05-19-06 | 5 | 5\5 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
If you are a PHP programmer who is looking to start integrating AJAX in your upcoming projects, then this book will be a perfect start for you. The book focuses more on code rather than theory, and explains the pile of code in an easy manner.
The book starts with a great chapter explaining how web evolved and why the need for AJAX was created. It then explains what AJAX is and how it works - a difficult task to explain to the beginners, but the authors did it wonderfully. For the kick-starters, the chapter ends with a simple yet interesting hand-on example of a quick AJAX app, something that inspires many. The next chapter goes into the basics of JavaScript, DOM, XMLHTTPRequest and related key points and explains each of them with good examples. This makes sure that you know what you'll do and why you'll do things in a specific way. Before going into building core AJAX functionalities, the authors then introduces you to handling several PHP situations with AJAX (error handling, returning outputs, etc). Also, they show you how you can create the bridge between AJAX and MySQL. After telling you everything you need to boost your own site with AJAX, they start to tell you how you can avail different AJAX functionalities in your site - Form Validation, Auto complete, Real-time Charting, Drag-n-drop, and so on. These are divided in the rest of the book in chapters. Each of them has a real-life working example that can make you think "Oh man!! I was looking for this to be in my site!!!" Although it's more code than theory, you won't loose the path as they start the chapters with a problem-solving manner and after showing the code, explain them step-by-step. The book marvels at boosting you with both knowledge and practical application of AJAX to start with. But, it lacks in telling about the many great AJAX frameworks out there for PHP. The authors could have gone further to include a chapter mentioning the PHP-based open-source frameworks currently available (such as AJASON, XAJAX, TinyAJAX, AJAX Agent, etc). This could have helped the readers avoid writing all the basic request handling codes by hand (in both JavaScript and PHP). Also, there could have been a more detailed explanation on where the usage of AJAX is not appropriate. Apart from this, the book was a sheer pleasure to follow and the choices of examples were very relevant to the current web trends and should help anyone who wants to implement AJAX real soon. (Review Data Last Updated: 2006-07-11 04:07:50 EST)
|
|||||||||||||||||||||||||||||
| 05-14-06 | 5 | 6\6 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I think the marketing hype for Ajax has some people skeptical. So let's get the record straight: Ajax is here to help move web development ahead into the arenas that it needs to be in, while not needing to rely on Flash to implement a killer interface. It utilizes standard technologies that have been around, and is functional on almost all web browsers, but with a new mentality and intention. It's also a load of fun to develop, and see the results...
This book far exceeds the majority of PHP development books out there. Besides teaching you how to implement exciting and creative interfaces into your web site, this book actually is giving you first hand insight as to higher level PHP development as well. I can tell you from experience with Cristian Darie's previous books that I've read and used, his PHP development knowledge and skills far exceed the majority of PHP books that I have read. This one is not an exception. While the code isn't exactly beginner's stuff, I would suggest that some who has just begun on their road to PHP development give this a whirl. Because it'll not only show you a larger scope in PHP and Javascript, it'll also give you something fun and inspiring to want to shoot for... The actual projects have a component feel to them. Meaning, you aren't just limited into developing these things, and then left scratching your head as to how you would need to customize them to make them work in your web projects. You can work through the code separately, and then implement them into your current web project via an include. So, for those who are looking to not only learn about developing Ajax into your PHP pages, but to improve your scripting skills as a whole, as well as one of the more fun and enjoyable "activity books" to help you make killer U.I's..this is the best book I could recomend... (Review Data Last Updated: 2006-07-07 08:16:51 EST)
|
|||||||||||||||||||||||||||||
| 05-12-06 | 4 | 3\3 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
AJAX and PHP: Building Responsive Web Applications is a well structured book with a clear layout. The design isn't extremely stylish but as with most programming books it is very functional. The only small remark is that it would have helped if the code blocks would have a different background or marking to separate them from the text to allow a user to quickly scan over what he is about to do before entering the actual code itself. This book covers the necessary theory but it's main focus is on building AJAX applications that use PHP, XML, JavaScript and MySQL. All in all I recommend this book to anyone who wants to build applications with AJAX and PHP.
(Review Data Last Updated: 2006-07-07 08:16:51 EST)
|
|||||||||||||||||||||||||||||
| 04-18-06 | 5 | 12\13 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
There need to be more Ajax books like this. No, let me rephrase. Rather, more of the Ajax books out there should've been like this one. I just finished reading through AJAX and PHP: Building Responsive Web Applications and it is by far my favorite book on the topic of Ajax yet. The authors of this book: Bogdan Brinzarea, Mihai Bucica, Cristian Darie and Filip Cherecheş-Tosa have done a great job of keeping the topics focused and applicable.
While other books I have read covered the concepts behind Asynchronous JavaScript and XML, they did so with a shotgun blast of information. While I appreciate an eclectic approach, it is irrelevant because many examples are for languages I never use. For instance, one single book might have a slew of exercises in ASP.NET and Java, with maybe a few chapters on PHP. Sure, I could install Microsoft's .NET SDK or Sun's J2EE, but the likelihood of me every either using these two platforms is pretty slim. Don't get me wrong, I'm not against Microsoft or Sun as companies. I use Windows like everyone else, and am quite fond of OpenOffice. Suffice it to say, I am a front-end designer who is familiar with PHP. There is a full gamut of examples to test out. I liked the way they list the full code in the text, in addition to offering the option of downloading it from Packt. I've read too many programming books that assume you're right there at your computer while reading. I don't know about you, but I like to take books with me to read when I can grab a spare minute here or there. Before I get into the contents of the book, let me point out a few caveats, in case you are considering purchasing it (which I would still recommend, if you're into PHP). In some of their code examples, they use XHTML 1.1. This is all well and good, but they neglect to specify content-type, meaning that it defaults back to text/html. So, while it still works just fine in a browser, it is against the W3C recommendation for how to serve various media types. XHTML 1.1 should be served only as application/xhtml+xml, so their code examples would be better off as XHTML 1.0 Strict, because they aren't making use of any of the additional features to be found by stepping up to 1.1. Another thing to correct in their code would be line-breaks, which are consistently written throughout as when really it should be (note the space). Anyway, here is what topics are covered in the book: JavaScript and the Document Object Model, some CSS, XMLHttpRequest, proxy servers, and MySQL. They also touch on how to make use of Prototype and Script.aculo.us. Using this armament, they show you how to create fun stuff such as: live form validation, chat room (with color picker), auto-complete search, real-time SVG charts, XSLT grids, an RSS reader, plus a drag-and-drop to-do list. While some of these topics are covered in other books out there, I had not found one which covered them all from a PHP standpoint. Now that I have, I think I will probably give book reading on Ajax a rest (not REST) for awhile, because I think that with this book, I am contented. Now it's just a matter of going out there and actually making use of the topics that were covered. (Review Data Last Updated: 2006-07-07 08:16:51 EST)
|
|||||||||||||||||||||||||||||
| 04-15-06 | 1 | 0\2 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This is the worst technical book I have ever read. There is 80% of PHP and javascript code, and some comments poorly written explainations that follow. Something like 15 pages of code and then 4 pages of comments. No real explaination or discussion about the different subjects. Just plain comments. So disappointing.
Shop carefully, there are so many other good books on AJAX like Ajax in action or Ajax fundations. (Review Data Last Updated: 2006-04-18 08:59:28 EST)
|
|||||||||||||||||||||||||||||
| 04-01-06 | 5 | 8\11 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
As someone who is always looking for books about cutting edge technology this is the one. There are great demonstrations of Drag and Drop and SVG which are both very new to the web.
I highly recommend this book if you want to be one step ahead of your colleagues. Hope you will enjoy just as much. Wade Willett (Review Data Last Updated: 2006-07-07 08:16:51 EST)
|
|||||||||||||||||||||||||||||
| Reader Reviews 1 - 33 of 33 | |||||||||||||||||||||||||||||