Improved routes
No edit summary
(Automatically adding template at the end of the page.)
 
(3 intermediate revisions by 2 users not shown)
Line 12: Line 12:
         /// 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</pre>Routes have been added - but applications will not use them yet (210314).
         /// http://localhost:5052/Rest/ViewOneThing/Get/11!1                      also improved</pre>Routes have been added, but applications will not use them yet (210314).


The old routes will still function.
The old routes will still function.
Line 22: Line 22:
* Have better order of API and verb for rest
* Have better order of API and verb for rest
* Have better order of view for MVC
* Have better order of view for MVC
Related: [[Redirection page]]
'''Related:''' [[Documentation:Redirection page|Redirection page]]
[[Category:AngularJS]]
[[Category:AngularJS]]
[[Category:WebUI]]
[[Category:WebUI]]
{{Edited|July|12|2024}}

Latest revision as of 15:35, 10 February 2024

        // 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

This page was edited 97 days ago on 02/10/2024. What links here