Tutorials on Web Development, Programming, and Web Design

Example of Get and Post in Express

In Tutorials

In this tutorial, we will create a form which user post their meal preferences to another page so that we can see how to implement Express’s get and post routing methods. GET We start off with...

read more

Using Mustache Templating engine with Express

In Tutorials

To use the Mustache templating engine in Express, you first install the mustache-express package … npm install mustache-express –save and then add the require module… This sets up...

read more

Displaying static files in Express

In Tutorials

If you want the webapp in the last tutorial to display a static image, it would give a 404 error.  To fix this, use the express.static middleware like this … That means that anything placed...

read more

Creating Custom 404 error pages in Express

In Tutorials

To create a custom 404 page indicating “page-not-found” in Express, we add the following to our existing code in previous tutorial… Now when you go to an unknown page URL, you get...

read more

Putting Node Express app on Heroku

In Tutorials

In the last tutorial, we created an simple Hello WorldNode Express app which we will not deploy to Heroku for hosting on the public internet. Step 1: Login to your Heroku hosting account and click...

read more

Tutorial for Hello World in Node Express step-by-step

In Tutorials

In this tutorial, we write a Hello World program in Node.js with ExpressJS.  It assumes that you have already installed Node and are able to run npm. If you’ve installed it long time ago and...

read more

Use REST API to Connect with Mongo with PHP

In Tutorials

After getting your basic understanding of mLab (formerly MongoLabs) from our previous tutorial, we now show you how to connect to the Mongo database on mLab.com using PHP and the REST APIs provided...

read more

Tutorial HTML5 Local Storage

In Tutorials

We will learn about HTML5 local storage in this tutorial.  Local storage is newer technology that can used instead of cookies for storing web app data in user’s browser.  But unlike cookies,...

read more

How to Implement Background Video

In Tutorials

There is currently no such thing as CSS background-video like you have for background-image.   What you really have is regular HTML video using either “position absolute” or...

read more

Learn Web Tutorials is hosted by Hostmonster and design based on Wordpress template by Elegant Themes
All contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.