Project: Web app with TODO app functionality using CodeIgniter PHP Framework
Commit file details
Total time taken in this project = 10+10+30+30+30+15+25+20+30+30+15+15+10+30+20+20+10+20+30+10 = 410 mins or 6 hours 50 mins
Changes are written in chronological order. So the latest commit details are at the bottom of the file.
Commit#1
Modified on: June 14, 2021 Time taken: 10 minutes.
Changes made:
- Downloaded version 3 off codeigniter downloads page
- Extracted it into correct structure in a local machine folder
- Tested its working locally on localhost. It works correctly.
- Just modified a view file on welcome_message.php just for the sake of testing.
Commit#2
Modified on: June 16, 2021 Time taken: 10 minutes.
Changes made:
- Just experimenting with and learning the nuances of mvc architecture.
Commit#3
Modified on: June 17, 2021 Time taken: 30 minutes.
Changes made:
- Learning about Views and Models of MVC architecture
Commit#4
Modified on: June 18, 2021 Time taken: 30 minutes.
Changes made:
- Learning about Models and Database architecture
Commit#5
Modified on: June 19, 2021 Time taken: 30 minutes.
Changes made:
- Learnt to display , the D in CRUD the codeigniter way
- Learnt to insert , the C in CRUD the codeigniter way
- Learnt how to autoload libraries into codeigniter in the autoload.php file. A really powerful way to manage databases!
Commit#6
Modified on: June 20, 2021 Time taken: 30 minutes.
Changes made:
- Learnt to Update, the U in CRUD
- Learnt to delete , the D in CRUD the codeigniter way
- Learning about Template Parser Library
Commit#7
Modified on: June 21, 2021 Time taken: 15 minutes.
Changes made:
- Learning how to pass parameter to view from controller
Commit#8
Modified on: June 22, 2021 Time taken: 25 minutes.
Changes made:
- Learnt how to pass parameter from controller to view
- Also learn how to invoke view from inside controller
- Learning how to use routes. This thing called routing seems to be a cool concept! Lets see.
Commit#9
Modified on: June 23, 2021 Time taken: 20 minutes.
Changes made:
- Learning the concept of routing/routes.
Commit#10
Modified on: June 24, 2021 Time taken: 30 minutes.
Changes made:
- Writing code for C of CRUD
- Fiddling with code and learning.
- Created a snippet for html-boilerplate in sublime text.
Commit#11
Modified on: June 25, 2021 Time taken: 30 minutes.
Changes made:
- Fiddling with and learning the structure of CodeIgniter
- Learning how to use routing in localhost.
Commit#12
Modified on: June 26, 2021 Time taken: 15 minutes.
Changes made:
- Fiddling with code. Understanding how controllers and models react and respond with each other.
- Learnt how to put base_url configuration inside config.php
Commit#13
Modified on: June 27, 2021 Time taken: 15 minutes.
Changes made:
- Tried creating a new controller and view. It worked succesfully.
Commit#14
Modified on: June 30, 2021 Time taken: 10 minutes.
Changes made:
- Starting to understand how to connect routes, controllers and views together
- R aspect of CRUD complete.
Commit#15
Modified on: July 1, 2021 Time taken: 30 minutes.
Changes made:
- Trying and testing and figuring out how control passes from controller to view and then to model and how the control flow takes place
- In the process of writing code for the U aspect of CRUD
Commit#16
Modified on: July 2, 2021 Time taken: 20 minutes.
Changes made:
- Learnt how to create a form using codeigniter's specific form code
- Updated the codeigniter form with data from DB at runtime.
Commit#17
Modified on: July 4, 2021 Time taken: 20 minutes.
Changes made:
- Figuring out if I can write a string to a text file and then read it back in order to debug properly
Commit#18
Modified on: July 4, 2021 Time taken: 10 minutes.
Changes made:
- Trying to learn to use the log_message function.
Commit#19
Modified on: July 5, 2021 Time taken: 20 minutes.
Changes made:
- Figuring out how to handle error logging.
Commit#20
Modified on: July 9, 2021 Time taken: 30 minutes.
Changes made:
- Error handling of Codeigniter seriously sucks. Writing a library for error handling from scratch.
Commit#21
Modified on: July 9, 2021 Time taken: 10 minutes.
Changes made:
- Seems that codeigniter has methods show_error and log_message for displaying errors. But I want to display errors ir realtime. Dunno if codeigniter has that option. Such a popular framework and they dont have error handling capabilities!