-
Nicer warning dialogs with Rails and Bootstrap
Ruby on Rails has a very convenient way of presenting a dialog for potentially dangerous tasks that require some confirmation before proceeding. All you have to do is add A problem with those, though, is that most (all?) browsers make the dialogs quite ugly: For Call to Buzz, I wanted to finally have something better.…
-
What is a Single Page Application?
This is a short video describing what a Single Page Application is, how they compare to normal web apps and why they are the future.
-
Isomorphic JavaScript (with ClojureScript) for pre-rendering single-page-applications, part 2
In part 1 I covered the basic problem that SPA (single page applications) face and how pre-rendering can help. I showed how to integrate Nashorn into a Clojure app. In this second part, we’ll get to actually do the rendering as well as improving performance. Without further ado, part 2 of isomorphic ClojureScript. Rendering the…
-
Isomorphic JavaScript (with ClojureScript) for pre-rendering single-page-applications, part 1
I don’t think I have found the ultimate solution for this problem yet but I have reached a level in which I’m comfortable sharing what I have because I believe it’ll be useful for other people tackling the same problem. The reason why I doubt this is the ultimate solution is because it has not…