简体   繁体   中英

Import Html/Css/JS to 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.

Honestly since you already have the HTML, CSS, and JS done you could just go on to learn PHP. PHP will allow you to break up your HTML pages into small reusable chunks that you can use to build a page. CMS are just programs that help you make a professional looking website while hiding the complexity from you. Most of the popular CMS are written in PHP and if you have the time I would suggest learning PHP for yourself over a CMS. Once you learn a CMS like Wordpress or Drupal you will be dependent on them and will probably not understand how they really work until you learn PHP.

Not Exactly.

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

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

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM