Implementing article reading/writing (ASP.NET)
-
Good day, I've decided to implement articles reading/writing in my webapp. So i sat down and started thinking about how should i accomplish my goal. I came up with the following idea: 1. Article List / Search form 2. Article Add / Edit form 3. Article Detail form. However i'm not quite sure "what is the whole picture behind the scenes". I was thinking of the following: When composing / editing an article there should be a input text control ( Multiline textbox for example ) which acceps HTML. My question here is: Is it acceptable to develope that kind of a control, since only the editors and administrators will be able to access this page. Is that the right way to achieve this ( html gives a really big power when wrtiting article ... but it could be harmful in the wrong hands ) ? The markup will be stored in MS SQL database. When displaying the markup in the article, should i use a "Label" control to achieve this. Since this control is rendered like a it can be really useful to display HTML. Is this the right way ? Thanks in advance. Regards, Hris