Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Single-page Web Application Development
  • Table Of Contents Toc
Learning Single-page Web Application Development

Learning Single-page Web Application Development

By : Fernando Monteiro
3 (1)
close
close
Learning Single-page Web Application Development

Learning Single-page Web Application Development

3 (1)
By: Fernando Monteiro

Overview of this book

This book is aimed at web developers who are familiar with frontend technologies like JavaScript, HTML, and CSS, and modern tools like Bower, Yeoman, and Grunt.
Table of Contents (10 chapters)
close
close
9
Index

Scaffolding the application


As already mentioned before, we use as tools as possible that streamline our development process of web applications.

We will start from scratch, using a Yeoman generator called MEAN.JS.

Let's begin; remember that you can download the sample files and follow our evolution. However, I strongly recommend that you follow refactoring step by step for a better understanding.

  1. Create a folder called meanjs-generator, open the terminal inside it, and type:

    npm install -g generator-meanjs
    

    The -g key means general, and you'll need to be the administrator of your machine. Now, we have what we need: the generator.

  2. Type the yo meanjs command and follow the instructions and fill in the answers; the text in light blue is the answer that you must complete, as shown in the following screenshot:

    If you accompany the process on your terminal, you can see that the Bower also already executed these commands and installed all the AngularJS scripts.

    Tip

    All Yeoman generators have their own...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Single-page Web Application Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon