• Complain

Dickey - Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js

Here you can read online Dickey - Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2014, publisher: Pearson Education, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Dickey Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js
  • Book:
    Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js
  • Author:
  • Publisher:
    Pearson Education
  • Genre:
  • Year:
    2014
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Traditionally, web applications have been architected so that the back-end houses all the front-end code. This has resulted in heavy projects that are difficult to manage and scale. This book will explain a new way to write web applications by treating the front-end as if it were a third-party (such as a mobile client). This book, written by a practicing MEAN developer, will take a holistic approach to using the MEAN JavaScript platform for creating modern web applications and lay out how to use the MEAN (Mongo, Express, AngularJS, and Node.js) set of tools to create a web application, from installation and setup of the tools to debugging and deploying your app. After an introduction to how web development is changing and the advantages of using the MEAN stack, the author jumps into an introduction to each tool and then dives into using the complete JavaScript-based application stack to build, test, and deploy apps.

Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Write Modern Web Apps with the MEAN Stack

Mongo, Express, AngularJS, and Node.js

DEVELOP AND DESIGN

Jeff Dickey

Picture 1
PEACHPIT PRESS
WWW.PEACHPIT.COM

Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js
Jeff Dickey

Peachpit Press
www.peachpit.com

To report errors, please send a note to
Peachpit Press is a division of Pearson Education.

Copyright 2015 by Jeff Dickey

Editor: Kim Wimpsett
Production editor: David Van Ness
Proofreader: Liz Welch
Technical editor: Joe Chellman
Compositor: Danielle Foster
Indexer: Danielle Foster
Cover design: Aren Straiger
Interior design: Mimi Heft

Notice of Rights

All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. For information on getting permission for reprints and excerpts, contact .

Notice of Liability

The information in this book is distributed on an As Is basis, without warranty. While every precaution has been taken in the preparation of the book, neither the author nor Peachpit shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the computer software and hardware products described in it.

Trademarks

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Peachpit was aware of a trademark claim, the designations appear as requested by the owner of the trademark. All other product names and services identified throughout this book are used in editorial fashion only and for the benefit of such companies with no intention of infringement of the trademark. No such use, or the use of any trade name, is intended to convey endorsement or other affiliation with this book.

ISBN-13: 978-0-13-393015-3
ISBN-10: 0-13-393015-7

9 8 7 6 5 4 3 2 1

Printed and bound in the United States of America

To Mom and Dad,
for sometimes allowing me to sit inside all day on that computer

About the Author

Jeff Dickey is a full-stack web developer with years of startup experience in San Francisco and Los Angeles. Jeff has launched projects, maintained large systems, and led development teams. With more than 10 years of experience on all of the major web platforms, he is continually searching for the latest technology for building applications. Currently Jeff works for Heroku as its first CLI developer. Jeff is also an instructor for General Assembly, teaching a course on back-end web development.

Contents
Preface
Who Is This Book For?

This book is for web developers wanting to learn how building web applications has changed. The book assumes a basic knowledge of JavaScript. Knowledge of Node or Angular is helpful as well but not required.

Why I Wrote This Book

Ive been a web developer since 2004 and have professionally worked with most of the major web platforms. I love to seek out new technology that helps me write my applications better.

Applications built with an MVC framework such as Angular has been the largest paradigm shift that Ive seen in the web community. Frameworks and tools have come and gone, but client-side MVC applications are fundamentally different.

Ive been impressed with the quality of applications that Ive shipped with Angular and Node. The tools are simplesometimes a bit navebut this simplicity comes with the fantastic ability to iterate on features and maintain a codebase.

Applications such as those built with the MEAN stack are becoming more popular, but many development teams still feel comfortable with server-generated pages and relational databases.

Ive had such good luck with MEAN applications that I want to share my knowledge of how to build them with you.

I hope youll enjoy exploring this new method of building applications with me. I love discussing these topics, so feel free to reach out to me on Twitter to continue the conversation.

Jeff Dickey
@dickeyxxx
August 2014

Introduction

The JavaScript community has a strong belief in the power of composability when architecting software. This is in line with the Unix philosophy of simple components that can be used together to quickly build applications.

By no means is this methodology the only one that exists. Ruby on Rails, for example, uses an opinionated framework to make decisions for you about what your application should look like. Opinionated frameworks offer the advantage of being able to quickly learn an application because out of the box it worksyou just need to fill in the gaps. Opinionated frameworks are also easier to learn because there is usually a right way to do something. The downside is that youre limited to building applications that the framework was made for, and moving outside of the use cases the framework was made for can be difficult.

By contrast, the composition methodology is more flexible. Composing simple pieces together has a clear advantage of allowing you to build anything you want. These frameworks provide you with building blocks, and its up to you to decide how to put them together. The downside is mostly in the learning phase. Its difficult to know what is a good idea and what is a bad idea without having experience doing both.

For this reason, its useful to read up on opinionated guides for how to build JavaScript applications. These opinions provide one persons viewpoint on good and bad decisions and give you a road map to what an application should look like.

This book shows you how to build your own MEAN application following my opinions of what a good application should look like. These opinions come from my experience developing applications. While I have a good amount of experience, its unlikely it will fit perfectly with any other one person. For this reason, I find books such as this are useful to learn not just the how of using a tool set but the why as well.

In other words, its useful to know how to use promises in Node but not very useful if you dont understand why theyre useful.

The application you will build is called simply Social App (see .

FIGURE I1 Social app The application is similar to Twitter Users can create - photo 2

FIGURE I.1 Social app

The application is similar to Twitter. Users can create an account and add posts. The feature count is not large but does consist of some neat solutions such as WebSockets that immediately display new posts to all users viewing the application. Ill also go over compiling the CSS and JavaScript assets with Gulp, deploying the application to both Heroku and Digital Ocean, building a clean, maintainable API and more.

Having a newsfeed that displays live, updating content is a pattern that I see on just about every project I work on. I chose this as an example because it is complicated enough to incorporate many different tools but not so complex that you will become bogged down in the minutiae of this specific application.

This application is also easily extensible. I encourage you while reading this book to take the time to not only implement the application as I have done but to build features of your own. Its relatively easy to follow along and build the same application, but you know thats not how software is actually written.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js»

Look at similar books to Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js»

Discussion, reviews of the book Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.