Building Single-page Web Apps with Meteor Год: 2015 Автор: Fabian Vogelsteller Издательство: Packt Publishing ISBN: 978-1-78398-813-6 Язык: Английский Формат: PDF/EPUB/MOBI/AZW3 Качество: Изначально компьютерное (eBook) (PDF - True. Остальное - Converted) Интерактивное оглавление: Да Количество страниц: 198 Описание: Meteor is the best JavaScript platform on the Web that allows you to build real-time web applications quickly and easily and in pure JavaScript. It comes with a full build process that takes care of everything, from development to production, with no need for configuration. This book takes you from the installation of Meteor to building a fully working web blog (including backend) to create and edit posts. You will start with the basic concepts and folder structure of a Meteor project, learning how Meteor templates work. Learn how to retrieve and send data to the server and manipulate the database content. Routing will later make your example app look and behave like a real website. Next, you'll get to grips with Meteor's reactivity concept that can rerun functions when data changes while you're building your own reactive object, and package it later for drop-in use. After your app is ready, the book continues with ways of deploying your app on different types of servers. Finally, we will take a look at testing packages and the application itself.
Примеры страниц
Оглавление
Preface Chapter 1: Getting Started with Meteor The full-stack framework of Meteor Meteor's requirements Installing Meteor Creating our first app Adding basic packages Variable scopes Meteor's folder conventions and loading order Meteor's command-line tool Chapter 2: Building HTML Templates Writing templates in Meteor Building the basic templates Adding templates and partials Displaying data with template helpers Setting the data context for a template "this" in template helpers and template callbacks Adding events Block helpers Listing posts Spacebars syntax Chapter 3: Storing Data and Handling Collections Meteor and databases Setting up a collection Adding post examples Querying a collection Updating a collection Database everywhere Differences between client and server collections Chapter 4: Controlling the Data Flow Syncing data – the current Web versus the new Web Removing the autopublish package Publishing data Publishing only parts of data Publishing specific fields Lazy loading posts Switching subscriptions Some notes on data publishing Chapter 5: Making Our App Versatile with Routing Adding the iron:router package Setting up the router Switching to a layout template Adding another route Moving the posts subscription to the Home route Setting up the post route Changing the website's title Chapter 6: Keeping States with Sessions Meteor's session object Using sessions in template helpers Rerunning functions reactively Using autorun in a template The reactive session object Chapter 7: Users and Permissions Meteor's accounts packages Adding the accounts packages Adding admin functionality to our templates Creating the template to edit posts Creating the admin user Creating routes for the admin Chapter 8: Security with the Allow and Deny Rules Adding a function to generate slugs Creating a new post Editing posts Restricting database updates Adding a deny rule Adding posts using a method call Calling the method Chapter 9: Advanced Reactivity Reactive programming Building a simple reactive object Creating an advanced timer object Reactive computations Chapter 10: Deploying Our App Deploying on meteor.com Deploying on other servers Outlook Chapter 11: Building Our Own Package The structure of a package Creating our own package Releasing our package to the public Chapter 12: Testing in Meteor Types of tests Testing packages Testing our meteor app Acceptance tests Appendix List of Meteor's command-line tool commands The iron:router hooks Index
До перезалития, торрент был скачан - 528раз.Торрент перезалит. Причина: добавлен Code.
Fabian Vogelsteller - Building Single-page Web Apps with Meteor [2015, PDF/EPUB/MOBI/AZW3, ENG] + Code download torrent for free and without registration
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum