Book Review: Django 1.0 Template Development

Development, Python, Web March 12th, 2009

This is not a paid review, I did not receive a dime from author, publisher or the affiliated; however, I did get a free copy of the book, so some harsh critics may be sugar-coated. Read with caution.

Though I am a die-hard RTFM guy, it never hurt to take the advantage of expertise of the peers. Django 1.0 Template Development focuses on a relatively narrow topic, the template system of Django. The author puts himself in an dilemma: he expects the target audience to have basic ideas of Django system, but still has to go over all the hassles(not really though) to kick start a new project to make the book self-contained. I think the author did a great job for a beginners, but I still highly recommend the official DjangoBook, tutorial and documentation.

After two chapters warm-up, Chapter 3 shows the magic of Context and RequestContext. It is interesting to see how the project evolve from the low-level operation to the shortcuts. Chapter 4 introduces the built-in tags in the toolbox. Chapter 5 and 6 demonstrates the template inheritance and how multiple templates are served. In chapter 7, the developers can extend their toolbox by creating new filter tags. Chapter 9 gives series examples for admin UI customization. Chapter 8 and 10 are about the performance, pagination and cache. Last but not the least, L10N in chapter 11.

The examples in each chapter is atomic for easy understanding, but in my humble opinion, most of them do not impress the readers the power of Django. The framework shines to solve BIG and complex questions. I just wonder what if the author starts a much more ambitious project with complicated specification, and later decompose it to small tasks and address them in each chapter to make the point, just like Dive into Python does.

Furthermore, I would appreciate if the author could share more first-hand experience with readers. Engineering is always about question-solving. The framework is naturally easy to learn, otherwise, why bother? But it may suck in the big time if it does not scale. Any real world case would help to establish the confidence for further acceptance.

The bottom line: a good book for beginners, some chapters are quite beefy for the topic. As Django is a fast-evolving project, I hope the author will bring more juicy examples in the future edition.

Why I hate paid reviews

Web April 28th, 2008

As a blogger, we all dream one day we can buy a new car out of the revenue from our websites. At least your dear wife/husband would not regard you totally wasting time on the stupid blogging. But life is not that easy, Google AdSense sucks as most of advertisement network; paid text link would hurt SEO, and eventually kill your revenue in the long run. Thanks god, some generous gentlemen would pay me to write a review, seems they do know what I am really good at.

This just happens inside the blogosphere of China, thanks to Feedsky, the largest Chinese feed management provider(BTW, FeedBurner is GFWed), I read quite a lot about new laptops from Asus and HP. The potential audience is reached, but may have the opposite effect. Because –
I hate paid reviews.

Paid reviews are fake, paid reviewers are liars

I really doubt how many reviewers would buy that laptop, use it for several week, and then write a review for only $20. How come you spread word-of-the-mouth without real experience? You are just compromising the trust between you and your readers.

Stop poisoning my feed

Let’s assume some reviewers take it very seriously, salute to you, but do I care about the product or service you are reviewing for? The paid reviews are nothing but the noise in the subscription. We have been fighting email spam, comment spam and traceback spam for a long time, now we may need another Bayesian classifier to filter the post spam. What is the hell?

Do not write paid reviews, something just should not be traded.