官术网_书友最值得收藏!

  • ASP.NET 3.5 CMS Development
  • Curt Christianson Jeff Cochran
  • 167字
  • 2021-04-01 14:20:58

Why use a database

That's actually a fair question. After all, there are other storage mechanisms such as XML files, which could be used. But none of the other storage possibilities allow us the flexibility, and especially the programmability, of a database. A modern database is capable of holding many millions of records, while being able to search for and retrieve records fitting specific conditions. Exactly what we need to store for our CMS—the content or data.

Databases provide additional advantages over file-based storage such as our simple CMS or even an XML file. While a file on the system can get fragmented through constant changing, causing slower access times, data in a database can be changed at will without changing the access time. Compared to XML files, which get unwieldy after the size of the file exceeds the available memory resources, databases have near unlimited storage capacity. This means our CMS can scale from a simple family web site to a corporate publishing portal.

主站蜘蛛池模板: 中西区| 益阳市| 清徐县| 揭东县| 万盛区| 湖南省| 石河子市| 盐边县| 乌拉特中旗| 黑河市| 巴里| 平果县| 民县| 明溪县| 玉环县| 田林县| 军事| 浠水县| 南投县| 宜兴市| 安乡县| 长岭县| 砚山县| 榆林市| 崇礼县| 宝清县| 青田县| 山西省| 鄂托克旗| 温州市| 临汾市| 兰西县| 凤城市| 嘉峪关市| 敦煌市| 禄丰县| 大名县| 高邑县| 班戈县| 巴南区| 新河县|