我什么时候应该使用 CMS 而不是从头开始创建网站?
最近我一直在努力学习 ASP.NET.我已经浏览了 ASP.NET 网站上的教程,但在大多数情况下,我是一个完整的初学者.我还一直致力于创建个人网站,我选择使用 CMS Umbraco,因为它基于 ASP.NET.
Lately I've been trying to learn ASP.NET. I've gone through the tutorials on the ASP.NET website, but for the most part I'm a complete beginner. I've also been working on creating a personal website, which I've opted to use the CMS Umbraco because it is based on ASP.NET.
现在我的问题并不是针对 ASP 或 Umbraco.它可以适用于 PHP 和 Drupal 或任何其他网站框架和 CMS.我想知道何时以及为什么应该使用现有的 CMS 技术(Umbraco、Drupal 等)创建网站,以及何时应该使用基础 Web 应用程序框架(如 ASP.NET)从头"创建网站,PHP、JSP等.
Now my questions is not really specific to ASP or Umbraco. It could apply to PHP and Drupal or any other website framework and CMS. I'd like to know when and why a website should be created using an existing CMS technology (Umbraco, Drupal etc..), and when a website should be created from "scratch" using a base web application framework like ASP.NET, PHP, JSP etc..
推荐答案
它在很大程度上依赖于 CMS 的(模块/主题)API,例如,在我看来 Drupal 模块化是它最大的优势,尽管学习 Drupal 本身并不是也可以掉以轻心.我看过很多用 Drupal 做的商业网站,其中大部分看起来都很成功,但它让我想到创建模块、定制模块等的总成本是多少.
It depends heavily on the CMS's (module/theme) API, for instance, one Drupal modularity in my opinion is its greatest strength, although learning Drupal itself is not to be taken lightly either. I've seen a lot of commercial sites done in Drupal, most of them look successful, but it made me think what was the total cost of creating the modules, customizing it, etc.
既然您提到自己是这方面的新手,那么在从头开始创建网站时,请务必考虑所有需要注意的事项:
Since you mention you are a newbie in this stuff, do take in account all the stuff to take care of when you are creating a website from the scracth:
- 安全性(XSS 预防、sql 注入、等等)
- 身份验证
- 灵活的主题系统(除非您将 html 与代码混合使用...祝您好运,尽管 PHP 5 有一些非常好的模板系统可用)
- 数据库层(只需使用 ORM)
- 学习 JavaScript,然后学习 jQuery、MooTools 等.
- 管理面板
- 添加内容管理等内容
但最重要的是,在做某事之前先计划一下.开始只是因为你觉得没有计划你想要什么以及你将如何实施它会产生不确定性,只是太多的疑虑......
But most importantly, plan something before doing it. Starting out just because you feel like without planning what you want and how will you implement it creates uncertainty, just too many doubts...
所以从 CMS 开始,即使是个人网站.有像 Joomla 这样的解决方案!Drupal、SimpleCMS 和一些 django CMS 也在那里.学习 CMS 的语言并开始创建您自己认为合适的模块.始终阅读他们的文档,在询问之前在论坛中搜索,或在 stackoverflow 中搜索此处.真的......只是在这里问......比谷歌搜索更好的解决方案:P
So start with a CMS, even for a personal site. There are solutions like Joomla! Drupal, SimpleCMS, some django CMS are also out there. Learn the language of the CMS and start creating your own module as you see fit. Always read their documentation, search in forums before asking, or search here in stackoverflow. Really.. just ask here.. better than googling for a solution :P
相关文章