A sample news publication application in Yii2 framework
Main Technologies Used:
- Yii2
- Mysql
- Bootstrap
Design Pattern: Hierarchical model–view–controller (HMVC)
Following functionalities has been implemented in the project: User Management:
- Register
- Send Email: (Used PHP Mailer)
- Reset Password
- Login
- Forgot Password
News Publishing:
- Create News
- Delete News
- View Own News
Newsstand:
- See Latest 10 News List
- View Article Detail
- Download article pdf : (Use PDF export library)
News Rss Feed Service:
- An Rss Feed to subscribed to, that includes 10 latest articles
Steps to setup database:
- Create a database : newspublishing
- Import database from Source/newspublishing.sql
- Go to Source\newsstand\common\config\main-local.php and change dbname, username and password according to newly created database
To Run the Source code:
- Copy Folder "newsstand" from Source folder to directory of web server,
- Go to \newsstand\common\config\main-local.php and change mail username and password, if needed
- Access the url http:\localhost\newsstand. localhost can be replaced with domain name.
Work flow and Design:
- Included pdf to describe workflow.
- Included design document to describe code structure and functionality