royale-asjs icon indicating copy to clipboard operation
royale-asjs copied to clipboard

Tutorial: write page on routing

Open cottage14 opened this issue 6 years ago • 6 comments

Create instructions and code samples on mapping URL parameters to different initial values in the application, and vice versa.

https://github.com/apache/royale-docs/blob/master/create-an-application/application-tutorial/routing.md

cottage14 avatar Jan 16 '19 18:01 cottage14

@aharui says: "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."

cottage14 avatar Jan 16 '19 19:01 cottage14

@aharui I (as others stated before in various places, I list, Disqus, etc..) think this is important. Routing is something that is inherent today to SPA developments. We don't need to to something that be a solution "to rule them all", but just start some effort that starts in some place. For example something I love in a recent JS application I see was that modules, since are external resources, can be easily given a path, so when we load a module, we can update browser bar address. Then navigation controls could have a bead to do the same...my point is that we don't need to take this as "all-or-nothing", I think people is expecting that we bring something to the plate that starts the effort. Just my 2 ;)

carlosrovira avatar Jan 17 '19 08:01 carlosrovira

We have the routing page here: https://apache.github.io/royale-docs/features/routing

Not sure where the best place for this info is. @cottage14 what do you think?

Harbs avatar Dec 29 '21 22:12 Harbs

It is in the menu under "features and concepts". Is there a better place for it?

On Wed, Dec 29, 2021 at 6:50 PM Harbs @.***> wrote:

We have the routing page here: https://apache.github.io/royale-docs/features/routing

Not sure where the best place for this info is. @cottage14 https://github.com/cottage14 what do you think?

— Reply to this email directly, view it on GitHub https://github.com/apache/royale-asjs/issues/380#issuecomment-1002803458, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3RFXNLZ6H7JK7F27PT2TDUTOGEXANCNFSM4GQO4CXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

-- Andrew Wetmore

Editor, Moose House Publications https://moosehousepress.com Editor-Writer, The Apache Software Foundation https://apache.org

cottage14 avatar Dec 30 '21 18:12 cottage14

My question was because you created a stub above under "application tutorial". Both places make sense, but currently the one under application tutorial is just a stub.

Should we delete that and close this issue or somehow cross-pollinate? Or maybe move it to tutorial?

Harbs avatar Dec 30 '21 18:12 Harbs

Ah. I will go look. I think the information should not hide in a tutorial, but that the tutorial could reference it in a link. I will try to figure out where it can best do that

On Thu, Dec 30, 2021 at 2:50 PM Harbs @.***> wrote:

My question was because you created a stub above under "application tutorial". Both places make sense, but currently the one under application tutorial is just a stub.

Should we delete that and close this issue or somehow cross-pollinate? Or maybe move it to tutorial?

— Reply to this email directly, view it on GitHub https://github.com/apache/royale-asjs/issues/380#issuecomment-1003144349, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3RFXJETJLXHMMRVQ7RDM3UTSSWVANCNFSM4GQO4CXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

-- Andrew Wetmore

Editor, Moose House Publications https://moosehousepress.com Editor-Writer, The Apache Software Foundation https://apache.org

cottage14 avatar Dec 30 '21 18:12 cottage14