Sunday , 22 October 2017
Home / Tag Archives: all

Tag Archives: all

MongoDB – Node.js Tutorial for Beginners

MongoDB

In this tutorial, we’ll be talking about MongoDB and how we can use it to store our data. MongoDB will provide us with a simple CRUD (Create, Retrieve, Update, Delete) API. Using MongoDB Node.js and MongoDB are 2 completely different things. MongoDB is a database. So, it isn’t installed with Node.js. Node.js also doesn’t support MongoDB out of the box. Luckily, …

Read More »

Views – Node.js Tutorial for Beginners

Views

In this tutorial we’ll be talking about views. By the end of this tutorial, you’ll be able to separate code logic and design easily. I’ll also be introducing a template engine called Handlebars. Handlebars We need to install handlebars before we can use it. What is handlebars? Well, it’s a template engine. Handlebars is beyond the scope of this tutorial …

Read More »

Creating a Hapi Server – Node.js Tutorial for Beginners

Creating a Hapi Server

In this tutorial, we’ll learn about creating a hapi server. We’ll also learn about routing in Hapi and how simple it is to set up a server in seconds. Creating A Server Let’s just get right to it. If you haven’t already, clear out your index.js file and add this bit of code. [crayon-59ec83830125a986978266/] We’re doing a couple of things …

Read More »

Installing Hapi.js – Node.js Tutorial For Beginners

Installing Hapi.js

Let’s get started building our new web application. We’re going to be creating a web blog again, but with more features. For this tutorial, we’ll learn a little more about modules and installing Hapi.js. NPM Earlier in this series, we talked about modules. Modules are just JavaScript files with some code that can do perform  tasks like read files, connect to a …

Read More »

Creating Blog Posts – Node.js Tutorial For Beginners

Creating Blog Posts

In this tutorial, we’re going to finish up our simple web blog application by creating blog posts dynamically. We’ll learn how to handle form data and redirect users. Creating the Form Let’s update our create route with the following code. [crayon-59ec83830248e477331642/] First, we want to determine if the request is a POST or GET request. In HTTP, there are 2 …

Read More »

Conclusion – Advanced JavaScript Tutorial

Conclusion

This tutorial series has covered A LOT of topics. JavaScript is a powerful language. It doesn’t take much time to learn, but years to master. There are a couple of things that you’ll need to learn, but these are things beyond the scope of this tutorial. If you’re wondering where to go next, then you should check out a couple …

Read More »

Request Types – Advanced JavaScript Tutorial

Request Types

Request types only matter when you need to send data along with your request. HTTP headers are meant to store information about the request and the response like the referrer or date it was sent. If you need to send custom data like names, addresses, or just a really long message, then you use form data. Let’s take a look …

Read More »

HTTP Headers – Advanced JavaScript Tutorial

HTTP headers are just pieces of information of the request and response. Browsers will automatically send this kind of information by default. Sometimes you’ll want to modify these HTTP headers so you can let servers know what to expect. Servers also send you back HTTP headers which allow you to know more information about the response itself. Sending Custom Headers …

Read More »

AJAX – Advanced JavaScript Tutorial

AJAX

AJAX stands for Asynchronous JavaScript XML. This can be a bit misleading as you can make AJAX calls be synchronous.  This tutorial requires that you upload and use your files on a live or local server. What is AJAX? Traditional websites would load a different page every time you needed to make a request to a different page or file. …

Read More »

Console Object – Advanced JavaScript Tutorial

Console Object

The console object is the recommended way to log errors, messages, and information about what’s going on. All browsers have consoles and are accessible via the console object. Clear your script and add this bit of code. [crayon-59ec838306658972297530/] To access the console object, will depend on your browser. If you have FireFox, then you must install firebug in order to …

Read More »
ULTIMATE WORDPRESS DEVELOPMENT COURSE
Want to learn how to create your own custom WordPress plugins and themes? Check out my course!
Get 93% off my course. You'll also learn how to integrate WooCommerce and BuddyPress into your projects. This is a limited time offer
Yes, I would like to get 93% off your course!
No Thanks!
close-link