I wanna implement a new (article) system that is stored in database. Corresponding table name “page” has following fields: id, url, title, content, available. The url is something you wanna it to appear in the address bar of your browser. For example you have an article having title “Beginning guide to yii” and has id 8 for example and the url is something like this: “beginning-guide-to-yii”. Usually when viewing the article, the url in the address bar looks like this: www.mysite/page/8. So I wanna the url of this article to appear in the address bar like this: www.mysite/page/beginning-guide-to-yii.
How do I achieve this?