我什么时候应该使用CMS来从头创建一个网站?

时间:2022-01-19 20:47:29

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.NET。我已经看了关于ASP的教程。NET网站,但在大多数情况下,我是一个完全的初学者。我也一直致力于创建个人网站,我选择使用CMS Umbraco,因为它基于ASP.NET。

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

我的问题并不是针对ASP或Umbraco的。它可以应用于PHP和Drupal或任何其他网站框架和CMS。我想知道使用现有的CMS技术(Umbraco, Drupal等)创建网站的时间和原因,以及使用基本的web应用程序框架(如ASP)“从零开始”创建网站的时间。净、PHP、JSP等。

5 个解决方案

#1


9  

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.

这在很大程度上取决于CMS的(模块/主题)API,例如,我认为Drupal的最大优点是模块化,尽管学习Drupal本身也不是一件容易的事。我见过很多在Drupal上做的商业网站,大多数看起来都很成功,但这让我想到创建模块、定制模块等的总成本是多少。

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:

既然你提到你是这方面的新手,那么当你从scracth创建网站时,一定要考虑到所有要处理的事情:

  • Security (XSS prevention, sql injection, blah blah)
  • 安全性(XSS预防、sql注入等等)
  • 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)
  • 一个灵活的主题系统(除非您将html与代码混合……)祝你好运,尽管有一些很好的模板系统可供PHP 5使用
  • Database Layer (just use an ORM)
  • 数据库层(使用ORM)
  • Learning JavaScript, then learn jQuery, MooTools, etc.
  • 学习JavaScript,然后学习jQuery, MooTools,等等。
  • 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...

但最重要的是,在行动前计划一些事情。仅仅因为你觉得你没有计划你想要什么,你将如何实现它就会产生不确定性,只是太多的怀疑……

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 *. Really.. just ask here.. better than googling for a solution :P

所以从CMS开始,即使是个人网站。有像Joomla这样的解决方案!Drupal, SimpleCMS,一些django CMS也在那里。学习CMS的语言,并开始创建您认为合适的模块。在询问之前,一定要阅读他们的文档,在论坛中搜索,或者在*中搜索。真的. .在这里问. .比谷歌搜索一个解决方案更好:P

#2


6  

You should use a CMS because it's simpler. There are a lot of 'boilerplate' code that you don't need to rewrite. Some CMSes might also contain useful code like user authentication built in. You won't have to roll it your own way, saving time and if you aren't a good programmer, it might also be more secure. Not only that, using a popular CMS means you'll also have a bunch of modules that you can just plug in and use. You can now focus more on the design than the programming in less time.

您应该使用CMS,因为它更简单。有很多“样板”代码不需要重写。一些cms可能还包含一些有用的代码,比如内置的用户身份验证。您不必按照自己的方式来运行它,这样可以节省时间,而且如果您不是一个好的程序员,那么它也可能更安全。不仅如此,使用流行的CMS意味着您还将拥有许多模块,您只需插入并使用它们。现在,您可以在更短的时间内更多地关注设计,而不是编程。

When should you not use a CMS? If a CMS doesn't provide anything you need or it doesn't allow you to do what you envisioned.

什么时候不应该使用CMS?如果CMS没有提供任何你需要的东西,或者它不允许你做你预想的事情。

#3


1  

First of all it depends on whether you intend to build a real-world professional website for commercial purpose. If you do, I have to tell you it takes at least 2 years full time self-study to be able to write a web site like that. Web development is not as simple as it's made out to be (Some ppl say you could manage ASP.Net in 3 months-that's due to ignorance). Not only that, it is extremely logically challenging.

首先,这取决于您是否打算为商业目的构建一个真实的专业网站。如果你这样做了,我必须告诉你,至少要花两年的时间自学才能写出这样的网站。Web开发并不像它所做的那样简单(一些ppl说你可以管理ASP)。3个月后收到——这是由于无知)。不仅如此,它在逻辑上也极具挑战性。

So if you only intend to write one professional web site, the best choice would be to pay someone to do it. You only learn ASP.Net when you intend have have a career.

所以如果你只想写一个专业的网站,最好的选择就是付钱给别人去做。你只学习ASP。当你想要有职业的时候。

CMS website would be enough for personal website, but maybe not professional enough for "tasteful" commercial websites. Its looks and functions all look the same, maybe good enough for local appliance repairs shop, but not good enough if you want to show your business have "taste", which also implies money

CMS网站对于个人网站来说已经足够了,但对于“有品位”的商业网站来说,可能还不够专业。它的外观和功能看起来都一样,可能对当地的家电维修店来说足够好,但如果你想展示你的企业有“品味”,这也意味着钱

#4


1  

The most important feature of the CMS is its simplicity and the management of data.This is why my big sites like stanford, whitehouse etc have their sites on CMS.Managing the data is not an easy task as it seems.

CMS最重要的特性是它的简单性和数据管理。这就是为什么像斯坦福,怀特豪斯这样的大型网站在CMS上有自己的网站。管理数据并不是一件容易的事情。

#5


0  

For me at least it would be better to at least try to create something from scratch I know that they're plenty CMS out there that make things easier but, again ... for me the best way of learning is doing things your self and discover and solve real issues rather than just read about them. if its something for you own and you can afford the developing, troubleshooting testing.. blah blah... do it your self, if its something for a client and you you have a due date I would rather use a CMS or if you want something between a framework such Cake PHP or Codeigniter.

至少对我来说,最好尝试从头开始创造一些东西,我知道他们有很多CMS可以让事情变得更容易,但是……对我来说,最好的学习方式是自己做事情,发现并解决真正的问题,而不是仅仅阅读它们。如果这是你自己的东西,你可以负担开发,故障排除测试等等等等……你自己做吧,如果是客户端,你有到期日,我宁愿用CMS,如果你想要介于PHP或Codeigniter框架之间。

#1


9  

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.

这在很大程度上取决于CMS的(模块/主题)API,例如,我认为Drupal的最大优点是模块化,尽管学习Drupal本身也不是一件容易的事。我见过很多在Drupal上做的商业网站,大多数看起来都很成功,但这让我想到创建模块、定制模块等的总成本是多少。

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:

既然你提到你是这方面的新手,那么当你从scracth创建网站时,一定要考虑到所有要处理的事情:

  • Security (XSS prevention, sql injection, blah blah)
  • 安全性(XSS预防、sql注入等等)
  • 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)
  • 一个灵活的主题系统(除非您将html与代码混合……)祝你好运,尽管有一些很好的模板系统可供PHP 5使用
  • Database Layer (just use an ORM)
  • 数据库层(使用ORM)
  • Learning JavaScript, then learn jQuery, MooTools, etc.
  • 学习JavaScript,然后学习jQuery, MooTools,等等。
  • 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...

但最重要的是,在行动前计划一些事情。仅仅因为你觉得你没有计划你想要什么,你将如何实现它就会产生不确定性,只是太多的怀疑……

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 *. Really.. just ask here.. better than googling for a solution :P

所以从CMS开始,即使是个人网站。有像Joomla这样的解决方案!Drupal, SimpleCMS,一些django CMS也在那里。学习CMS的语言,并开始创建您认为合适的模块。在询问之前,一定要阅读他们的文档,在论坛中搜索,或者在*中搜索。真的. .在这里问. .比谷歌搜索一个解决方案更好:P

#2


6  

You should use a CMS because it's simpler. There are a lot of 'boilerplate' code that you don't need to rewrite. Some CMSes might also contain useful code like user authentication built in. You won't have to roll it your own way, saving time and if you aren't a good programmer, it might also be more secure. Not only that, using a popular CMS means you'll also have a bunch of modules that you can just plug in and use. You can now focus more on the design than the programming in less time.

您应该使用CMS,因为它更简单。有很多“样板”代码不需要重写。一些cms可能还包含一些有用的代码,比如内置的用户身份验证。您不必按照自己的方式来运行它,这样可以节省时间,而且如果您不是一个好的程序员,那么它也可能更安全。不仅如此,使用流行的CMS意味着您还将拥有许多模块,您只需插入并使用它们。现在,您可以在更短的时间内更多地关注设计,而不是编程。

When should you not use a CMS? If a CMS doesn't provide anything you need or it doesn't allow you to do what you envisioned.

什么时候不应该使用CMS?如果CMS没有提供任何你需要的东西,或者它不允许你做你预想的事情。

#3


1  

First of all it depends on whether you intend to build a real-world professional website for commercial purpose. If you do, I have to tell you it takes at least 2 years full time self-study to be able to write a web site like that. Web development is not as simple as it's made out to be (Some ppl say you could manage ASP.Net in 3 months-that's due to ignorance). Not only that, it is extremely logically challenging.

首先,这取决于您是否打算为商业目的构建一个真实的专业网站。如果你这样做了,我必须告诉你,至少要花两年的时间自学才能写出这样的网站。Web开发并不像它所做的那样简单(一些ppl说你可以管理ASP)。3个月后收到——这是由于无知)。不仅如此,它在逻辑上也极具挑战性。

So if you only intend to write one professional web site, the best choice would be to pay someone to do it. You only learn ASP.Net when you intend have have a career.

所以如果你只想写一个专业的网站,最好的选择就是付钱给别人去做。你只学习ASP。当你想要有职业的时候。

CMS website would be enough for personal website, but maybe not professional enough for "tasteful" commercial websites. Its looks and functions all look the same, maybe good enough for local appliance repairs shop, but not good enough if you want to show your business have "taste", which also implies money

CMS网站对于个人网站来说已经足够了,但对于“有品位”的商业网站来说,可能还不够专业。它的外观和功能看起来都一样,可能对当地的家电维修店来说足够好,但如果你想展示你的企业有“品味”,这也意味着钱

#4


1  

The most important feature of the CMS is its simplicity and the management of data.This is why my big sites like stanford, whitehouse etc have their sites on CMS.Managing the data is not an easy task as it seems.

CMS最重要的特性是它的简单性和数据管理。这就是为什么像斯坦福,怀特豪斯这样的大型网站在CMS上有自己的网站。管理数据并不是一件容易的事情。

#5


0  

For me at least it would be better to at least try to create something from scratch I know that they're plenty CMS out there that make things easier but, again ... for me the best way of learning is doing things your self and discover and solve real issues rather than just read about them. if its something for you own and you can afford the developing, troubleshooting testing.. blah blah... do it your self, if its something for a client and you you have a due date I would rather use a CMS or if you want something between a framework such Cake PHP or Codeigniter.

至少对我来说,最好尝试从头开始创造一些东西,我知道他们有很多CMS可以让事情变得更容易,但是……对我来说,最好的学习方式是自己做事情,发现并解决真正的问题,而不是仅仅阅读它们。如果这是你自己的东西,你可以负担开发,故障排除测试等等等等……你自己做吧,如果是客户端,你有到期日,我宁愿用CMS,如果你想要介于PHP或Codeigniter框架之间。