我有一个网络应用程序,在“强势”PHP后端 < /强'和“强势”前端 < /强'上有一些逻辑计算重复,我无法完全将逻辑定位为后端并每次提出AJAX请求,即使有有效的缓存,因为高性能要求和应用程序反应灵敏。
你能建议一个解决这个问题的方法吗?
我有一个网络应用程序,在“强势”PHP后端 < /强'和“强势”前端 < /强'上有一些逻辑计算重复,我无法完全将逻辑定位为后端并每次提出AJAX请求,即使有有效的缓存,因为高性能要求和应用程序反应灵敏。
你能建议一个解决这个问题的方法吗?
如果结果不再被进一步使用,我会把计算逻辑移到前端。
例如:如果您正在做简单的按揭计算,而终端用户在输入付款等之后想要简单的答案。然后使用前端。
另一方面,如果计算的结果必须用网格、电子邮件或数据库等物体在线下进一步使用,那么在后端保持逻辑。
Suppose I would like to depict data flow between two servers in Visio. I have boxes to represent servers and arrows to represent communication / data flow. In this situation: Server A always ...
I m setting up an application, and I m looking into purchasing a license for SQL Server. My question is pretty simple (though may have a complicated answer...) How many users accounts do I really ...
I m currently working with an online application that requires multiple screens/steps in order to complete. The application domain is modeled using an object graph. Persistence to and from a database ...
我有一个网络应用程序,由数据、业务和数据分析项目安排。 随着该系统的发展,所有三个项目都进行了部署,并将其部署在一个一揽子计划中。 ......
Why does the high part of the stack (in Exception.StackTrace) gets truncated? Let s see a simple example: public void ExternalMethod() { InternalMethod(); } public void InternalMethod() { try ...
I would like to know how do i incorporate a feature like wcf within and MVC application. My current idea of the architecture is as follows: EntityFramework -> ASP.NET MVC (Views) ...
I ve moved to a new project team and while going over the codebase, found that the team have created a number of local web services which then get called by server code in other web pages within the ...
I am starting a project to create an "object versioning" feature for our software (.NET 3.5 / SQL Server 2008), basically it needs to do this: a user is looking at a customer: last name is "Smith-...