Seven Web Frameworks in Seven Weeks: Adventures in Better Web Apps (Pragmatic Programmers) (英語) ペーパーバック – 2014/1/10
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
Why did you decide to write this book? Jack: There are countless ways to solve problems, and programmers everywhere are discovering new techniques and building new languages in an effort to find better solutions. There are so many diverse ideas in all areas of programming, and having stumbled upon a few really eye opening ones over the years, I've wanted to share them with others. There's no one way to build a web app, and no two projects of mine have ever been built the same way. Web programming is unique in having hundreds of available frameworks and libraries; traditional GUI programming tends to have very few choices. With so many possibilities none of them perfect I wanted to expose the most interesting ideas and techniques I've found to a wider audience. Fred: Programming in general and web development in particular evolves at a fantastic pace. I felt that this book was an excellent opportunity to break out of the mainstream and explore new ideas and discover different approaches to web development. The goal with these frameworks is not to compare them which each other and pick which one to use for your next project. Rather, this book serves as a neatly organized exploration of frameworks that offer unique solutions to web development. Why did you pick these seven frameworks? Jack: Our goal was to pick frameworks that had unique and powerful ideas rather than just ones that were enjoying their moment in the spotlight. We explore minimalism, composition, static typing, state machines, declarative syntax, and more in the book. In some cases, the frameworks we chose originated the ideas we wanted to explore, and in others, the framework is just the clearest example. We also tried to pick a set of frameworks that didn't overlap much to make sure we covered as many ideas as possible. Fred: After suffering through bloated and overly complex so-called "enterprise" frameworks, it felt refreshing to explore framework
Jack Moffitt has spent a decade building things for the Web in a variety of languages and frameworks. He is a senior research engineer at Mozilla Research and works on the Servo project building an experimental new browser engine. He also helped create Ogg Vorbis and founded the Xiph.org Foundation, a non-profit which works on open, royalty free multimedia codecs.
Fred Daoud is a truly passionate web developer who loves trying out new frameworks. He is the author of two other web framework books: "Stripes ...and Java Web Development Is Fun Again" and "Getting Started With Apache Click". As a software engineer for Modernizing Medicine, he develops with Stripes, jQuery, YUI, and CanJS.
|星5つ 35% (35%)||35%|
|星4つ 39% (39%)||39%|
|星3つ 27% (27%)||27%|
|星2つ 0% (0%)||0%|
|星1つ 0% (0%)||0%|
Examples are also genuinely useful, real world websites that go beyond the too common TODO list.
Each chapter is broken down into 3 days. On day 1 you usually setup the framework and explore some basic features, and by day 3 you explore more advanced features. One cool thing about this book is that most chapters have a interview with the creator of the specific framework, or at least a major contributor.
However, this book's ambition to cover so much is also it's downfall in a lot of ways. I never really got a clear picture of what to evaluate in a Framework. There is basically no introduction, and the conclusion is only 5 pages. I felt the authors relied on the interviews at the end of the chapter, rather than providing their own opinions.
Some Day One's just had too much to cover. For example, chapter 4 which is about the Framework Ring says this is what we cover on day 1:
"We went on a whirlwind tour of a basic, but quite functional, Ring application. Starting from data design, we built models with Korma, a library that turns SQL into composable functions. Hiccup made creating views to present the data as easy as writing down data structures. Compojure helped by matching URLs to views trying everything together. Finally, we explored Ring middleware, which helped transform user input into easy-to-use structures."
So on Day 1, we are expected to learn Korma, Hiccup, Compojure, and Ring middleware? That's in addition to assuming we are already familiar with Clojure.
Overall, this is a pretty solid book though, and it will definitely give a web programmer new ideas. I'm still happy to have gone through this book and it's worth checking out if you want to master web frameworks.