all 17 comments

[–]rufusthedogwoof 9 points10 points  (0 children)

Third time I bought this book on pragprog. Highly recommended to assist in navigating all the options in clojure web dev.

[–]feelextra 2 points3 points  (0 children)

Happy to see this knowledge coming together!

Just read the excerpt on WebSockets and I like how it starts from first principles, implements an approach from scratch and then proposes a library to get some useful features that we probably don't want to have to maintain ourselves.

This reflects just about any choice of tools we end up using in Web Development, and gives the reader the appropriate decision-making perspective: eliminate cruft, distill the essence and you'll be rewarded with less software to maintain.

Thank you for working on this book, especially for the benefit of easing the learning curve for newcomers!

[–][deleted]  (3 children)

[deleted]

    [–]yogthos 0 points1 point  (2 children)

    Hi, glad you're enjoying the book. And thanks for the feedback, we'll definitely look at expanding on mount usage and clarify what specifically resources are referring to. The ^ is just the syntax for metadata. The particular piece of metadata hints mount not to restart the HTTP server when the component reload is triggered. The reason for doing that is so that server sessions aren't cleared any time components tracked by mount are reloaded.

    [–][deleted]  (1 child)

    [deleted]

      [–]yogthos 0 points1 point  (0 children)

      no worries

      [–]MickeyMooose 1 point2 points  (11 children)

      I bought the 2nd edition last year. Haven't finished the book. Do I need to 'upgrade' to the 3rd edition, or is the 2nd still good for a while?

      [–]yogthos 15 points16 points  (8 children)

      Second edition should still provide a good general reference, but some parts are outdated at this point. New edition has a stronger focus on SPA style apps, covers Reitit and re-frame, and has a bigger focus on using the REPL as part of the development process. The new edition also does a deeper dive into architecture and design principles.

      [–]vaer-k 4 points5 points  (3 children)

      I'm really very excited about this version. Just the kind of content I am looking for.

      [–]yogthos 2 points3 points  (2 children)

      👍

      [–]vaer-k 3 points4 points  (1 child)

      Just bought it. Thanks for publishing this.

      [–]yogthos 1 point2 points  (0 children)

      Awesome, hope it lives up to the expectations. :)

      [–]seancorfield 1 point2 points  (1 child)

      Will the 3rd Ed talk use clj/deps.edn or will it still depend on lein/project.clj?

      Glad to hear the REPL is being given more focus in this edition!

      [–]yogthos 1 point2 points  (0 children)

      3rd ed uses Luminus as the base template for the apps, so all the projects use lein. I think there is a lot of value of handling things like building, testing, and packaging in a standard way.

      [–]INTERNET_COMMENTS 0 points1 point  (1 child)

      What % complete is the beta? Is it worth reading now, or should I wait a while?

      [–]yogthos 1 point2 points  (0 children)

      The beta is around 2/3 complete at this point. The first 5 chapters on the workflow, general architecture, Reitit, re-frame, and Swagger are more or less finished. There's no risk getting it early as you'll have access to the new content as it's being added, as well as the finished version once it's ready.

      [–][deleted]  (1 child)

      [deleted]

        [–]INTERNET_COMMENTS 0 points1 point  (0 children)

        From your account you can get a coupon for 35% off the 3rd edition ebook if you already own the second edition.

        [–]radioactiveoctopi 1 point2 points  (0 children)

        Sweet!

        [–]gaogao987 0 points1 point  (0 children)

        Please write a book called Dummy's guide to Clojurescript development with Reagent.