Category: Web Development
Create A Basic Todo List Application With The Vue.js Framework
When getting started with a new development technology or framework, a basic todo list style application is often in the examples used for learning. It makes a great example because todo lists often make use of a variety of things such as forms, loops, and other binding events, all while remaining short and easy.
We're going to see how to create a very basic todo list that demonstrates components, form binding, loops, and click events, using the Vue.js JavaScript framework.
Read MorePass Data Between Routes In A Vue.js Web Application
A few weeks ago I had written about creating routes and navigating a Vue.js web application. It was a basic example of getting around in an application.
Often, when building navigation into your application, you'll find that you need to pass data from one screen to another. For example, maybe you're following the master-detail pattern where you have a list of data and you get more information about a particular item in the list by drilling deeper.
We're going to see how to pass data between routes in a Vue.js web application using a router and URL parameters as well as query parameters.
Read MoreProcess File Uploads In Node.js With Hapi Framework
When building a web application, I personally find file uploads to be the most complicated part of the job. For example, how do you accept the files, and what do you do with them after you've received them in the request?
Not too long ago I wrote about accepting file uploads in Node.js sent via Angular. In this example I was using Express and the Multer middleware. What if you're interested in using one of the more modern Node.js frameworks instead of Express?
This time around we're going to explore processing file uploads with Hapi and Node.js.
Read MoreUse A Router To Navigate Between Pages In A Vue.js Application
When building a modern web application, being able to navigate between pages is a necessity. Not to mention it is very important to be able to do so easily. To make this possible, frameworks such as Angular, React, and Vue use what's known as a router and a set of routes. Each possible point of navigation, or page, is a route with its own configuration.
We're going to see how to configure a set of routes and navigate between them using Vue.js and the vue-router library.
Read MoreHandling CORS Related Issues In An Express Framework Node.js Web Application
Proper cross-origin resource sharing (CORS) configuration is one of those things that is completely necessary when building a RESTful API, but also one of those things that is a total pain in the butt when it comes to prototyping an application. CORS related errors are common when testing a web application where the front-end JavaScript layer exists on a different port or host than the API that it tries to access.
Previously I had written about configuring cross-origin resource sharing via a Golang RESTful API, but this time we're going to explore the same using Node.js and Express Framework.
Read MoreHandling CORS In A Golang Web Application
If you've ever spent time building RESTful APIs, you've probably come across cross-origin resource sharing (CORS) issues at some time or another. Often clients will receive errors when trying to interact with an API from a domain or port different from the actual API. Back in the day I had written a hacky article on getting past these CORS issues by manipulating the browser settings. However, it is best to tackle these issues at the source.
We're going to see how to change the cross-origin resource sharing configuration in a Golang web application that uses the mux package.
Read MoreConsume Remote API Data Via HTTP In A Vue.js Web Application
When building a modern web application, chances are that you'll need to consume data from some remote resource, whether it be one that you've built or something someone else built. Sending HTTP requests is one of the more popular ways to send data from client facing applications to RESTful API backends.
We're going to see how to send HTTP requests within a Vue.js web application, using a variety of techniques such as those found in the popular axios and vue-resource libraries.
Read More