Building A Simple Web Application With YII2

Photo by Luca Bravo on Unsplash

Building A Simple Web Application With YII2

Understanding YII by building a school based result portal system.

Introduction

I'm starting a blog series to help you understand the basic concepts of YII. The goal is to make you familiar with the framework such that you can get to use it in your next project.

Requirements

To make it easier to follow this blog series, you would need to have:

  • Basic knowledge of HTML, CSS and PHP.

  • Basic knowledge of composer

  • A web server to serve your project (XAMPP or WAMP, if you are on a windows machine)

  • Basic knowledge of OOP.

  • Understanding of MVC architecture.

Project Description

The project we'll be working on is a school's result management portal. It is divided into two sections: the student section and the administrative section.

Students should be able to log into their portal at the end of the project, check their results, and download them in any format they like.

The site would also allow administrators (teachers, professors, etc.) to upload and easily amend student results.

Outline

The project would proceed as follows:

Part 1: Building User Registration

Part 2: Building Login Functionality

Part 3: Building Admin Login Functionality

Part 4: Implementing result upload by admin

Part 5: Allowing users view results on their portal.

Part 6: Final touches and conclusion.

In Closing

I'm writing this blog series to be simple enough for a total beginner to YII framework can understand and follow along easily.

To understand many of the concepts we'll be using in the blog series, it's best to check out YII documentation.

That said, you can dive into the first blog post of the series.