I am thinking of developing a blog application. I understand that this has already been done many times. But i like do for learning purpose.
I like to know for this kind of blog app开发者_运维百科lication.
What are the desired features to develop?
Some interesting features that you may want to implement are (in no particular order):
- WYSIWYG editor (use one of the available like TinyMCE) for writing the posts. This is interesting for the sanitisation of input (you may/may not want your posters to be able to use certain HTML tags for instance).
- upload system for images/files that you want to include in posts
- support of comments with possibility of moderation
- voting system for the posts
- "share me" system (note in Google Reader, share on FaceBook, StumbleUpon etc etc.) (but note this :D :D)
- support of tags
- automatic suggestion of tags depending on the post text/title
- support for multiple users with different privileges. For instance you may have various types of users (admins, posters, guests) with different privileges: admins can modify all the posts, posters only their own posts, guest can only read. Other things may include different maximum upload size for the images etc etc
- implementation of linkbacks (trackbacks / pingbacks / refbacks)
I guess this is already plenty of work! Enjoy!!!
First, see the blog-in-15-minutes screencast in Ruby on Rails. This shows you the basic components and features and how to implement them, even if you do not want to use Rails.
精彩评论