Web Development with Clojure

Author: Dmitri Sotnikov 
Publisher: Pragmatic Bookshelf
Pages:308 
ISBN: 978-1680500820
Print:1680500821
Kindle: B01KU8O24G
Audience: Clojure Programmers
Rating: 4
Reviewer: Mike James 

Clojure and websites aren't natural partners. Can this book convince otherwise?

Clojure is a Lisp-like language that runs on the JVM. You can probably guess that as a Lisp-like language it probably isn't going to be a very popular one. You might, however, be surprised to learn that it is currently 50th in the TIOBE rankings. While you can't take the TIOBE index as absolute fact, it does give you some idea where a language fits into the ecosystem. If I tell you that languages above Clojure include ActionScript, Hack, LadderLogic, Groovy, Prolog, Scheme and so on. Some of these you probably haven't heard of and ActionScript is a dead language because it is the language of Flash. 

Banner

So while this book might be good, I need to warn you from the start that using Clojure to develop web sites is going to be a lonely occupation. A second small problem is that the software used is something that the author thought up. There is sometimes a big bonus in reading a book by the creator of the software being described but usually only when that software has been massively successful. When this isn't the case the books generally read more like an advertising pitch. This book doesn't read like an advert for the author's own software but it is an unashamed hard sell on Clojure and the Clojure way to create website. 

 

 

 

The book starts off with a basic website implementation. This is where you get all of the components in place. Chapter 2 introduces Luminus, the author's software and Chapter 3 moves on to explaining its architecture.

Chapter 4 is about adding ClojureScript support; ClojureScript compiles to JavaScript.

Chapter 5 moves on to using websockets for real time messaging. Chapter 6 is about implementing REST and Chapter 7 is on database. Finally we have a big example - a picture gallery. The book closes with general topics such as unit testing. There are also five appendixes including a quick Clojure primer, how to use OAuth and non-SQL databases. 

The book is easy to read and there are lots of examples. Some of the example are big and you are going to have to work hard to follow. I also don't think that this is a first book on Clojure you should read. The primer in the appendix isn't enough as Clojure is a somewhat different language - you would probably cope if you already knew Lisp or another Lisp-like language.

Even if you are not interested in using Clojure to implement a website, this is a useful book of practical Clojure example code. 

 

Banner


Wild West To Agile (Addison-Wesley)

Author: Jim Highsmith
Publisher: Addison-Wesley
Pages: 304
ISBN: 978-0137961009
Print: 0137961006
Kindle: B0BXWP88KP
Audience: Adherents of Agile methodology
Rating: 4.5
Reviewer: Alex Denham

The subtitle of this book is Adventures in Software Development Evolution and Revolution and it is personal reminin [ ... ]



Classic Computer Science Problems in Python

Author: David Kopec
Publisher: Manning
Date: March 2019
Pages: 224
ISBN: 978-1617295980
Print: 1617295981
Kindle: ‎ ‎ B09782BT4Q
Level: Intermediate
Audience: Python developers
Category: Python
Rating: 4
Reviewer: Mike James
Classic algorithms in Python - the world's favourite language.


More Reviews

 

Last Updated ( Saturday, 13 May 2017 )