Improved routes
No edit summary
(Updated Edited template to July 12, 2025.)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
<pre>
<pre>
         // Better routes App,MVC,Rest
         // Better routes App,MVC,Rest
         /// APP
         /// APP
         /// http://localhost:5052/Turnkey/AngularApp#/ViewOneThing/11!1          old
         /// http://localhost:5052/Turnkey/AngularApp#/ViewOneThing/11!1          old
         /// http://localhost:5052/App#/ViewAllThings/$null$                      improved
         /// http://localhost:5052/App#/ViewOneThing/11!1                          improved
         ///  
         ///  
         /// MVC
         /// MVC
Line 12: Line 13:
         /// http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1    old
         /// http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1    old
         /// http://localhost:5052/Rest/ViewOneThing/Get?id=11!1                  improved
         /// http://localhost:5052/Rest/ViewOneThing/Get?id=11!1                  improved
         /// http://localhost:5052/Rest/ViewOneThing/Get/11!1                      also improved
         /// http://localhost:5052/Rest/ViewOneThing/Get/11!1                      also improved</pre>Routes have been added, but applications will not use them yet (210314).
</pre>
 
The old routes will still function.
 
In what way are they better? They:
* Are shorter
* Do not show Turnkey brand
* Do not show Angular brand
* Have better order of API and verb for rest
* Have better order of view for MVC
'''Related:''' [[Documentation:Redirection page|Redirection page]]
[[Category:AngularJS]]
[[Category:WebUI]]
{{Edited|July|12|2025}}

Latest revision as of 05:51, 20 January 2025

This page was created by Hans.karlsen@mdriven.net on 2021-03-14. Last edited by Edgar on 2025-01-20.
        // Better routes App,MVC,Rest
        /// APP
        /// http://localhost:5052/Turnkey/AngularApp#/ViewOneThing/11!1           old
        /// http://localhost:5052/App#/ViewOneThing/11!1                          improved
        /// 
        /// MVC
        /// http://localhost:5052/Turnkey/Display/11!1?view=ViewOneThingCopy      old
        /// http://localhost:5052/MVC/ViewOneThingCopy/11!1                       improved
        /// 
        /// Rest
        /// http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1    old
        /// http://localhost:5052/Rest/ViewOneThing/Get?id=11!1                   improved
        /// http://localhost:5052/Rest/ViewOneThing/Get/11!1                      also improved

Routes have been added, but applications will not use them yet (210314).

The old routes will still function.

In what way are they better? They:

  • Are shorter
  • Do not show Turnkey brand
  • Do not show Angular brand
  • Have better order of API and verb for rest
  • Have better order of view for MVC

Related: Redirection page