我应该何时使用CMS从头开始创建网站? [英] When should I use a CMS over creating a website from scratch?

查看:228
本文介绍了我应该何时使用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.

因为你提到你是这个东西的新手,请记住所有的东西,当你从scracth创建一个网站:

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注入,blah blah)

  • 验证

  • 灵活的主题系统html with code ...好运,虽然有一些非常好的模板系统可用于PHP 5)

  • 数据库层(只使用ORM)

  • <
  • 管理面板

  • 添加类似内容管理的内容

  • Security (XSS prevention, sql injection, blah blah)
  • Authentication
  • A flexible theme system (unless you mix html with code... good luck, although there are some really nice template system available for PHP 5)
  • Database Layer (just use an ORM)
  • Learning JavaScript, then learn jQuery, MooTools, etc.
  • Administration panel
  • Adding stuff like content management

但最重要的是,在做之前先做好计划。开始只是因为你觉得没有计划你想要什么,你将如何实现它会产生不确定性,太多的怀疑...

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中搜索这里。真的..只是问这里..比googling一个解决方案: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

这篇关于我应该何时使用CMS从头开始创建网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆