Skip to main content

C'est la Z

Tag: webdev

Clojurescript - building a simple router

In this video we'll look at creating a small router. I originally looked at using one of the available libraries to set up routing. I considered reitit and bidi but in the end decided to figure out how to do it myself. It turns out that whenever you change the hash part of a url - everything following a # at the end of a url you get a hashchange event.

Clojurescript Components

I got some positive feedback from my first Clojurescript post and video so I thought I'd continue with the series. Here we'll continue to build a simple Clojurescript/Shadow-cljs/Reagent/Tailwindcss application by creating some reusable components. It's one of the things that make Clojurescript so nice for web development. Here's a link to the GitHub repo with the code: <iframe width="560" height="315" src="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Setting up Linux for Flask Web Development

Those laptops that my Hunter students were supposed to get have finally arrived. We're distributing them on Monday. Each student will have a Dell laptop running Ubuntu 16.04 for as long as they're in the program. This means we can finally start using the web as a way of displaying and sharing our projects. For this type of web development, I'm a big fan of using Flask. Flask is a Python microframework.