Are you trying to use a FormArray on a dynamic/reactive Angular Form, but it is not working? This should help you solve your problem. Start by setting up a new project: ng new [name your project] Then create the component: ng g component [component name] You should now see something like this: Next, let’s add…
Read more…
Microsoft created the .NET Framework for many of us to write better software that ran on Windows. I’ve spent a good portion of my time developing with .NET Framework code, writing code that ran in web browsers. So ironically, the code did run on a variety of platforms. And with Mono, there was always a…
Read more…
Much of our programming model is based upon the simple concept of putting data into a variable. This sort of programming typically goes by the term “imperative programming”. We are issuing a series of commands; the computer executes the commands. These commands typically are run in some very predictable order. Early programming languages even had…
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…
CouchDB is a NoSQL database solution, which means it supports persistence of data. But you don’t have to spend a lot of time designing the relational structure upfront. This makes starting development with a NoSQL system easier than typical SQL databases because you don’t have to spend time defining relationships. Also, many NoSQL solutions favor…
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…