摘要
文章以电子商务平台为背景,介绍了无限树型目录的创建方法。无限树型目录是淘宝、阿里巴巴类大型网站的构建基础。是数据结构中树的充分应用。在以前的网站中,通常都是固定目录结构的层数。可以在层中新建任意多的分类,但是不能再添加新的层。不利于网站的扩展和升级。该文论述了实现任意的,无限的树型目录的构建方法。在数据库中设计满足树的表结构,通过三层架构获取数据。最后提取数据显示在页面上。相信对电子商务开发人员有一定帮助。实现代码采用微软的C#语言。
According to the background of the e-commerce paltform,the paper introduces the Application of unlimited directory tree.The unlimited directory tree is the basic of Taobao,Alibaba,etc.and is the full application of the tree.Usually,Fixed directory structure of the layers in the previous website.So you an add new directory in the fixed layer.but you can’t add new layers.This article introduces the realization of arbitrary,unlimited directory tree construction methods.First,design the table structure in the database,use the Three-tier structure get the data from database.last,display the data in the page.The paper is availability to the man who engages on the programming of e-commerce platform.
出处
《电脑知识与技术(过刊)》
2009年第4X期4592-4593,共2页
Computer Knowledge and Technology
关键词
树
电子商务
C#
directory tree
e-commerce
C#