Client Insourcing: Bringing Ops In-House for Seamless Re-engineering of Full-Stack JavaScript Applications

Client Insourcing: Bringing Ops In-House for Seamless Re-engineering of Full-Stack JavaScript Applications
复制标题

DOI:
10.1145/3366423.3380105
复制
发表时间:
2020-04
期刊:
Proceedings of The Web Conference 2020
影响因子:
--
通讯作者:
Kijin An;E. Tilevich
Kijin An;E. Tilevich
中科院分区:
其他
文献类型:
--
作者:
Kijin An;E. Tilevich

文献摘要

被引文献

相似文献

现代web应用程序分布在基于浏览器的客户端和基于云的服务器上。分发提供了对远程资源的访问,这些资源可以通过web访问并由客户端共享。检查和发展web应用程序的复杂性很大程度上在于它们的分布式特性。同样,大多数成熟的程序分析和转换工具只适用于集中式软件。受业务流程重新设计的启发,我们引入了一种类似于web应用程序重新设计的方法。在业务流程重新设计中,远程操作可以内包到内部以重新构建和外包。我们的目标领域是用这种语言实现客户端和服务器代码的全栈JavaScript应用程序。我们的方法是通过Client Insourcing实现的,Client Insourcing是一种新颖的自动重构,可以创建语义上等同的分布式应用程序的集中版本。然后检查、修改和重新分发这个集中的版本,以满足新的需求。在描述了Client Insourcing的设计和实现之后,我们将展示其在处理安全性、可靠性和性能需求变化方面的实用性和价值。通过减少为满足这些需求而执行的重要程序检查和演化任务的复杂性,我们的方法可以成为该领域中web应用程序重新设计的有用帮助。
Modern web applications are distributed across a browser-based client and a cloud-based server. Distribution provides access to remote resources, accessed over the web and shared by clients. Much of the complexity of inspecting and evolving web applications lies in their distributed nature. Also, the majority of mature program analysis and transformation tools works only with centralized software. Inspired by business process re-engineering, in which remote operations can be insourced back in house to restructure and outsource anew, we bring an analogous approach to the re-engineering of web applications. Our target domain are full-stack JavaScript applications that implement both the client and server code in this language. Our approach is enabled by Client Insourcing, a novel automatic refactoring that creates a semantically equivalent centralized version of a distributed application. This centralized version is then inspected, modified, and redistributed to meet new requirements. After describing the design and implementation of Client Insourcing, we demonstrate its utility and value in addressing changes in security, reliability, and performance requirements. By reducing the complexity of the non-trivial program inspection and evolution tasks performed to meet these requirements, our approach can become a helpful aid in the re-engineering of web applications in this domain.