- ペーパーバック: 439ページ
- 出版社: Course Technology Ptr; Pap/Com/CD版 (2004/08)
- 言語: 英語
- ISBN-10: 1592004946
- ISBN-13: 978-1592004942
- 発売日： 2004/08
- 商品パッケージの寸法: 23.4 x 18.8 x 2.8 cm
- おすすめ度： この商品の最初のレビューを書き込んでください。
- Amazon 売れ筋ランキング: 洋書 - 1,721,828位 (洋書の売れ筋ランキングを見る)
PHP 5/MySql Programming for the Absolute Beginner: No Experience Required (英語) ペーパーバック – 2004/8
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
This book is an introduction to programming with a specific focus on programming web servers with the PHP programming language. Much of the original content from the first edition (1931841322) will be retained, while also including updates relating to the upcoming PHP 5.0 release. Following the same format as the popular first edition, this book provides easy-to-follow instruction. Readers will use the concepts presented in the book to create games using PHP and MySQL. As each concept is put to the test, readers will acquire programming skills that will easily transition to real-world projects. A true beginner's guide, this book enables readers to acquire programming skills that they will be able to use in the next language that they tackle.
1. Exploring the PHP Environment 2. Using Variables and Input 3. Controlling your Code with Conditions and Functions 4. Loops and Arrays 5. Better Arrays and String Handling 6. Working with Files 7. Writing Programs with Objects 8. XML and Content Management Systems 9. Using MySQL to Create Databases 10. Connecting to Databases within PHP 11. Data Normalization 12. Building a Three-Tiered Data Application Appendix A: Reviewing HTML and Cascading Style Sheets Appendix B: Using SQLite as an Alternative Data Source Glossary商品の説明をすべて表示する
Amazon.com で最も参考になったカスタマーレビュー (beta)
The online help manual for PHP is not geared towards beginners. It's geared towards the type of people who simply have to read the rules of a programming language and then can go and program with it effectively. Basically, it's for people who know what they're doing. They have the programming mind already. I am not that type of person and many people who are new to programming are not like that.
Andy Harris' book teaches you PHP, but you will have to have a solid foundation in HTML/CSS (which I have) and it says that in the book. The only errors I've noticed in the book so far are HTML and they're nothing major. If you know HTML you'll be able to see them right off the bat and correct them for yourself (it's not like the book is $50 or something, it's just a minor inconvenience you'll only encounter maybe two or three times in the entire 12 chapter book). Also, the examples in the book are sometimes different from the ones on the CD (which implies that the CD is much more up to date than the book). Those are usually only minor changes to the code.
In any case, while reading this book everything is explained and introduced in a way that is easy for me to understand. I think the way he introduces concepts is great. He doesn't simply say 'these are the rules and let me explain them' like the other books. No, he gradually works you up to them, preparing your mind. I find that this is more effective and this is a beginning programmer talking, after years of trying to find a good book. The one thing that I think is great is that this book uses examples that are relevant to what you will be programming. Too many times (back when PHP 3 and 4 came out) have I read those books that use boring examples that I'll never use (like some math formula for example). Instead, the examples in this book are challenging, yet fun and practical, and he goes over every part of the code so that you understand what each part is doing. Sometimes the examples are really big, but this isn't a problem. Even if there is an area where his explaining doesn't do it for me, if I simply go over everything in my mind and break things down on a piece of paper I'm able to understand. The only reason I'm able to understand is because the concepts have been introduced in a way that I can know what's going on. The only issue is then figuring out what a large example is doing and that's something you have to figure out for yourself. I haven't run into a problem I haven't been able to figure out so far.
This book is shaping my mind into a programmer's mind. I can now see the planning involved in each program and I'm finally starting to see the method. It's a lot more effective than other books that simply give you the syntax, explain it, and then give you a problem to do without giving you relevant examples on how to use what you just learning and shaping your mind so that you'll know when each tool is effective, when you'll need to use it, and how they work in different situations. I now know the reason why I couldn't get through those books. I knew the rules, but my mind didn't know how to think like a programmer. All those so-called beginner books don't teach you that at all. Andy Haris' book does. I feel like I can go on to other programming languages now because I finally read a book that taught me the method.
PHP5/MySQL Programming for the Absolute Beginner is not the PHP5 bible but it explains PHP5 enough so that by the time you're done you'll be able to do what you want and get out there and learn more without being intimidated. If you're a beginner to PHP5, don't waste your time with other books that won't introduce you to the mechanics of programming. Get this book!
Programming is an entirely foreign world for me. It is an entirely foreign way of thinking for me. I can happily write twenty or more pages on some obscure incident in the late Roman Empire but show me a bit of code and my brain fogs over.
This being the case I found Andy Harris' book to be exceptionally helpful. He takes you step by step, explaining key concepts and vocabulary, inserting bits of humor and the occasional tangent, keeping the lessons fresh.
The first seven chapters deal more directly with the basics of PHP. The rest deal mostly with MySQL.
I got into PHP through my wrestling with Wordpress, and my interest in working with other CMS systems for an education environment. Underlying these great open source programs are PHP and MySQL. Harris' book, then, serves as a wonderful foundation for my pursuits as I move past being an absolute beginner.
It may not be appropriate for those with a stronger foundation in programming, but then the title should give that away. There are the very occasional errors in the code, but these are fixed in the provided CD, so it gives a person experience in discovering how to fix broken code, another great lesson. As most of the errors in the code come from my own mistakes, not the book's, getting good at comparing my work with the cd is a useful lesson indeed.
Because of this book I am no longer an absolute beginner but instead someone able to both develop new projects and work much more effectively with established open source programs. Andy Harris has written what I consider a "fog-lifter" book, a rarity in the programming instruction world.
As it is titled "For the Absolute Beginner" and IS indeed for that type of person, I have no complaints whatsoever. And the other reviewer who said "The Code is outdated" is incorrect. PHP 5 is currently the latest version of PHP, and this book covers PHP 5. I've yet to have a piece of code not execute from this book (except when I mess up the coding...)
I'd highly recommend this book for a person with no real programming experience. I myself was 'hobbyist' programmer in BASIC fiften years ago...and this was an EXCELLENT book to remind me of all the things I had long forgotten as I delved into writing PHP and using MySQL.
There are TONS of topics and coding that is not covered here, but hey...for absolute beginner...this is THE PLACE TO START. After digesting this book, I would recommend going over to Jason Gilmore's "Beginning PHP 5 & MySQL". I purchased Jason's book first...was utterly lost...and then purchased this one. Now, after understanding these concepts much better, Jason's book makes MUCH more sense...and is a great resource in my PHP library.
I have learned so much with this book, if I can give 10 stars I will, hoping the author continue making books like this in a series, excellent work.
Despite its title, the book only spends a short chapter on actual integration of php and mysql--and it doesn't even broach up the suppression operator (@mysql_connect(l,u,p) OR die('can't connect to mysql')). Moreover, the XML/PHP part is too brief.
In the file chapter, the guy implies that using file saving methods isn't efficient because in a real-world website, two users might write to the same file at once--thus, he won't spend much time talking about files, but will broach up more on multiple-user access in the XML chapter... which he seems to have forgotten (or did he expect us to waste $30 on a book just to go back to the easy-to-install php nuke system instead of actually designing our own functional CMS system allowing for multiple user file writes).
The code snipplets include a number of typo'ed functions (as do the text descriptions following them). Moreover, a lot of functions are used without adequate explanation. The book expects you to read through the documentation on php.net or to suffer through countless hours of frustration trying to get the exact code to work.
I'd say that this book is good to skim over (say, 20 minutes) if you don't know how to program. If you trust the guy's code snipplets and attempt to learn from those, then... may the author's non-existent errata help you.
If you disagree with any of this and have actually read the book, please contact me via jackline.hunter at gmail dot com.