Rapid Prototyping with JS
Rapid Prototyping with JS
Agile JavaScript Development
About the Book
UPDATE: This books is available at https://gumroad.com/l/rpjs.
Rapid Prototyping with JS: Agile JavaScript Development is a hands-on book which introduces you to agile JavaScript web and mobile software development using the latest cutting-edge front-end and back-end technologies including:
- Node.js
- MongoDB
- Backbone.js
- Parse.com
- Heroku
- Windows Azure
Practical examples include building multiple versions of the Chat app:
- jQuery + Parse.com JS REST API
- Backbone and Parse.com JS SDK
- Backbone and Node.js
- Backbone and Node.js + MongoDB
The Chat application has all the foundation of a typical web/mobile application: fetching data, displaying it, submitting new data. Other examples include:
- jQuery + Twitter RESP API “Tweet Analyzer”
- Parse.com “Save John”
- Node.js “Hello World”
- MongoDB “Print Collections”
- Derby + Express “Hello World”
- Backbone.js “Hello World”
- Backbone.js “Apple Database”
- Monk + Expres.js “REST API Server”
This book will save you many hours by providing the hand-picked and tested colletion of quick start guides. RPJS has practical examples that allow to spend less time learning and more time building your own applications. Prototype fast and ship code that matters!
Buy Rapid Prototyping with JS on Leanpub for $14.87 or read this and four other JavaScript and Node.js books for $4.87/mo on AnyWhereLib.com.
More info: rpjs.co
This book is also available in print as paperback copy.
Download the free Intro to Backbone.js chapter
Jump to the full Table of Contents
Code examples: github.com/azat-co/rpjs
Table of Contents
-
- What Readers Say
- Rapid Prototyping with JS on the Internet
- Acknowledgment
-
Introduction
- Why RPJS?
- What to Expect
- Who This Book is For
- What This Book is Not
- Prerequisites
- How to Use the Book
- Examples
- Notation
- Terms
- About the Author
-
I Quick Start
-
1. Basics
-
1.1 Front-End Definitions
- 1.1.1 Bigger Picture
- 1.1.2 HyperText Markup Language
- 1.1.3 Cascading Style Sheets
- 1.1.4 JavaScript
-
1.2 Agile Methodologies
- 1.2.1 Scrum
- 1.2.2 Test-Driven Development
- 1.2.3 Continuous Deployment and Integration
- 1.2.4 Pair Programming
-
1.3 Back-End Definitions
- 1.3.1 Node.js
- 1.3.2 NoSQL and MongoDB
- 1.3.3 Cloud Computing
- 1.3.4 HTTP Requests and Responses
- 1.3.5 RESTful API
-
1.1 Front-End Definitions
-
2. Setup
-
2.1 Local Setup
- 2.1.1 Development Folder
- 2.1.2 Browsers
- 2.1.3 IDEs and Text Editors
- 2.1.4 Version Control Systems
- 2.1.5 Local HTTP Servers
- 2.1.6 Database: MongoDB
-
2.1.7 Other Components
- 2.1.7.1 Node.js Installation
- 2.1.7.2 JS Libraries
- 2.1.7.3 LESS App
-
2.2 Cloud Setup
- 2.2.1 SSH Keys
- 2.2.2 GitHub
- 2.2.3 Windows Azure
- 2.2.4 Heroku
- 2.2.5 Cloud9
-
2.1 Local Setup
-
1. Basics
-
II Front-End Prototyping
-
3. jQuery and Parse.com
-
3.1 Definitions
- 3.1.1 JavaScript Object Notation
- 3.1.2 AJAX
- 3.1.3 Cross-Domain Calls
- 3.2 jQuery
- 3.3 Twitter Bootstrap
-
3.4 LESS
- 3.4.1 Variables
- 3.4.2 Mixins
- 3.4.3 Operations
- 3.5 Example of using third-party API (Twitter) and jQuery
- 3.6 Parse.com
- 3.7 Chat with Parse.com Overview
- 3.8 Chat with Parse.com: REST API and jQuery version
- 3.9 Pushing to GitHub
- 3.10 Deployment to Windows Azure
- 3.11 Deployment to Heroku
- 3.12 Updating and Deleting of Messages
-
3.1 Definitions
-
4. Intro to Backbone.js
-
4.1 Setting up Backbone.js App from Scratch
- 4.1.1 Dependencies
- 4.2 Working with Collections
- 4.3 Event Binding
- 4.4 Views and Subviews with Underscore.js
- 4.5 Refactoring
- 4.6 AMD and Require.js for Development
- 4.7 Require.js for Production
- 4.8 Super Simple Backbone Starter Kit
-
4.1 Setting up Backbone.js App from Scratch
-
5. Backbone.js and Parse.com
- 5.1 Chat with Parse.com: JavaScript SDK and Backbone.js version
- 5.2 Deploying Chat to PaaS
- 5.3 Enhancing Chat
-
3. jQuery and Parse.com
-
III Back-End Prototyping
-
6. Node.js and MongoDB
-
6.1 Node.js
- 6.1.1 Building “Hello World” in Node.js
- 6.1.2 Node.js Core Modules
- 6.1.3 Node Package Manager
- 6.1.4 Deploying “Hello World” to PaaS
- 6.1.5 Deploying to Windows Azure
- 6.1.6 Deploying to Heroku
- 6.2 Chat: Run-Time Memory Version
- 6.3 Test Case for Chat
-
6.4 MongoDB
- 6.4.1 MongoDB Shell
- 6.4.2 MongoDB Native Driver
- 6.4.3 MongoDB on Heroku: MongoHQ
- 6.4.4 BSON
- 6.5 Chat: MongoDB Version
-
6.1 Node.js
-
7. Putting It All Together
- 7.1 Different Domain Deployment
- 7.2 Changing Endpoints
- 7.3 Chat Application
- 7.4 Deployment
- 7.5 Same Domain Deployment
-
8. BONUS: Webapplog Articles
-
8.1 Asynchronicity in Node
- 8.1.1 Non-Blocking I/O
- 8.1.2 Asynchronous Way of Coding
- 8.2 MongoDB Migration with Monk
-
8.3 TDD in Node.js with Mocha
- 8.3.1 Who Needs Test-Driven Development?
- 8.3.2 Quick Start Guide
-
8.4 Wintersmith — Static Site Generator
- 8.4.1 Getting Started with Wintersmith
- 8.4.2 Other Static Site Generators
-
8.5 Intro to Express.js: Simple REST API app with Monk and MongoDB
- 8.5.1 REST API app with Express.js and Monk
-
8.6 Intro to Express.js: Parameters, Error Handling and Other Middleware
- 8.6.1 Request Handlers
- 8.6.2 Parameters Middleware
- 8.6.3 Error Handling
- 8.6.4 Other Middleware
- 8.6.5 Abstraction
-
8.7 JSON REST API server with Node.js and MongoDB using Mongoskin and Express.js
- 8.7.1 Test Coverage
- 8.7.2 Dependencies
- 8.7.3 Implementation
- 8.7.4 Conclusion
-
8.8 Node.js MVC: Express.js + Derby Hello World Tutorial
- 8.8.1 Node MVC Framework
- 8.8.2 Derby Installation
- 8.8.3 File Structure
- 8.8.4 Dependencies
- 8.8.5 Views
- 8.8.6 Main Server
- 8.8.7 Derby Application
- 8.8.8 Launching Hello World App
- 8.8.9 Passing Values to Back-End
-
8.1 Asynchronicity in Node
-
Conclusion and Further Reading
- Conclusion
-
Further Reading
- JavaScript resources and free ebooks
- JavaScript books
- Node.js resources and free ebooks
- Node.js books
- Interactive online classes and courses
- Startup books and blogs
-
6. Node.js and MongoDB
Authors have earned$9,883,643writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Learn more about writing on Leanpub
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Top Books
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
Functional Design and Architecture
Alexander GraninSoftware Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
I am a Software Engineer and I am in Charge
Alexis Monville and Michael DoyleI am a Software Engineer and I am in Charge is a real-world, practical book that helps you increase your impact and satisfaction at work no matter who you work with.
In the book, we will follow Sandrine, a fictional character who learns to think in a new way enabling her to take a different course of action.
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Invest In Digital Health - The Medical Futurist's Guide
Dr. Bertalan MeskoArtificial Intelligence and Digital Health are booming. In this book, we explain why now it's a good time to invest in Digital Health and give recommendations on where to invest by looking at the top 24 technological trends we find the most promising.
The Hundred-Page Machine Learning Book
Andriy BurkovEverything you really need to know in Machine Learning in a hundred pages.
Mastering STM32
Carmine NovielloWith more than 600 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the first guide around that introduces the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #3
The Future of Digital Health
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer... - #4
Cisco CCNA 200-301 Complet
4 Books
Ce lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301. - #5
CCDE Practical Studies (All labs)
3 Books
CCDE lab - #6
"The C++ Standard Library" and "Concurrency with Modern C++"
2 Books
Get my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library... - #7
Modern Management Made Easy
3 Books
Read all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization. - #8
Linux Administration Complet
4 Books
Ce lot comprend les quatre volumes du Guide Linux Administration :Linux Administration, Volume 1, Administration fondamentale : Guide pratique de préparation aux examens de certification LPIC 1, Linux Essentials, RHCSA et LFCS. Administration fondamentale. Introduction à Linux. Le Shell. Traitement du texte. Arborescence de fichiers. Sécurité... - #9
Programming with Ease
3 Books
Alle drei Bände der Serie Programming with Ease in einem Paket. Darin findest du alles, was ich dir zu den wichtigsten Phasen der Softwareentwicklung im Hinblick auf Clean Code Development für langfristig hohe Produktivität sagen kann.Im Band Slicing findest du die Anforderungsanalyse im Rahmen eines iterativ-inkrementellen Vorgehensmodells aus... - #10
Vagrant Ansible
2 Books
Unveil the power of Ansible and Vagrant with this bundle at a special price. You'll have everything you need to get started with Vagrant - learn the basics and how to create your virtual development environments, using Ansible as provisioner! About Vagrant Cookbook Vagrant Cookbook is a complete guide to get started with Vagrant and create your...