Serverside Turnkey and MVC functioning
(Created page with "See Turnkey MVC Controllers before reading this article. === MVC to Angular navigation === When navigating from MVC to Angular, two EcoSpaces are needed. The existing MVC...")
 
No edit summary
Line 8: Line 8:
# Send redirect to client to the new page (in MVC)
# Send redirect to client to the new page (in MVC)
# Request for this new MVC page, redirects to Angular
# Request for this new MVC page, redirects to Angular
[[Category:MDriven Turnkey]]
[[Category:MVC]]

Revision as of 13:47, 7 December 2022

This page was created by Lars.olofsson@mdriven.net on 2017-07-03. Last edited by Stephanie@mdriven.net on 2025-02-26.

See Turnkey MVC Controllers before reading this article.

MVC to Angular navigation

When navigating from MVC to Angular, two EcoSpaces are needed. The existing MVC EcoSpace is handed over to the streaming API. This is done because of the need for action continuity, i.e. things done in the MVC action needs to be available in the AngularJS EcoSpace.

Controller sequence for MVC to Angular

  1. MVC Controller receives request on current page
  2. Send redirect to client to the new page (in MVC)
  3. Request for this new MVC page, redirects to Angular