“Sufficiency, completeness, and primitiveness – Achieving sufficiency and completeness means ensuring that a software component captures all the important characteristics of an abstraction and nothing more. Primitive- ness means the design should be based on patterns that are easy to implement.” – SWEBOK V3.0, Guide to the Software Engineering Body of Knowledge Primitiveness is a…
Read more…
Yes, JavaScript Events. Without them, the world wide web would be a dystopian wasteland of static HTML. Without them, we’d still be relying on blink and marquee tags to jazz up our LiveJournals. Fortunately, this is not the case. The modern web runs on JavaScript, and JavaScript is driven by events. But what does it…
Read more…
In my previous posts about CouchDB, I have used the same admin user for accessing CouchDB. Bu, CouchDB supports multiple users. we don’t have to use only one user. To create a new user, we can make a simple web call. Here is an example using “postman”. This will create a user and put a…
Read more…
After being out of the loop for the last couple of years on advances in unit testing for component-based web frameworks, I have been pleasantly surprised at the experience and value available in unit testing my front-end code. In this blog post, I am going to walk through how to set up your first Vue…
Read more…
In my previous post, we queried some data in CouchDB. But the problem with that is we need to put some data into the database if we want to query it. Adding data to CouchDB isn’t difficult. You just need to insert another document. Doing so is pretty straightforward. If you want to insert a…
Read more…
In my previous blog post, I did a quick intro to CouchDB. In this post, we will dive into writing some code that uses CouchDB. We will use NodeJS for this application. You could just as easily write this in C# or any language, but for this post I thought I’d play around with NodeJS….
Read more…
As I wrote in my previous blog post, PostgreSQL is a very capable SQL database. But one thing very interesting about PostgreSQL is its excellent support for JSON documents. The ability to store JSON documents in a database basically allows the database to run like a NoSQL document store, effectively combining relational and non-relational into…
Read more…
Writing software applications involves building many components. One of these components is the client, the piece of the application that the user interaction interacts with. Another component is the backend business logic, typically writing that in some server-side technology. The backend business logic enforces the required business rules. But another standard piece of application software…
Read more…
Anyone who does consulting is keenly aware of the importance of time tracking. Harvest is an excellent tool for logging time for projects. It’s the system we use here at Don’t Panic Labs, and we’ve found it to be both low friction and highly valuable. But there may be times when you want to use…
Read more…
There is something really appealing about native applications. As a user, having a “real” application – as opposed to a web application – often feels better. Native applications feel like a real piece of productive software. Maybe that’s why I enjoy working on them. I know that my work will produce something I might enjoy…
Read more…