将Html / Css / JS导入CMS? [英] Import Html/Css/JS to CMS?

查看:177
本文介绍了将Html / Css / JS导入CMS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我几乎完成了我的网站。页面完全由html,Css和Javascript制成。现在我想要能够在页面上快速,轻松地更改/添加内容。所以当然我需要一个CMS,像Wordpress,drupal或joomla。但我想使用我写的所有的html / css和javascript。所以我的问题是:是否可能导入Html / Css / JS到CMS?我想使用drupal,但任何其他良好的CMS将工作,如果这是可能的。

I'm almost finished with my website. The pages are completely made out of html,Css and Javascript. Now i would like to be able to change/add content really quickly and easily on the page. So of course i would need a CMS for that, something like Wordpress,drupal or joomla. But I want to use all of the html/css and javascript that i wrote. So my question is: is it possible to import Html/Css/JS to a CMS? I would like to use drupal, but any other good CMS will work too if this is possible.

推荐答案

不正确。

大多数CMS都设计有 MVC 架构(或没有任何架构)。 Drupal设计有 PAC 架构。我实际上更喜欢后者。

most CMS are designed with MVC architecture (or with no architecture at all). Drupal is designed with PAC architecture. I actually prefer the latter.

你应该做的是在Drupal(或任何其他CMS)之上设计你的网站。

What you should have done was designing your website on top of Drupal (or any other CMS).

并不是所有的希望都失去了:)
PAC架构将视图与抽象(或 Model )比其他架构(如MVC)更多。这可以使实现您的设计的过程更容易。您应该能够将您的网络设备和您的CMS中的数据推到它。我个人从来没有使用Drupal或Wordpress,但主题你自己的网站不应该太难。我想你需要'重建'你的设计与drupal的主题指南。阅读主题指南这里

Not all hope is lost yet :) PAC architecture separates the Views from the Abstraction (or Model) more than other architectures (like MVC). This could make the process of implementing your design more easily. You should be able to take your web deisgn and 'push' the data from your CMS into it. I personally never worked with Drupal or Wordpress but theming your own site shouldn't be too hard. I guess you'll need to 'rebuild' your design with drupal's theming guidelines. Read the theming guides HERE.

这篇关于将Html / Css / JS导入CMS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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