You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2020/05/29 11:30:28 UTC

[sling-whiteboard] branch master updated: More README tweaks

This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new c20e71c  More README tweaks
c20e71c is described below

commit c20e71cbe357586482ed250a259600ad2c3158a8
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri May 29 13:30:22 2020 +0200

    More README tweaks
---
 org.apache.sling.graphql.samples.website/README.md | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/org.apache.sling.graphql.samples.website/README.md b/org.apache.sling.graphql.samples.website/README.md
index 81c0556..2e4bab8 100644
--- a/org.apache.sling.graphql.samples.website/README.md
+++ b/org.apache.sling.graphql.samples.website/README.md
@@ -13,15 +13,12 @@ Java classes used for aggregating or enhancing content and for content queries.
 For now there's no pagination of query results, just arbitrary limits on the number
 of results returned.
 
-## Demo Website
+## Demo Website using server-side GraphQL
 
-A website with rich navigation is implemented with server-side GraphQL queries and client-side
-Handlebars templates for HTML rendering.
+The entry point for the demo website (after starting this as described below) 
+is http://localhost:8080/content/articles 
 
-http://localhost:8080/content/articles is the entry point, after starting
-this as described below.
-
-The articles and some navigation pages are rendered using server-side Handlebars templates,
+The articles and navigation pages are rendered using server-side Handlebars templates,
 which retrieve the aggregated JSON content of the current page by making an internal request
 to the current path with a `.json` extension.
 
@@ -36,7 +33,7 @@ client-side Handlebars templates.
 
 With this we'll get the best of both worlds: server-side queries and rendering for the article
 pages (so that they make sense for Web search engines for example) and client-side queries and
-rendering for the single-page applications that our website needs. Using the same languages
+rendering for the few single-page applications that our website needs. Using the same languages
 (GraphQL and Handlebars) in both cases, with a small amount of Java code to implement
 the content querying and aggregation code.
 
@@ -135,4 +132,4 @@ provide enough information to build meaningful links. Such `DataFetcher` are the
 server-side and client-side GraphQL queries.
 
 For this demo, the `.rawjson` extension provides the default Sling JSON rendering, for comparison or
-troubleshooting purposes.
\ No newline at end of file
+troubleshooting purposes.