Skip to content

Latest commit

 

History

History
540 lines (270 loc) · 15.6 KB

log.md

File metadata and controls

540 lines (270 loc) · 15.6 KB

100 Days Of Code - Log

Day 1: February 21, 2018

Today's Progress: learning and try laravel TDD

Thoughts: Just started Today after a long time of hesitation, I was afraid if I can't continue but .. I feel very excited learning TDD for the first time so I find it a very exciting start to the challenge, I thought TDD needs long time to learn it but I got a good idea to start deeping into testing and now I have a pretty clear idea about it. I hope to enhance my skill in TDD using laravel the next coming days and to complete the challenge successfully.

Link to Tutorial: Thanks to : Krissanawat​ Kaewsanmuang

Link to Work: TDD Blog

Day 2: February 22, 2018

Today's Progress: Still learning about Laravel TDD, and read about Laravel Debugging.

Thoughts: Continue search in laravel TDD, I'm excited learning how to make it faster and preparing for a new project to start Tomorrow.

Link to Tutorial: Test-Driven Laravel from Scratch by Adam Wathan

Day 3: February 23, 2018

Today's Progress: Still studying Laravel TDD (where to start and write the first feature test function ) .. Know about Model Factories and Faker library... Also know about php Doc Blocks. Working on Ticketing System as a trainning on the course just installed the laravel project and wrote a factory definition and 1 function in FeatureTests.

Thoughts: I didn't delve into coding yet .. but I need to read more and more to get an overall idea about how to make a real project.

I understood how to break the project into features.. selecting the main feature and choose it to start MVP project. also I understood how to break the features into small functions to select which tests need to be created.

Before this I was stuck at the phase of large loop of development until reaching the main feature I mean I was thinking in to develop the feature 1 which is the core feature of the MVP it depends on 2,3,4...etc sub features that are not important and not interesting so I lose my enthusiasm while creating migrations for the whole system then creating models...and so on, so I was spending alot of time before getting a working screen.

I'm excited and glad to work using TDD to get things done faster.

Link to Work: Ticketing System

Day 4: February 25, 2018

Today's Progress: Continue studying Laravel TDD (Setting testing config phpunit.xml, Acceptance Test, Unit testing presentation logic) ..

  • read about Wishful thinking programming.

Thoughts: I become faster a bit so it's encouraging me.

Link to Work: Ticketing System

Day 5: February 26, 2018

Today's Progress: Continue studying Laravel TDD (Refacroring tests for speed) ..

  • know Accessors and Mutators

Thoughts: mmm

Link to Work: Ticketing System

Day 6: February 27, 2018

Today's Progress: Continue studying Laravel TDD

  • AsserResponseStatus
  • Query Scopes
  • Factory States.

Thoughts: bad day but I had to do the challenge

Link to Work: Ticketing System

Day 7: February 28, 2018

Today's Progress: Continue studying Laravel TDD

  • Browser Testing vs Endpoint Testing
  • Learn about Stripe checkout using Laravel
  • Write Endpoint test.

Thoughts: Happy working and learning new features within my way to learn TDD It becomes easier day after day.

Link to Tutorials: How to Accept Payments: Stripe Checkout

Link to Work: Ticketing System

Day 8: March 01, 2018

Today's Progress: Continue studying Laravel TDD

  • Encapsulating Relationship Logic in the Model
  • Getting Started with Validation Testing

Thoughts: Very Sleepy Zzzzzz

Link to Work: Ticketing System

Day 9: March 02, 2018

Today's Progress: Continue studying Laravel TDD

  • Disable Exception Handling while run tests.
  • Know new functions [DecodeResponseJson, assertArrayHasKey, Setup function]
  • Create Custom assertion.

Thoughts: I enjoyed coding more then the few past days.

Link to Work: Ticketing System

Day 10: March 04, 2018

Today's Progress: Continue studying Laravel TDD

  • ExpectException annotation
  • Handle failed payments
  • Restrict purchasing tickets to published concerts only and with valid token.

Thoughts:

Link to Work: Ticketing System

Day 11: March 05, 2018

Today's Progress: Continue studying Laravel TDD

  • Finished chapter 3 of the course

Thoughts: No new critical stuff.. but it becomes more clear to think with this way and easy to predict when and which test to write

Link to Work: Ticketing System

Day 12: March 06, 2018

Today's Progress: Reading in Laravel notifications in preparation for an important task. Thoughts: I feel I can't count this day because it's a part of my day work but keep going

Link to Work:

Day 13: March 07, 2018

Today's Progress: Continue studying Laravel TDD

  • Json responses assertions
  • Did some refactoring
  • Read about DDT (Data Driven Testing)

Thoughts: TDD is interesting I love it Link to Tutorial: Data-driven testing with PHPUnit

Link to Work: Ticketing System

Day 14: March 08, 2018

Today's Progress: Continue studying Laravel TDD

  • Refactoring while green state
  • Know the named constructor
  • Improving design

Thoughts: It was pretty difficult to get the idea of green state refactoring from the first time, I was confused

Link to Work: Ticketing System

Day 15: March 09, 2018

Today's Progress: Continue studying Laravel TDD

  • Setting up PhpStorm for laravel with autocompletion.

Thoughts: I get bored so I skippedd the TDD course then started spending the remaining time of the challenge in setting the phpstorm autocomplete and explored my mailing lists of laravel sites.

Link to Tutorial: Setting up PhpStorm for laravel with autocompletion

Day 16: March 10, 2018

Today's Progress: Continue studying Laravel TDD

  • Review the yesterday lessons to better understand them
  • Read about mockery

Thoughts: I was excited and I wanted to continue the lessons after the hour passed, but I stopped to start working to match an important deadline.

Day 17: March 11, 2018

Today's Progress: Continue studying Laravel TDD

  • Subrequests in laravel

Thoughts: Very complex

Day 18: March 13, 2018

Today's Progress: Continue studying Laravel TDD

  • Continue Subrequests testing in laravel

Thoughts:

Day 19: March 14, 2018

Today's Progress: Continue studying Laravel TDD

  • Used Mockery again.
  • Remove Stale Tests.
  • Refactoring

Thoughts: feeling blur.

Link to Work: Ticketing System

Day 20: March 15, 2018

Today's Progress: Reading about stripe cashier in laravel

Thoughts: very sleepy .. complicated stuff .

Day 21: March 16, 2018

Today's Progress: Working on stripe cashier in laravel

Thoughts: Very distracted and anxious today... stuck in a difficult task for me and not confident enough. I hope if I had someone - a friend / coding partner / mentor - who work with me in this tough way of learning.

Link to Tutorial: Coupon Generation With TDD

Day 22: March 18, 2018

Today's Progress: Learned how to generate coupon with stripe gateway... some refactoring skills. Read about Dependency Injection

Thoughts: Amazing lesson from jeffery way.. I was excited while he was refactoring the code and I got the idea easily..

Link to Tutorial: Coupon Generation With TDD

Dependency Injection in PHP

Things Laravel Made Me Believe - Jeffrey Way - Laracon EU 2015

Day 23: March 19, 2018

Today's Progress: Back to Laravel TDD studying , got an idea about Bad Smell concept & Feature Envy

Thoughts: 😴😴💤💤💤 very sleepy .. one of the most difficult days I spent in the challenge after along time awake I was afraid of losing the challenge keep up 💪

Day 24: March 20, 2018

Today's Progress: Repeated the previous day videos of the Laravel TDD Course. and tried to apply on code.

Thoughts: Not bad.. but I need to focus and finish this course ... I hope to move from learning to doing and creating stuff.

Link to Work: Ticketing System

Day 25: March 21, 2018

Today's Progress: Continue Laravel TDD Course, know about new topics

  • Method Injection.
  • Controller Constructor Injection.
  • Inversion of control IOC and DI Dependency Injection.

Thoughts: Interesting day.

Link to Tutorial: Inversion of Control (IoC) and Dependency Injection (DI)

Day 26: March 22, 2018

Today's Progress: Continue Laravel TDD course.. testing stripe

Thoughts:

Link to Tutorial:

Day 27: March 23, 2018

Today's Progress: Watched some videos about refactroing and bad smell code.

  • Watched a talk about ways to advance programming skills.
  • Signed up and trying exercise php on exercism.io.

Thoughts:

Link to Tutorial: 3 Ways To Advance Your Programming Skills

Exercism.io

Day 28: March 24, 2018

Today's Progress: Setup and prepare for new project in laravel

Thoughts:

Link to work: CompanyManagementApp

Day 29: March 26, 2018

Today's Progress: Back to Laravel TDD... finish the stripe testing and try the testing from browser for the first time.

Thoughts:

Link to Tutorial:

Day 30: March 28, 2018

Today's Progress: Worked on laravel project, and watched a meetup about TDD "The Art of Fearless Programming".

Thoughts:

Link to Tutorial: TDD Introduction With Ameer Gaafar (In Arabic)

Day 31: March 29, 2018

Today's Progress: Reading and watching laravel tutorials

  • Queues
  • Eloquent Events

Thoughts: I tried to read from Clean code book but I couldn't continue. Tried to solve php on Exercism.io but also felt bored quickly. I'm distracted and confused too much this week, I hope the next week will be better than this.

Link to Tutorial: Laracasts.com

Day 32: March 31, 2018

Today's Progress: Working on laravel app as application on TDD course.

Thoughts: Interesting day finally, I continued working on my app. I also started learning from other's code for the first time ... I like that.

Link to Work: Transportation-App

Day 33: April 01, 2018

Today's Progress: Exploring many opensource ecommerce projects built on laravel.

Thoughts: Amazing

Links:

Videos:

Day 34: April 02, 2018

Today's Progress: Miscellaneous readings about laravel.

Thoughts:

Links:

Day 35: April 03, 2018

Today's Progress: Read about Repository pattern in laravel, ACL.

Thoughts:

Links:

Day 36: April 05, 2018

Today's Progress: Know about Laratrust.

Thoughts: Verrrry distracted

Links:

Day 37: April 06, 2018

Today's Progress: Learn about Authentication in laravel.

Thoughts:

Links:

Day 38: April 07, 2018

Today's Progress: Learning JWT Authentication in laravel.

Thoughts:

Links:

Day 39: April 09, 2018

Today's Progress: Worked on Ticketing System design related to TDD Course, debugging an issue with jwt-auth.

Thoughts:

Links:

Day 40: April 10, 2018

Today's Progress: Working on JWT and basic auth in laravel.

Thoughts:

Links:

Day 41: April 11, 2018

Today's Progress: Working on JWT and basic auth in laravel, writing unit tests for JWT auth

Thoughts: Enjoy doing custom #Laravel auth, testing JWT-Auth although I find difficulty in figuring out what exactly I need to do and how Hope I can break the mystery Tomorrow BTW I like that writing my thoughts helps me on using the language while doing the #100DaysOfCode challenge

Links:

Day 42: April 13, 2018

Today's Progress: Watched 3 lessons from Laravel TDD course:

  • Contract Tests.
  • Callback Based APIs.
  • Refactoring Towards Duplication.

Thoughts: I'm totally fallen in love with this course, it is very useful further than just learning about TDD, Adam is awesome in making you learn from how he think and presents different thoughts while coding.

Links:

Day 43: April 14, 2018

Today's Progress: Setup new laravel project, created the first TDD test, make the auth and migrations.

Thoughts:

Links: Mini CRM

Day 44: April 16, 2018

Today's Progress: Installing docker.

Thoughts:

Links: Docker for PHP Developers

Day 45: April 17, 2018

Today's Progress: Learning about docker.

Thoughts:

Day 46: April 18, 2018

Today's Progress: Learning about docker.

Thoughts:

Day 47: April 20, 2018

Today's Progress: Worked on the first php app using docker.

Thoughts:

Day 48: April 22, 2018

Today's Progress: Debugging and testing jwt-auth task related to an internship, working on HNG4 internship tasks.

Thoughts: I find difficulty in focus on 1 thing and finish it and thats makes me depressed almost of the time.

Day 49: April 23, 2018

Today's Progress: Worked on a task related to internship.

Thoughts: