文件名称:
Packt.Publishing.CakePHP.Application.Development.Jun.2008
开发工具:
文件大小: 8mb
下载次数: 0
上传时间: 2008-10-09
详细说明: As the first book to come out on CakePHP, there was a lot of pressure on this title to be really strong. On the whole, it has pretty good coverage of the topic, but the flow of the title is undermined by shoddy editing. = The Good = This title is a pretty decent introduction to CakePHP. Coming from a background in PHP and having worked with Ruby on Rails for a few years as well, I think the authors did a good job covering the basics and putting together some interesting projects for you to work on. = The Bad = As a technic al editor for several books myself, I know how difficult it is to catch all of the mistakes (missing semicolons and the like), but the level of technical errors in this book was shocking. One simple example: the minLength validation option was misspelled everywhere (as "minLenght") -- in code examples, in body copy, etc. And that's just one example. It's obvious that the examples in this book were not thoroughly vetted despite having 2 reviewers and 2 technical editors. Sure, maybe I'm nitpicking, but I feel strongly that when a technical book comes out, it needs to be as accurate as possible to reduce the frustration level of people following our examples line-by-line. Another minor gripe I have with the book is the incredibly inconsistent formatting of the code examples. Indents were all over the place, as were line wraps, making it very difficult to follow. I understand that some people don't care about nice-looking code, but when you are supplying that code for an educational purpose, it should be as legible as possible. = The Ugly = For the most part, I enjoyed this book, but the section on JavaScript and Ajax made me wince. Repeatedly. As someone who spends a lot of time teaching people how to write unobtrusive JavaScript, it pains me to see books that continue to promote doing things the wrong way. I'll give the author's props for relegating most of their JavaScript to external files, but their Ajax examples leave no fallback for users with JavaScript turned off (or no JavaScript support). It would have taken just a few more lines to show how it could be done using progressive enhancement techniques like Hijax (discussed in Jeremy Keith's book Bulletproof Ajax). One final gripe I have with this title is that it completely skips over the topic of unit testing. The section on working with the Cake shell briefly mentions it (by simply having you decline the offer to have the shell script generate test cases for you). After seeing that, I was hoping the authors would at least devote a small chapter to provide a cursory overview of building and using unit tests in Cake. Alas, that chapter never materialized. = Final thoughts = In all, the book was decent, but didn't really blow me away. It could have been a lot better. ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.