Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Learn Meteor - Node.js and MongoDB JavaScript platform
Learn Meteor - Node.js and MongoDB JavaScript platform
Learn Meteor - Node.js and MongoDB JavaScript platform
Ebook179 pages1 hour

Learn Meteor - Node.js and MongoDB JavaScript platform

Rating: 5 out of 5 stars

5/5

()

Read preview

About this ebook

Be ready for coding away next week using Meteor

You're a developer who knows nothing to Meteor. Which is fine, except that you need to start coding your next application using Meteor.

Don't worry: I have you covered. I've been training hundreds of developers like you during 15 years, and converted my experience into this book. I know from experience teaching what takes more time to learn in Meteor, and will spend time only where appropriate.

Plus this book is packed with exercises which build up into a full project: you develop a small e-commerce application. You’ll allow users to browse for products, add them to their basket, and you’ll also create a full back-end where the site administrators will be able to list, create, modify, and delete products.

Read this book, and you can code your Meteor application within a week.

LanguageEnglish
PublisherArnaud Weil
Release dateJul 30, 2016
ISBN9781536558616
Learn Meteor - Node.js and MongoDB JavaScript platform
Author

Arnaud Weil

Arnaud Weil is a born developper: when he was a kid he was controlling his electric train using an Atari ST and some self-made electronics, then as a teenager created and distributed worldwide one of the first Web browsers for some of the first pocket computers, when the Web was just beginning. In fact, he loves coding. Then came .NET and from 2001 Arnaud has been coding using ASP.NET, WPF, WinForms, Silverlight, WCF, XAML for all kind of applications from factory tools to smarphone applications to house control solutions. When not coding, he teaches fellow developers and provides consulting for development teams to reach their targets in the most efficient way. His status as a freelancer allows him to help his clients with many different projects. As things move on, Arnaud also learned to love HTML5, JavaScript and all the great tools that allow building professional software with those technologies. He puts an emphasis on writing modular, clever programs using agile methods and a bunch of automated testing. But what Arnaud enjoys most is helping other developers: that's why he teaches, speaks, and began writing books.

Read more from Arnaud Weil

Related to Learn Meteor - Node.js and MongoDB JavaScript platform

Related ebooks

Programming For You

View More

Related articles

Reviews for Learn Meteor - Node.js and MongoDB JavaScript platform

Rating: 5 out of 5 stars
5/5

1 rating0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Learn Meteor - Node.js and MongoDB JavaScript platform - Arnaud Weil

    Learn Meteor - Node.js and MongoDB JavaScript platform

    Learn Meteor - Node.js and MongoDB JavaScript platform

    Be ready for coding away next week using Meteor

    Arnaud Weil

    This book is for sale at http://leanpub.com/learnmeteor

    This version was published on 2017-07-07

    publisher's logo

    *   *   *   *   *

    This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do.

    *   *   *   *   *

    © 2016 - 2017 Arnaud Weil

    To my wonderful family. Your love and support fueled this book.

    To my Verallia and Bruitparif clients, whose demanding projects helped me discover and challenge Meteor.

    Table of Contents

    1. Introduction

    1.1 What this book is not

    1.2 Prerequisites

    1.3 How to read this book

    1.4 Tools you need

    1.5 Source code

    2. Why Meteor ?

    2.1 How I felt in love with Meteor

    2.2 Why is Meteor so productive?

    2.3 Where is the catch?

    3. Beginning with Meteor

    3.1 Setting up your development machine

    3.2 Creating a meteor application

    3.3 What are those files ?

    3.4 Meteor is listening to your code

    3.5 The HTML file

    3.6 It’s your turn to code: do-it-yourself

    3.7 Exercise - Create the application

    3.8 Exercise solution

    4. Blaze, Spacebars and reactivity

    4.1 Spacebars

    4.2 Where does the data come from?

    4.3 Helpers

    4.4 Client and server code

    4.5 Organizing things

    4.6 Exercise - Display the current time

    4.7 Exercise solution

    4.8 Reactivity

    4.9 Available blocks

    4.10 Template events

    4.11 Data context

    5. Managing data from a MongoDB database

    5.1 What is MongoDB?

    5.2 Collections

    5.3 Exercise - Manually create a news collection in MongoDB

    5.4 Exercise solution

    5.5 Mongo.Collection

    5.6 Exercise: Display the news

    5.7 Exercise solution

    5.8 Query selectors

    5.9 Updating data with a Mongo.Collection

    5.10 Exercise: Enable adding a piece of news

    5.11 Exercise solution

    5.12 Exercise: Enable users to delete news

    5.13 Exercise solution

    6. Packages: admin dashboard, navigation, validation, forms generation

    6.1 What are packages

    6.2 Searching for and installing packages

    6.3 Back-office management

    6.4 Exercise: Create back-office for data management

    6.5 Exercise solution

    6.6 Navigation

    6.7 Exercise: Enable routing and create a layout

    6.8 Exercise solution

    6.9 Schemas, validation

    6.10 Exercise: Create a collection and schema for the products

    6.11 Exercise solution

    6.12 CRUD forms generation

    6.13 Exercise: Create GUI for the user to display and add products with validation

    6.14 Exercise solution

    6.15 Bootstrap

    6.16 Exercise: Add some style to the application

    6.17 Exercise solution

    7. Accounts: user management

    7.1 Meteor’s account system

    7.2 Exercise: Secure the products management

    7.3 Exercise solution

    8. Going further

    8.1 MiniMongo: you don’t even need MongoDB

    8.2 Exercise: Create and manage a shopping cart

    8.3 Exercise solution

    8.4 Getting out of prototyping

    8.5 Exercise: Remove the autopublish package

    8.6 Exercise solution

    8.7 Exercise: Remove the insecure package

    8.8 Exercise solution

    Definitions

    Bundling

    Minification

    npm

    Spacebars

    A word from the author

    The Learn collection

    1. Introduction

    1.1 What this book is not

    I made my best to keep this book small, so that you can learn Meteor quickly without getting lost in petty details. If you’re looking for a reference book where you’ll find answers to all the questions you may have within the next 4 years of your Meteor practice, you’ll find other heavy books for that.

    My purpose is to swiftly provide you with the tools you need to code your first Meteor application and be able to look for more by yourself when needed. While some authors seems to pride themselves in having the thickest book, in this series I’m glad I achieved the thinnest possible book for my purpose. Though I tried my best to keep all of what seems necessary, based on my 14 years experience of teaching.

    I assume that you know what Meteor is and when to use it. In case you don’t, read the following Why Meteor ? chapter.

    1.2 Prerequisites

    In order for this book to meet its goals, you must :

    Have basic experience creating applications with JavaScript.

    Have working knowledge of HTML.

    Know what a Web application is.

    1.3 How to read this book

    This book’s aim is to make you productive as quickly as possible. For this we’ll use some theory, several demonstrations, plus exercises. Exercises appear like the following:

    Do it yourself: Time to grab your keyboard and code away to meet the given objectives.

    1.4 Tools you need

    The only tools you’ll need to work through that book are:

    A Windows, Linux or OS

    Enjoying the preview?
    Page 1 of 1