In a traditional desktop application, the application holds its own data and that data is available whenever we need to present it to the user. In a web application, the data is stored on the web server and the client…
Creating a quiz web application in Delphi, part 1
While surfing the net the other day, I stumbled across a quiz that I decided to take. You know the kind – you are asked a question and you may choose one of typically four alternative answers. After a specific…
Online Version Control with Kiln, part 2
I have now installed a new computer, and needed the source code that I have previously uploaded to my Kiln account (see this post). I therefore installed the Kiln client (log in to the Kiln account, and you will find…
Online Version Control with Kiln
It has been a while since my last post. I blame work, life and the excellent courses at Coursera. I now have a few ideas however, so here we go again. In addition to a few Delphi posts that are…
An introduction to NexusDB
The other day, I did a presentation of NexusDB for my friends in the Göteborg Delphi Meetup Group. After an initial discussion about the history of the database and some comments on the pricing, all of which you can find…
Project 1: Building the parse tree
Now that we have finished our tokenizer, we will look at the second task: building the parse tree. Once we have that, we can ask the tree if a set of strings are a valid match or not. More precisely,…
Project 1: Tokenization
Our tokenizer will perform one task – it will take a sequence of characters and emit a sequence of tokens. We will build it using an input stream from which the source characters are fetched, and then implement specific methods…
Redirecting output from a batch file
For the projects I plan to upload, I am currently creating a simple make file, in the form of a batch file, whose job is to build all my projects. I want it to execute the command-line compiler (currently Delphi’s,…
Book review: Scrum and XP from the trenches
Once in a while, a gem of a book appears on my desk. “Scrum and XP from the trenches” by Henrik Kniberg is such a book. At least I think it is – having never worked in a team that…
First project: parsing
In this first project, we will look at two concepts that are vital to e.g. the compiler you use for writing programs; tokenizing and parsing. Let’s assume you work in an organization that keeps track of e.g. a large number…