In 2015 the company I was working for wanted us to do an overhaul of the existing UI to give a better user experience. We took it as an opportunity to explore the landscape of JavaScript frameworks, something I’ve done many times. We knew the app would be behind a login, so server side rendering was not important for SEO, freeing up the search space to nearly anything.
We quickly became enamored by ClojureScript, as we already had been considering Clojure for a backend rewrite.
I’ve been using a pattern for loading javascript for specific pages that I would like to share. I have been using it for the past three years across many projects, and has proven to be durable.
It was created in response to three patterns that I saw and disliked.
Back in March, the company I work for was creating a small app and were trying to decide which javascript frame work to use. There was an email chain debating which framework to use. I finally responded, and today a coworker convinced me to post that email:
Was debating if I wanted to take the bait, but I love to argue, so I couldn’t resist.
I am not a fan of pushing the entire rendering process to the client.
This presentation was built with meteor-impress
Seems like I have a hard time being motivated enough to write anything down. There is definitely some overhead in writing my own blog, which is why I moved away from my custom Django blog. From there I have tried a bunch of static site generators powered by git/github (like nanoc, jekyll and webgen). I think switching to a tool that I don’t have to maintain and has features like mobile compatibility or email posting might tip me over the edge.
While trying to install Google v8, I had an error:
I wrote a simple Javascript State Machine.
It is intended for keeping track of what the current state is for my heavy AJAX app at work.
I also learned a lot about OO in javascript without using jQuery or the prototype framework, by using prototypes. I wanted to do that so that it would be framework independent.
Below is a simple example of how I use the state machine, and shows a bit of how I connected it with Really Simple History