I was working on a little database on a project I’m working. The issue that arose is the storage of names and addresses. Ideally, I wanted the number of names to be variable, and the person’s birth and death address stored. So this was Draft A.
Continue reading “Names, Addresses and Other Uncertainties”Category Archives: Software Development
Artistic Roadmaps
A few months ago, I decided to start a little after-hours for fun project. I decided that I want to do this in Java, so opened up Eclipse, started creating classes, methods, tests, etc, and hoped that everything I did would eventually work up to something absolutely beautiful. Few weeks later of this, I got stuck, and I get over it.
Continue reading “Artistic Roadmaps”Front-End Separation Of Concerns
From studying object-oriented programming in university, it was drilled into us how different classes separate concerns, and how different layers of an application should serve different purposes e.g. you can’t have database access procedures in a class that deals with the front end page.
But, lo and behold. Something else has been advised from the secret organisation that designs international best practices that everyone should conform to without questioning it.
When developing a web user interface, the html should determine the structure, the stylesheet should determine how the page looks, and javascript should determine the behaviour. These should be separated.
This means that there shouldn’t be any styling beyond the basic structure in the html. There shouldn’t be any click actions in the html.
Truly revolutionary. Changed my life.