We don't have enough information to create a routing implementation that would work everywhere for everybody. I'm not even sure such a thing could exist. There would probably be different choices for "routes-as-paths" and "routes-as-queries" and probably others. I think the ASDoc app utilizes the only reusable pieces which are how to get the route from the URL and how to set the route on the URL. I would imagine the tutorial would explain that.
-Alex On 1/16/19, 10:56 AM, "Carlos Rovira" <[email protected]> wrote: Very interesting, didn't know we have infrastructure already to do this. I thought we only have ASDoc app that does this, but no reusable API in a SWC to perform routing. Can someone point me to the code? Thanks El mié., 16 ene. 2019 a las 19:31, <[email protected]> escribió: > This is an automated email from the ASF dual-hosted git repository. > > andreww pushed a commit to branch master > in repository https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-docs.git&data=02%7C01%7Caharui%40adobe.com%7Ce2c7b0fc91e14766870b08d67be459d0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636832618014927222&sdata=l5ZQDfPLg4vV3eTBdWcbgvKLZLc4El0cBrl15%2FcQ6UE%3D&reserved=0 > > > The following commit(s) were added to refs/heads/master by this push: > new 9e66e81 Create routing.md > 9e66e81 is described below > > commit 9e66e8132b8229556feba2ada9c98f4bcb2c1e1c > Author: Andrew Wetmore <[email protected]> > AuthorDate: Wed Jan 16 14:31:39 2019 -0400 > > Create routing.md > > Created a stub of this page so visitors do not encounter a > page-not-found error. > --- > .../application-tutorial/routing.md | 27 > ++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/create-an-application/application-tutorial/routing.md > b/create-an-application/application-tutorial/routing.md > new file mode 100644 > index 0000000..b4967a2 > --- /dev/null > +++ b/create-an-application/application-tutorial/routing.md > @@ -0,0 +1,27 @@ > +--- > +# Licensed to the Apache Software Foundation (ASF) under one or more > +# contributor license agreements. See the NOTICE file distributed with > +# this work for additional information regarding copyright ownership. > +# The ASF licenses this file to You under the Apache License, Version 2.0 > +# (the "License"); you may not use this file except in compliance with > +# the License. You may obtain a copy of the License at > +# > +# https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.apache.org%2Flicenses%2FLICENSE-2.0&data=02%7C01%7Caharui%40adobe.com%7Ce2c7b0fc91e14766870b08d67be459d0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636832618014927222&sdata=cxl8LNuZuvKg78TmJ2WN3iE55r0iUc4K%2B6o3jWBCfg8%3D&reserved=0 > +# > +# Unless required by applicable law or agreed to in writing, software > +# distributed under the License is distributed on an "AS IS" BASIS, > +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > +# See the License for the specific language governing permissions and > +# limitations under the License. > + > +layout: docpage > +title: Routing > +--- > + > +# Routing > + > +Instructions and sample code will appear here soon to show how you can > map URL parameters to different initial values in the application, and vice > versa. > + > + > +{:align="center"} > +[Previous > Page](create-an-application/application-tutorial/local-storage.html) > > -- Carlos Rovira https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ce2c7b0fc91e14766870b08d67be459d0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636832618014927222&sdata=%2FsDS5EAIh4pwtKZqxTMLbFOzDdR4l0c6KWmDY0XOI%2FI%3D&reserved=0
