short readmes for autoupdate, reload, webapp, webapp-hashing

This commit is contained in:
Geoff Schmidt
2014-10-13 21:23:07 -07:00
parent cdbc57c0ce
commit 25205a2f61
4 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# autoupdate
This package is the heart of Meteor's Hot Code Push functionality. It
has a client component and a server component component. The client
component uses a DDP API provided by the server to subscribe to the
version ID of the most recent build of the app's client. When it sees
that a new version is available, it uses the
[reload](https://atmospherejs.com/meteor/reload) package to gracefully
save the app's state and reload it in place.
`autoupdate` is part of the [Webapp](https://www.meteor.com/webapp)
project.

14
packages/reload/README.md Normal file
View File

@@ -0,0 +1,14 @@
# reload
The `reload` package handles the process of *migrating* an app:
serializing the app's state, then shutting down and restarting the app
(for example, to load updated client code or to move the client
session from one JavaScript virtual machine to another), and finally
restoring its state.
Packages that want to participate in the migration process register
with `reload`. They can make the migration process wait until they are
ready and include whatever state they may possess in the serialization
and deserialization process.
`reload` is part of the [Webapp](https://www.meteor.com/webapp) project.

View File

@@ -0,0 +1,7 @@
# webapp-hashing
This package knows how to hash together all of the elements in a
client resource manifest to produce a build ID that can be used to
determine if a client has the latest code, or if it needs to be
updated. It is used internally by
[webapp](https://atmospherejs.com/meteor/webapp).

View File

@@ -0,0 +1,8 @@
# webapp
The `webapp` package contains the core functionality that makes a
Meteor project into a web application. It is a "value added HTTP
server" that includes not just a web server, but also advanced app
serving functionality like over-the-air mobile app updates and HTML5
Appcache support. For more information, see the [Webapp project
page](https://www.meteor.com/webapp).