arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.10624cs.SE
收藏

主广度优先开发(PBFD):一种全栈软件开发方法

Primary Breadth-First Development (PBFD): An Approach to Full Stack Software Development

Dong Liu

AI总结:

针对全栈开发现有方法效率不足的问题,提出基于DAG的PBFD等多种开发方法,借助位图消除连接表,经多年生产验证实现零bug、开发与性能大幅提升及存储缩减。

摘要:

全栈软件应用常被简化为基础的CRUD操作,这可能会忽略应对复杂开发挑战所必需的计算机科学精深原理。现有方法论在处理这些复杂性时往往效率不足。本文提出一种创新方法,它利用计算机科学基础原理,具体而言是使用有向无环图(Directed Acyclic Graphs, DAGs),来对复杂业务问题建模。我们引入了广度优先开发(Breadth-First Development, BFD)、深度优先开发(Depth-First Development, DFD)、循环有向开发(Cyclic Directed Development, CDD)、有向无环开发(Directed Acyclic Development, DAD)、主BFD(Primary BFD, PBFD)以及主DFD(Primary DFD, PDFD),以提升应用开发效率。通过采用位图,该方法消除了连接表,使得关系数据库内的数据处理更紧凑、更高效。严格的测试以及面向数万名用户超过八年的生产部署取得了显著成果:零漏洞,开发速度最高提升20倍,性能提升7至8倍,存储需求相比传统方法降至十一分之一。

英文摘要:

Full stack software applications are often simplified to basic CRUD operations, which can overlook the intricate principles of computer science necessary for addressing complex development challenges. Current methodologies frequently fall short in efficiency when managing these complexities. This paper presents an innovative approach that leverages foundational computer science principles, specifically using Directed Acyclic Graphs (DAGs), to model sophisticated business problems. We introduce Breadth-First Development (BFD), Depth-First Development (DFD), Cyclic Directed Development (CDD), Directed Acyclic Development (DAD), Primary BFD (PBFD), and Primary DFD (PDFD), to enhance application development. By employing bitmaps, this approach eliminates junction tables, resulting in more compact and efficient data processing within relational databases. Rigorous testing and over eight years of production deployment for tens of thousands of users have yielded remarkable results: zero bugs, development speed improvements of up to twenty times, performance gains of seven to eight times, and storage requirements reduced to one-eleventh compared to traditional methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑