Learn Meteor - Node.js and MongoDB JavaScript platform
By Arnaud Weil
5/5
()
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.
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
Learn Kubernetes - Container orchestration using Docker: Learn Collection Rating: 4 out of 5 stars4/5Learn WPF MVVM - XAML, C# and the MVVM pattern Rating: 4 out of 5 stars4/5Learn Kubernetes & Docker - .NET Core, Java, Node.JS, PHP or Python Rating: 0 out of 5 stars0 ratingsLearn ASP.NET MVC Rating: 4 out of 5 stars4/5Learn Microservices - ASP.NET Core and Docker Rating: 0 out of 5 stars0 ratingsLearn ASP.NET Core MVC - Be Ready Next Week Using Visual Studio 2017 Rating: 5 out of 5 stars5/5Learn Docker - .NET Core, Java, Node.JS, PHP or Python: Learn Collection Rating: 5 out of 5 stars5/5
Related to Learn Meteor - Node.js and MongoDB JavaScript platform
Related ebooks
A Pythonic Adventure: From Python basics to a working web app Rating: 0 out of 5 stars0 ratingsBuilding Single-page Web Apps with Meteor Rating: 5 out of 5 stars5/5Mastering MeteorJS Application Development Rating: 4 out of 5 stars4/5Node.js Cookbook: Practical recipes for building server-side web applications with Node.js 22 Rating: 0 out of 5 stars0 ratingsProgramming Backend with Go Rating: 0 out of 5 stars0 ratingsLearning Highcharts 4 Rating: 0 out of 5 stars0 ratingsLearning jqPlot Rating: 0 out of 5 stars0 ratingsUltimate Python Libraries for Data Analysis and Visualization Rating: 0 out of 5 stars0 ratingsJava Persistence with NoSQL: Revolutionize your Java apps with NoSQL integration (English Edition) Rating: 0 out of 5 stars0 ratingsMastering AI App Development with MERN Stack Rating: 0 out of 5 stars0 ratingsUltimate Certified Kubernetes Administrator (CKA) Certification Guide Rating: 0 out of 5 stars0 ratingsUltimate Web Automation Testing with Cypress Rating: 0 out of 5 stars0 ratingsPHP Package Mastery: 100 Essential Tools in One Hour - 2024 Edition Rating: 0 out of 5 stars0 ratingsTrixBox Made Easy Rating: 0 out of 5 stars0 ratingsEarning a living on the Internet Rating: 0 out of 5 stars0 ratingsUltimate Docker for Cloud Native Applications Rating: 0 out of 5 stars0 ratingsModern Web Development with Go Rating: 0 out of 5 stars0 ratingsPython Apps on Visual Studio Code: Develop apps and utilize the true potential of Visual Studio Code (English Edition) Rating: 0 out of 5 stars0 ratingsMachine Learning: Hands-On for Developers and Technical Professionals Rating: 0 out of 5 stars0 ratingsSecure Chains: Cybersecurity and Blockchain-powered Automation Rating: 0 out of 5 stars0 ratingsHello World: Student to Software Professional - a Transformation Guide Rating: 0 out of 5 stars0 ratingsTypeScript Programming In Action: Code Editing For Software Engineers Rating: 0 out of 5 stars0 ratingsThe Power of Virtual Distance: A Guide to Productivity and Happiness in the Age of Remote Work Rating: 0 out of 5 stars0 ratingsObject Thinking Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsArtificial Immune Systems: Fundamentals and Applications Rating: 0 out of 5 stars0 ratingsVMWARE Certified Spring Professional Certification Cased Based Practice Questions - Latest Edition Rating: 0 out of 5 stars0 ratings
Programming For You
Mastering C# and .NET Framework Rating: 5 out of 5 stars5/5JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5JavaScript: Beginner's Guide to Programming Code with JavaScript Rating: 5 out of 5 stars5/5Learn Operating System in 24 Hours Rating: 0 out of 5 stars0 ratingsCoding All-in-One For Dummies Rating: 4 out of 5 stars4/5Deep Learning For Dummies Rating: 0 out of 5 stars0 ratingsLearn Python in 10 Minutes Rating: 4 out of 5 stars4/5C# Programming Illustrated Guide For Beginners & Intermediates: The Future Is Here! Learning By Doing Approach Rating: 0 out of 5 stars0 ratingsThe CSS Guide: The Complete Guide to Modern CSS Rating: 5 out of 5 stars5/5HTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5Beginning C++ Programming Rating: 3 out of 5 stars3/5Learn JavaScript in 24 Hours Rating: 3 out of 5 stars3/5DevOps: Introduction to DevOps and its impact on Business Ecosystem: Introduction to DevOps and its impact on Business Ecosystem Rating: 0 out of 5 stars0 ratingsPython: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Excel 2021 Rating: 4 out of 5 stars4/5JavaScript: Tips and Tricks to Programming Code with Javascript: JavaScript Computer Programming, #2 Rating: 0 out of 5 stars0 ratingsMastering Python Regular Expressions Rating: 5 out of 5 stars5/5Tiny Python Projects: Learn coding and testing with puzzles and games Rating: 4 out of 5 stars4/5
Related categories
Reviews for Learn Meteor - Node.js and MongoDB JavaScript platform
1 rating0 reviews
Book preview
Learn Meteor - Node.js and MongoDB JavaScript platform - Arnaud Weil
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