使用相同的管理面板创建多个网站 [英] Creating multiple websites with same admin panel
问题描述
我正在开发大约4个产品目录网站.所有网站的功能将相同.但是设计,图像和CSS会有所不同.
所有这四个网站都将使用相同的管理面板,论坛和数据库(MS Access).
我不知道应该创建哪种文件夹结构.
理想情况下,我想创建以下类型的文件夹结构.
(根文件夹)管理网站---->网站1(子文件夹)
---->网站2(子文件夹)
---->网站3(子文件夹)
---->网站4(子文件夹)
根文件夹将包含数据库和所有常见文件(管理页面和论坛的代码).
不幸的是,当我尝试创建这种结构时,Dot Net Didnt允许我在另一个网站内创建一个网站.
任何人都可以建议我应该开发哪种系统,以实现代码的最大可重用性.
我是一名小时间的自由职业者,不能为每个客户建立单独的网站.
我不想使用任何内容管理系统.
非常感谢..
I am working on developing around 4 product catalogue websites. The functionality of all the websites would be same. however the design, images and css would be different.
All the 4 websites will use the same admin panel, forums and database(MS Access) also.
I dont understand what kind of folder structure should I create.
Ideally I would like to create following kind of folder structure.
(Root Folder)Admin Website ---- > Website 1 (subfolder)
---- > Website 2 (subfolder)
---- > Website 3 (subfolder)
---- > Website 4 (subfolder)
Root folder will have the database and all the common files ( Code for admin pages and forums).
Unfortunately, when I tried to create such structure, Dot Net Didnt allow me to create one website inside another.
Can anybody please suggest me what kind of system should I develop for maximum reusability of code.
I am a small time freelancer and cannot afford to build seperate websites for each of my client.
I DO NOT want to use any content management system .
Thanks a lot..
推荐答案
您不需要四个单独的网站即可完成此任务.一个具有不同母版页和主题的通用站点就足够了.
另外,我建议转储Access,它不支持多用户Web应用程序. SQL Server Express的功能更加强大,并为您提供了升级途径.
You don''t need four separate websites to accomplish this. One common site with different master pages and themes would be sufficient.
Also, I recommend dumping Access, it is not designed to support multi-user web applications. SQL Server Express is far more capable and gives you an upgrade path.
这篇关于使用相同的管理面板创建多个网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!