From 3916991bc2ae7c96c9dbdd5293dfa4f4a72e7a32 Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Tue, 2 Sep 2014 19:42:39 -0700 Subject: [PATCH 1/3] Add documentation for WebApp.connectHandlers --- docs/client/concepts.html | 2 +- docs/client/docs.js | 3 ++- docs/client/packages.html | 1 + docs/client/packages/webapp.html | 41 ++++++++++++++++++++++++++++++++ 4 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 docs/client/packages/webapp.html diff --git a/docs/client/concepts.html b/docs/client/concepts.html index 06568f0f4d..5e91b50b08 100644 --- a/docs/client/concepts.html +++ b/docs/client/concepts.html @@ -29,7 +29,7 @@ Meteor is two things: * A _library of packages_: pre-written, self-contained modules that you might need in your app.
There are about a dozen core Meteor -packages that most any app will use (for example `webapp`, which +packages that most any app will use (for example [`webapp`](#webapp), which handles incoming HTTP connections, and `templating`, which lets you make HTML templates that automatically update live as data changes). Then there are optional packages like `email`, which lets your app diff --git a/docs/client/docs.js b/docs/client/docs.js index d00f13d2e0..dc8e15834f 100644 --- a/docs/client/docs.js +++ b/docs/client/docs.js @@ -402,7 +402,8 @@ var toc = [ "spiderable", "stylus", "showdown", - "underscore" + "underscore", + "webapp" ] ], "Command line", [ [ diff --git a/docs/client/packages.html b/docs/client/packages.html index 9a903657e1..d835975ee6 100644 --- a/docs/client/packages.html +++ b/docs/client/packages.html @@ -36,6 +36,7 @@ Meteor Development Group maintains the following packages: {{> pkg_stylus}} {{> pkg_showdown}} {{> pkg_underscore}} +{{> pkg_webapp}} {{/markdown}} diff --git a/docs/client/packages/webapp.html b/docs/client/packages/webapp.html new file mode 100644 index 0000000000..3a49cba772 --- /dev/null +++ b/docs/client/packages/webapp.html @@ -0,0 +1,41 @@ + \ No newline at end of file From 9472d7deeaeb4d7691f236d4e9f8bb9c188dffbc Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Thu, 4 Sep 2014 13:44:42 -0700 Subject: [PATCH 2/3] Improve documentation for webapp --- docs/client/packages/webapp.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/client/packages/webapp.html b/docs/client/packages/webapp.html index 3a49cba772..b18c440693 100644 --- a/docs/client/packages/webapp.html +++ b/docs/client/packages/webapp.html @@ -2,9 +2,15 @@ {{#markdown}} ## `webapp` -This package allows you to add handlers for HTTP requests to your app. This lets -other services access your app's data through an HTTP API, allowing it to easily -interoperate with tools and frameworks that don't yet support DDP. +The `webapp` package is what lets your Meteor app serve content to a web +browser. It is included in the `meteor-platform` set of packages that is +automatically added when you run `meteor create`. You can easily build a +Meteor app without it - for example if you wanted to make a command-line +tool that still used the Meteor package system and DDP. + +This package also allows you to add handlers for HTTP requests. +This lets other services access your app's data through an HTTP API, allowing +it to easily interoperate with tools and frameworks that don't yet support DDP. `webapp` exposes the [connect](https://github.com/senchalabs/connect) API for handling requests through `WebApp.connectHandlers`. From 6cc93c11a381af4a0f00172d0f28d8032d864185 Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Thu, 4 Sep 2014 17:15:50 -0700 Subject: [PATCH 3/3] Bump the dev bundle to include jsdoc --- docs/.meteor/versions | 4 ++-- meteor | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/.meteor/versions b/docs/.meteor/versions index 20b0739bcd..1077d139f8 100644 --- a/docs/.meteor/versions +++ b/docs/.meteor/versions @@ -10,7 +10,6 @@ code-prettify@1.0.0 coffeescript@1.0.2 ctl-helper@1.0.2 ctl@1.0.0 -ddp@1.0.7 ejson@1.0.1-rc0 follower-livedata@1.0.0 geojson-utils@1.0.0 @@ -21,12 +20,13 @@ jquery-waypoints@1.0.0 jquery@1.0.0 json@1.0.0 less@1.0.7-rc0 +livedata@1.0.8-rc0 logging@1.0.2 meteor-platform@1.0.1-rc0 meteor@1.0.3-rc0 minifiers@1.0.2 minimongo@1.0.2-rc0 -mongo@1.0.3 +mongo-livedata@1.0.4-rc0 observe-sequence@1.0.2-rc0 ordered-dict@1.0.0 random@1.0.0 diff --git a/meteor b/meteor index 6a0ce87e63..4e1f16d457 100755 --- a/meteor +++ b/meteor @@ -1,6 +1,6 @@ #!/bin/bash -BUNDLE_VERSION=0.3.50 +BUNDLE_VERSION=0.3.51 # OS Check. Put here because here is where we download the precompiled # bundles that are arch specific.