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


Python Programming and Visualization for Scientists 2nd Ed

Author: Alex DeCaria and Grant Petty
Publisher: Sundog Publishing
Pages: 372
ISBN: 978-0972903356
Print: 0972903356
Audience: Scientists wanting to use Python
Rating: 2
Reviewer: Mike James
Visualization - a difficult topic and difficult to see how to explain the ideas in a book.



Introducing SQL Server 2019 (Packt)

Author: Kellyn Gorman et al
Publisher: Packt Publishing
Pages: 488
ISBN: 978-1838826215
Print: 1838826211
Kindle: B088BNMRQ4
Audience: SQL Server DBAs and Devs
Rating: 3
Reviewer: Ian Stirk

Each new version of SQL Server introduces new features and enhances others. This book aims to discuss some of these [ ... ]


More Reviews

 

Last Updated ( Saturday, 13 May 2017 )