Meteor Design Patterns

 
 
Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 21. Oktober 2015
  • |
  • 184 Seiten
 
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78398-763-4 (ISBN)
 
Accelerate your code writing skills with over twenty programming patterns that will make your code easier to maintain and scaleAbout This BookOptimize your web application for production useBuild views and controllers with minimal effort that will evolve with your applicationLearn how to maintain a MeteorJS project while it is running in productionWho This Book Is ForThis book is for developers who have already had an introductory course with Meteor. Basic knowledge of web development is recommended.What You Will LearnUse of Jade, Stylus, and CoffeeScript to speed up web developmentIncrease productivity by leveraging the best packages in the communityOptimize your site for load speed with advanced publishers and subscribersLeverage the aggregation framework to produce results with big dataMaster the intricacies of front-end development using Jeet, Bootstrap, CSS animations, and moreOptimize your site for search engine visibilitySecure your site with Meteor's best practicesTrack the live status of your application, ensuring all errors have been taken care ofIn DetailWith the increasing interest in NodeJS web applications, a new framework, Meteor, has joined the ranks to simplify developer workflows. Meteor is one of the few open source frameworks that has received funding since its early development stages. It builds on ideas from existing frameworks and libraries, offering developers an easy way to develop a prototype app. At the same time, it gives them the tools and flexibility to build a fully fledged production app. Meteor is the weapon of choice for start-ups in today's world.Meteor Design Patterns cuts through the jargon that most websites play with and gets to the point with simple solutions that will boost your development skills.We start off with a refresher on the basics of JavaScript programming such as templates, CoffeeScript, the Event Loop, and the Merge Box, amongst others. You then learn how to map real-world data and optimize the data's publishers to output data with the least amount of work done by the server with some subscribe and publish patterns. Next, using front-end patterns, you will learn how to create maintainable and trackable forms, and make our site crawlable by any search engine. Following this, you will see how to optimize and secure the web application and maintain applications without breaking other features. Finally, you will learn how to deploy a secure production-ready application while learning to set up modulus, compose with Oplog tracking and SSL certificates, as well as error tracking with Kadira.Throughout the book, you will put your skills to practice and build an online shop from scratch. By the end of the book, you will have built a feature-rich online shop.Style and approachThe book is a practical handbook on how to build an e-commerce web app using Meteor. Every topic ties into the webapp to easily illustrate the concepts that you are learning about.
  • Englisch
  • Birmingham
978-1-78398-763-4 (9781783987634)
1783987634 (1783987634)
weitere Ausgaben werden ermittelt
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewers
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: Getting Started with Meteor
  • CoffeeScript for Meteor
  • Objects and arrays
  • Logical statements and operators
  • Functions
  • Binding
  • Jade for Meteor
  • HTML tags
  • Templates and components
  • Helpers
  • Stylus for Meteor
  • CSS tags
  • Variables
  • Functions/mixins
  • Templates, helpers, and events
  • Templates
  • Helpers
  • Events
  • The event loop and the merge box
  • The event loop
  • The merge box
  • The beginning of our online shop
  • The must-have packages
  • File structure
  • Summary
  • Chapter 2: Publish and Subscribe Patterns
  • Template-level subscriptions
  • Setting up products for the online shop
  • Building the publisher
  • Subscribing to the publisher
  • Database relationships
  • One to one
  • One to many
  • Many to many
  • Publishing with relations
  • Publishing products with images (one to one)
  • Publishing orders with details (one to many)
  • Publishing a tag with products (many to many)
  • Key, foreign key, options, and filter
  • Aggregation publishers
  • The aggregation framework
  • Publishing the results
  • External API publishers
  • The HTTP package
  • Summary
  • Chapter 3: Front-end Patterns
  • Responsive design
  • General settings
  • Bootstrap
  • Jeet grid systems with Rupture
  • Super helpers
  • Defining a Blaze helper
  • Making a global dictionary
  • Variable types
  • Session variables
  • Persistent variables
  • File scope variables
  • The ReactiveVar variables
  • Forms
  • Meteor Methods
  • Autoform
  • Loading data
  • Designing the loading indicator
  • Implementing the loading indicator
  • Animations and transitions
  • Animating with CSS
  • Executing animations in Meteor
  • SEO
  • Prerender.io
  • Using Meta
  • Schema.org
  • Summary
  • Chapter 4: Application Patterns
  • Filtering and paging collections
  • Router gotchas
  • Stateful pagination
  • Filtering
  • Security
  • Roles
  • Collection2
  • Deny rules
  • Custom deny rules
  • The Meteor methods - round 2
  • Managing the wait time
  • Browser policy
  • Framing
  • Content
  • External APIs
  • Synchronization
  • Webhooks
  • Summary
  • Chapter 5: Testing Patterns
  • Behavior tests
  • Unit tests
  • Summary
  • Chapter 6: Deployment
  • Setting up Modulus
  • Setting up Compose
  • Setting up Kadira
  • Setting up an SSL certificate
  • Summary
  • Index

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)

Systemvoraussetzungen:

Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.


Download (sofort verfügbar)

28,05 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung des WebShops erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok