Over the course of this semester, I’ve run into situations that make me question my own standards about programming. A lot of this has come down to how to do database operation extraction with the idea of having a completely separate driver class inside of the project, using a separate application dedicated to these operations and doing something like RPC or using XML to communicate the query results, having each class know how to run its own queries (be they in the class or attached to a package with stored procedures), or just saying screw it and having a ton of raw queries that do all the lifting somewhere. This question has come from a lot of my time spent at work and the database and package clean-up I’ve been doing for quite some time (somebody has to do it) and that I’ve been working on a few different projects that make me curious about the idea. Plus my final project for GUI Programming this semester is using SQLite with Java (SQLite is still rather new to me so it seems like a fun project). So I have a lot of reasons to question my thoughts and concepts for databases and operating with them.
Yet the other questions have either been really rather dull, like should all if statements have a set of encapsulating braces when they are not needed or should they always be there (rather dull, but makes a big difference in readability.. I went with always, for now), and others are neat in a different way. In my GUI class, the professor uses Moodle to manage the class and her habit is to have every link to a document, such as a tutorial that she finds great or even the assignment pages, must open in a new window. Generally, this wouldn’t bother me in the least as I am used to center-clicking links to open them in a new tab and will only occasionally run into a website that futz up my browser. Thank goodness for browser override on that targeting behaviour. But with Moodle, when you set it to always open in a new window, it checks to see if the page is in a new window, and if it isn’t, it gives you a stupid sh*t-eating-grin error message with a link to the page again. Luckily, you can finally get the page open in a new tab instead of a whole new window but it took two page visits and two clicks to get there because the UI didn’t respect your environment settings. This only amuses me because it’s a UI design class where we spend more time on programming iffy assignments in Java and finally JavaScript at the end of the semester. Thankfully the professor didn’t have time for databases.. might have to throw a fit and likely a few chairs. This is probably the only UI design-related question I’ve had all semester for a UI design class. … Oi. But this issue made me question what I think about how hyperlinks are designed for targeting the web page. Well, first.. let’s break down what the targeting is…
Continue reading →