Seven Web Frameworks in Seven Weeks
eBook - ePub

Seven Web Frameworks in Seven Weeks

Adventures in Better Web Apps

  1. 302 pages
  2. English
  3. ePUB (mobile friendly)
  4. Only available on web
eBook - ePub

Seven Web Frameworks in Seven Weeks

Adventures in Better Web Apps

Book details
Table of contents
Citations

About This Book

The rapid evolution of web apps demands innovative solutions: this survey of frameworks and their unique perspectives will inspire you and get you thinking in new ways to meet the challenges you face daily.

This book covers seven web frameworks that are influencing modern web applications and changing web development: Sinatra, CanJS, AngularJS, Ring, Webmachine, Yesod, Immutant. Each of these web frameworks brings unique and powerful ideas to bear on building apps.

Embrace the simplicity of Sinatra, which sheds the trappings of large frameworks and gets back to basics with Ruby. Live in the client with CanJS, and create apps with JavaScript in the browser. Be declarative with AngularJS; say what you want, not how to do it, with a mixture of declarative HTML and JavaScript. Turn the web into data with Ring, and use Clojure to make data your puppet. Become a master of advanced HTTP with Webmachine, and focus the power of Erlang. Prove web theorems with Yesod; see how Haskell's advanced type system isn't just for academics. Develop in luxury with Immutant, an enlightened take on the enterprise framework.

Seven Web Frameworks will influence your work, no matter which framework you currently use.

Welcome to a wider web.

Q & A with authors Jack Moffitt and Fred Daoud

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 frameworks that let you get started with very little code and just "use what you need."

We also wanted to include client-side frameworks, because JavaScript on the client is no longer a hodgepodge of code snippets. These frameworks really give us an opportunity to write modular and cleanly-organized code.

What other frameworks did you wish you could have included?

Jack: I think the Play framework would have made a very nice contrast to Yesod, as it also leverages static typing with Scala and has a lot of features. I also wanted to sneak an Elixir-based framework in, but none were quite ready enough at the time since Elixir itself is still changing.

In another universe, we might have done the whole book on front-end frameworks, which are bringing a large number of interesting ideas of their own. There are some excellent and unique ClojureScript frameworks popping up, such as Webfui and Om, and on the other end of the spectrum, Meteor and Derby are doing interesting things for real-time and collaborative apps.

Fred: Node.js would have been an interesting server-side framework to include, but we really wanted to include some client-side frameworks. Certainly, we could have written the book using only JavaScript frameworks, but that was not our goal.

Have any interesting new frameworks appeared since you started writing the book?

Jack: My feed reader is full of saved articles about new frameworks, and more keep appearing every day. A few that I'm planning on exploring soon are Revel, which is written in Go, and Om, which is a ClojureScript framework built on top of core.async. Even though Elixir is a young language, web frameworks are pouring out, like Sugar and Dynamo, and I'll be giving those a spin as well.

Fred: New frameworks keep appearing and it is hard to keep up! Two frameworks I would have liked to explore are total.js, and Pedestal, since Clojure is one of my favorite programming languages.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Seven Web Frameworks in Seven Weeks by Jack Moffitt,Fred Daoud in PDF and/or ePUB format, as well as other popular books in Computer Science & Web Programming. We have over one million books available in our catalogue for you to explore.

Information

Year
2014
ISBN
9781680504767

Table of contents

  1. Seven Web Frameworks in Seven Weeks
  2. For the Best Reading Experience...
  3. Table of Contents
  4. Early Praise for Seven Web Frameworks in Seven Weeks
  5. Foreword
  6. Acknowledgments
  7. Preface
  8. Chapter 1: Sinatra
  9. Chapter 2: CanJS
  10. Chapter 3: AngularJS
  11. Chapter 4: Ring
  12. Chapter 5: Webmachine
  13. Chapter 6: Yesod
  14. Chapter 7: Immutant
  15. Chapter 8: Wrap-Up
  16. Appendix 1: Bibliography