david.dev


I have spent some time with MongoJS and I quickly noticed that some of the easy operations like delete and update records are not very clearly laid out in the readme so here is my quick guide on how to use MongoJS with Express: Connection var mongojs = re

Read More calendar 23 DezÀmber, 2020

For my end of the year fun project I have spent some time testing the various mongodb drivers available for express. Mongodb: the official driver is not as straightforward as it should Mongose: I cannot understand why you would want to specify a model for

Read More calendar 21 DezÀmber, 2020

Rich text editors (also known as wysiwyg what you see is what you get) are pretty important for every blogging/CMS application, no matter how small. In the past I have been using Medium editor which is pretty good and totally free and open source. I am

Read More calendar 12 DezÀmber, 2020

I just wanted to add a quick update to my previous mini tutorial https://david.dev/Server-side-swift-kitura-mongo-db-tutorial (wow! amost a year) on using MongoDB with a SWIFT server side framework like Kitura or Vapor. First, the official MongoDB Swift

Read More calendar 11 DezÀmber, 2020

Allright last August I moved back to Polka JS but now I am back again to Django 🐍! Why ? Well I think I spent more time in Django to be able to figure out more things than in nodejs/polka or express. A lot of things are very straightforward in Django and

Read More calendar 07 NovÀmber, 2020

Sometime ago I wrote a simple CMS in Go that uses just the default library net/http for routing. One of the benefits of go is that, unlike other languages like python, ruby, nodejs etc. you don’t have to use a framework. The default libraries comes with t

Read More calendar 18 Oktoober, 2020

With Corona numbers going up (again!) all over the world, keeping a safety distance has become pretty much a new social imperative. Under this new normal wearing a Parfum seems less intuitive and certainly not a priority. This said I found that keeping a

Read More calendar 14 SeptÀmber, 2020

It is very easy to like pretty things. Everyone likes them. In the case of website pretty means also modern. There are hundreds of pretty, modern and professional templates or CSS classes to craft a website. I took a different approach and today I “downgr

Read More calendar 19 Auguscht, 2020

Before discussing the options to contact me please note that all the apps and software discussed in the articles are offered “as is” without any warranty or support. I do not collect any personal data, display or display and advertisement. I am thankful f

Read More calendar 19 Auguscht, 2020

Web 🗂David.dev This Website :) (Swift) 🏎Crypto.auto Retro, no-nonsense crypto quotes (NextJS) 📰Neu.sh The first HN clone with Open Dyslexic font (Svelte) 🔐Password.select strong passphrases in Swiss German and Romansh (Javascript, client side) 🌍Flags.lol

Read More calendar 18 Auguscht, 2020

This site is a small blog/journal detailing my experience with coding in various technologies like Swift, Javascript, Svelte, Python (more precisely Django), NodeJS, Golang and PHP 8. It mostly serves as a way to highlight my journey in understanding how

Read More calendar 18 Auguscht, 2020

During the winter holidays I always take some time to explore new technologies.I..

Read More calendar 18 Auguscht, 2020

Both MySQL and MariaDB provide a native way to encrypt and decrypt data using the AES algorithm. I am told by experienced programmers that is not a good idea to store password this way (unless they are hashed) because the decryption key might appear in

Read More calendar 17 Auguscht, 2020

One of the very useful functions in express is res.redirect so that you can easily redirect to a different page. Polka 0.5.0 doesn’t support it out of the box but some digging in GitHub revealed a creative way to do it: app.use(function(req, res, next) {

Read More calendar 17 Auguscht, 2020

Here I am! switching backend again: I am back to Polka JS 💃 The reasons are pretty much the same of my post of last March so now I am here to stay :) I liked the challenge to write my own admin and not having to fight with some Django settings. I still li

Read More calendar 15 Auguscht, 2020

Page 4 / 7

Previous Next