开发者

What's the best way to implement news system without using wordpress? [closed]

开发者 https://www.devze.com 2022-12-29 03:29 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

I'm a little afraid of using Wordpress because of his connotation "all made", plus my website is 100% hand coded, actually, i use the phpBB but it's not what I want cause visitors have to go out of the website 开发者_如何学Cto go to the forum to see the news.

So how/what can I do to have my own news system management (publish/review/moderate comments)....

Are there tools (i mean except WYSIWYG) / PHP class I can use to implement myself ?


Go ahead, write it yourself! A simple CMS is made up of only a dozen or so files, and only requires PHP and MySQL. My blog engine, which runs, azabani.com, is all hand-written code that took me a couple of days to write.


The problem with a lot of pre-built CMS these days is that they all started out small and overtime eventually grew into bloated piece of software that has more features that an average site will ever need.

Make a list of common features you will need and begin coding. Start off with the basic CRUD system (Create/Read/Update/Delete) and start adding components as you need them.

And there also lot of 3rd party extensions available don't end up re-inventing the wheel.

  • jQuery - Javascript
  • Smarty - Templating to separate source and design
  • phpmailer - Sending mail
  • Zend - Development framework

And I am sure there are lots more.

As a developer there's nothing more comforting than knowing you have full control over the code that you are running.


You can do it yourself but if you prefer to use prebuilt tools there are lots of open source CMS' that you can intergrate into your site.

http://php.opensourcecms.com/

As Delan said though, a simple system for news and comments is pretty simple to implement yourself.


I would say the fastest way would be to install wordpress (if you werre interested in this cms in the first place) but use a posting widget to actually show the post content within your site. If you wanted to stick with the hand coded theme of your site, maybe use one of the dozens of tutorials for example: http://codegrrl.com/category/tutorials/build-a-blog

0

精彩评论

暂无评论...
验证码 换一张
取 消