1

我正在编写一个(几乎)“向导”基于网络的项目。基本架构是一个由 Web 客户端使用的 Restful 服务,旨在遵循 HATOAS 方法。由于不是一个轻量级的项目,我正在考虑将项目拆分为三个不同的 SinglePageApplications。对你们来说,这是个好主意吗?如果是这样,在页面之间传递参数的最佳方法是什么?例如。一个页面管理一个“资源A”,你做一些基本的CRUD操作,然后选择其中一个进行下一步:例如。analisys 基于与“资源 A”相关的对象,因此您应该至少传递“资源 A”ID 以及其他一些参数。谢谢,

4

1 回答 1

1

I had a similar project, had to write "Contract Manegement System" for mobile network company, I had login page for 3 type of users - "Admin" , "Manager", "Resposible Person", there were 3 page for these type of users, each of these page represent Single Page Application, that used REST services for interaction with server, and pure JavaScript for passing data into HTML elements, it worked very quickly like desktop application...

于 2013-02-07T21:46:59.800 回答