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

  • 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.

主站蜘蛛池模板: 焦作市| 明溪县| 封开县| 沛县| 赣榆县| 正镶白旗| 砚山县| 苗栗县| 贡山| 延津县| 缙云县| 平罗县| 宜良县| 秭归县| 石家庄市| 西乌珠穆沁旗| 建阳市| 峨眉山市| 天峻县| 灵武市| 大厂| 伊通| 固原市| 磐石市| 资讯 | 惠水县| 福海县| 宁河县| 读书| 炉霍县| 浦江县| 邓州市| 石柱| 平顶山市| 兴化市| 泽普县| 桦甸市| 延川县| 望江县| 莱州市| 勃利县|