 |
Head First PHP & MySQL by Lynn Beighley, Michael Morrison
Book Summary InformationAuthor: Lynn Beighley, Michael Morrison Edition: Paperback Audio: English (Unknown); English (Original Language); English (Published) Published: 2008-12-29 ISBN: 0596006306 Number of pages: 816 Publisher: O'Reilly Media
Book Reviews of Head First PHP & MySQLBook Review: Helped me to get my first job on oDesk Summary: 5 Stars
This was a good book. After reading this book my second application on oDesk was accepted and I completed my first web development job earning 5 out of 5 stars in all areas for the work that I did.
It is probably better to do only a few chapters carefully (following their advice in bullet number 9 to "write a lot of code") than it is to rush through the book too fast. Chapters 1 through 6 could possibly be enough for many quick jobs or small sites. You'll need chapter 7 if you are interested in keeping track of users (it covers cookies, and also HTTP authentication). Chapter 8 has good rules and guidelines on how to organize your database to avoid inconsistencies and problems.
The other chapters are: chapter 9 covers custom and string functions, chapter 10 covers regular expressions, chapter 11 covers a graphics library, and chapter 12 covers web services and syndication.
These could possibly be skipped if the reader already has a reasonably good background in programming (e.g. has taken two or three courses at the undergraduate level in software development), or does not expect that that those are necessarily needed for the task at hand.
For example, a good programmer who has learned programming fundamentals may be able to pick up how to use the GD graphics library just from the documentation that comes with PHP.
You can always come back to those chapters at a later time (after all you've got to help Owen save his dog!)
I've only done one job, so I speak here mostly from that experience. I would grant that it is quite possible that those topics in chapters 9 through 12 may come in very handy, speed things up, and improve performance for other contract jobs, interviews, or full-time positions.
Just practicing and exploring things can help a lot as well.
Feel free to laugh at all the jokes, and be sure to do all the exercises. Some of the advice may sound a little bit silly or extraneous (for example, talk about the topic out loud, or drink a lot of water while you are studying), but I think they are reasonable tips and suggestions for helping to learn, and I think they helped me.
I also used [...] (entirely as an observer, just reading the kind of questions that people have can help), and of course the PHP.net site which has all the documentation.
It can take some time to figure out how to navigate the PHP.net site, but everything is there. You can click around and find what you need.
Before I took the oDesk exam I also got on Safari the book Programming PHP by Rasmus Lerdorf (the inventor of the language). That book goes into more depth. I read chapter 6 on classes to learn more details.
That review of chapter 6 in Programming PHP was helpful when I took the oDesk skills test which helped me to get my first job on oDesk.
Like all technical books there is some errata which has remained unfixed on Safari Books. If you see something that looks like a mistake and are using Safari Books you can click on Extras and then go to Errata. There is also a forum on [...] for people to ask questions on. You can see some of Michael Morrison's posts on there.
On oDesk many people said that it took them a few weeks to get their first job. On the second day of looking I found that an employer had written a specification, which I looked at and then began working on in PHP. I submitted my cover letter along with a URL to the work that I had done. I bid what the employer asked for which was about 20% of the average bid. While others had required a few weeks before getting their first job; with the training from Safari Books I got a job in about a day and a half. I built a customer relationship management web application frontend that worked with Zoho CRM.
One interesting comment about my job is related to chapter 8 and has to do with database normalization and having for each table a primary key. The job that I worked on had a 12 page specification and they had in the specification a schema but there was no primary key for the only table in the database. In the middle of the contract I asked graciously whether it was possible to add one column to the table so that there would be a primary key. After demonstrating that I could help with the task my employer (who is an engineer and scientist but not a web developer or database administrator) agreed readily. I think this was a good example of applying Dale Carnegie principles. If I had asked to make this change at the beginning before establishing more of a relationship, and demonstrating that I could help with the task, the employer might have still agreed, however, I think it would have been more awkward. I might have to try to explain why such a decision constitutes good design.
I enjoyed the book a great deal. It helped to lift up my spirits when I was depressed about being unsuccessful in graduate school.
Maybe it would have better to have delayed my review after gaining more experience trying to get a position in the conventional job market, or having done more freelance work on sites like elance, oDesk, or possibly TopCoder. However, I think as time goes by I'll see this book as being very useful.
I'm eager to read more Head First books, because I think the model is a very good one. For web development in particular I'm thinking about reading Head First JavaScript also by Michael Morrison. However, I may read some of the Head First Java book so that I can learn enough to start competing on TopCoder algorithm competitions.
I think Head First SQL (also by Lynn Beighley) may also be very useful for learning SQL in more detail toward the goal of gaining a MySQL certification.
David
P.S. You'll need of course a good editor or IDE to go through the book and for PHP/MySQL coding tasks. I was weaned on Emacs, but when doing the book, and the contract I used HTML-kit.
HTML-kit worked fine, and is a good program. On the other I'm thinking that Emacs might be better for different reasons:
1. Automatic indenting.
2. Matching parenthesis.
3. Incremental search (find might have some bug in HTML-kit)
Eclipse is probably now the most advanced IDE (possibly too sophisticated for the kinds of jobs I'd be working on in the near future).
How To Win Friends and Influence People
Programming PHP
Head First Java, 2nd Edition
Head First JavaScript
Head First SQL: Your Brain on SQL -- A Learner's Guide
Summary of Head First PHP & MySQLIf you're ready to create web pages more complex than those you can build with HTML and CSS, Head First PHP & MySQL is the ultimate learning guide to building dynamic, database-driven websites using PHP and MySQL. Packed with real-world examples, this book teaches you all the essentials of server-side programming, from the fundamentals of PHP and MySQL coding to advanced topics such as form validation, session IDs, cookies, database queries and joins, file I/O operations, content management, and more.
Head First PHP & MySQL offers the same visually rich format that's turned every title in the Head First series into a bestseller, with plenty of exercises, quizzes, puzzles, and other interactive features to help you retain what you've learned. - Use PHP to transform static HTML pages into dynamic web sites
- Create and populate your own MySQL database tables, and work with data stored in files
- Perform sophisticated MySQL queries with joins, and refine your results with LIMIT and ORDER BY
- Use cookies and sessions to track visitors' login information and personalize the site for users
- Protect your data from SQL injection attacks
- Use regular expressions to validate information on forms
- Dynamically display text based on session info and create images on the fly
- Pull syndicated data from other sites using PHP and XML
Throughout the book, you'll build sophisticated examples -- including a mailing list, a job board, and an online dating site -- to help you learn how to harness the power of PHP and MySQL in a variety of contexts. If you're ready to build a truly dynamic website, Head First PHP & MySQL is the ideal way to get going.
|
 |
|
|
Head First C#, 2E: A Learner's Guide to Real-World Programming with Visual C# and .NET (Head First Guides)by Andrew Stellman, Jennifer Greene O'Reilly Media; Published: 2010-05-28; Paperback; BookBest price: $25.98Price in other shops: $49.99
Head First Java, 2nd Editionby Kathy Sierra, Bert Bates, Bert Bates O'Reilly Media; Published: 2005-02-16; Paperback; BookBest price: $24.50Price in other shops: $44.95
Head First Pythonby Paul Barry O'Reilly Media; Published: 2010-12-07; Paperback; BookBest price: $20.99Price in other shops: $49.99
Head First Ajaxby Rebecca M. Riordan O'Reilly Media; Published: 2008-09-02; Paperback; BookBest price: $23.00Price in other shops: $44.99
Head First Web Designby Ethan Watrall, Jeff Siarto O'Reilly Media; Published: 2008-12-30; Paperback; BookBest price: $20.00Price in other shops: $49.99
Head First jQueryby Ryan Benedetti, Ronan Cranley O'Reilly Media; Published: 2011-09-29; Paperback; BookBest price: $22.73Price in other shops: $39.99
Head First JavaScriptby Michael Morrison O'Reilly Media; Published: 2008-01-11; Paperback; BookBest price: $22.24Price in other shops: $39.99
Head First SQL: Your Brain on SQL -- A Learner's Guideby Lynn Beighley O'Reilly Media; Published: 2007-09-01; Paperback; BookBest price: $22.00Price in other shops: $44.99
Head First HTML5 Programming: Building Web Apps with JavaScriptby Eric Freeman, Elisabeth Robson O'Reilly Media; Published: 2011-10-18; Paperback; BookBest price: $27.16Price in other shops: $49.99
Head First HTML with CSS & XHTMLby Eric T Freeman, Elisabeth Freeman, Elisabeth Robson O'Reilly Media; Published: 2005-12-15; Paperback; BookBest price: $16.97Price in other shops: $39.99
|