Building Single-page Web Apps with Meteor by Fabian Vogelsteller

By Fabian Vogelsteller

Approximately This Book

Create an entire net web publication from frontend to backend that makes use of in simple terms JavaScript
Understand how internet 2.0 is made through strong browser-based applications
Step-by-step instructional that might convey you ways quick, advanced internet purposes should be built
Who This e-book Is For

If you're a net developer with simple wisdom of JavaScript and need to tackle net 2.0, construct real-time purposes, or just are looking to write a whole program utilizing purely JavaScript and HTML/CSS, this is often the publication for you.

This publication is predicated on Meteor 1.0.

Show description

Read Online or Download Building Single-page Web Apps with Meteor PDF

Similar javascript books

Understanding Ajax Using Javascript To Create Rich Internet Applications

AJAX is scorching, sizzling, scorching! Why? it really is uncomplicated. With AJAX, web builders and architects can create web-based functions that feel and appear like computing device purposes. those are responsive, highly-interactive purposes that signify a brand new breed known as "Rich web purposes" (RIA). This e-book is a advisor to designing, imposing, and debugging AJAX functions.

Plug-In CSS 100 Power Solutions

A hundred CSS energy strategies in a single convenient consultant This useful source includes a hundred ready-to-run CSS plug-ins you should use to create dynamic web pages. all the plug-ins comprise HTML examples and reveal photographs exhibiting particular finish effects you could in achieving instantaneously. tools for utilizing CSS with JavaScript and HTML5 to make web content much more interactive and dynamic also are incorporated.

Instant Node.js Starter

Software your scalable community functions and net providers with Node. js with this booklet and booklet evaluation examine whatever new immediately! a quick, speedy, centred advisor providing quick effects how to use module styles and Node Packet supervisor (NPM) on your purposes realize callback styles in NodeJS comprehend the use Node.

jQuery 2 Recipes A Problem-Solution Approach

JQuery is usually often called the write much less, do extra javascript library. It permits a couple of transparent strains of chic, well-tested, code to switch many pages of complicated hand-coded script, dashing improvement instances and delivering big fee mark downs. you'll find jQuery 2 Recipes problem-solution method of be a very good worth and a feature-packed source as you start to incorporate jQuery on your personal initiatives.

Extra resources for Building Single-page Web Apps with Meteor

Sample text

We will see how to display data and how some parts can be altered using helper functions. We will take a look on adding events, using conditions, and understanding data contexts, all in templates. com/frozeman/ book-building-single-page-web-apps-with-meteor/tree/ chapter1. These code examples will also contain all the style files, so we don't have to worry about adding CSS code along the way. Building HTML Templates Writing templates in Meteor Normally when we build websites, we build the complete HTML on the server side.

This means the change was persistently made to the database. To see Meteor's reactivity across clients, open up another browser window and navigate to http://localhost:3000. update('theCopied_Id', {$set: {title: 'Changed the title again'}}); Database everywhere In Meteor, we can use the browser console to update data, which means that we can update the database from the client. This works because Meteor automatically syncs these changes to the server and updates the database accordingly. This happens because we have the autopublish and insecure core packages added to our project by default.

We can open our browser, navigate to http://localhost:3000, and we should see Hello World. What happens here is that Meteor will look through all the HTML files available in our app's folder, concatenating the content of all and tags, which it finds and serve them to the clients as its index file. If we take a look at the source code of our app, we will see that the tag is empty. This is because Meteor sees the content of the tag as its own templates, which will be injected with its corresponding JavaScript template when the DOM is loaded.

Download PDF sample

Rated 4.69 of 5 – based on 8 votes