5 Habits That Made Me a Better Developer

Agam More
Agam More
Sep 27, 2018 · 7 min read
Rad, another generic programmers photo. Photo by Annie Spratt on Unsplash

Create a “todo.md” routine

“Todo” — Photo by STIL on Unsplash
- Add a user flow (login, register, forgot password)
https://laravel.com/docs/5.7/authentication
- Move all URLs of static files to point to a CDN.
https://github.com/Vinelab/cdn
- Add a login by Facebook 
https://developers.facebook.com/docs/facebook-login/web
https://github.com/laravel/socialite
- Move all URLs of static files to point to a CDN.
https://github.com/Vinelab/cdn

Create a useful.md

Artisan:
Clear Cache
`composer dump-autoload`
`php artisan config:clear`
Generate new controller:
`php artisan make:controller name_here --resource`
Make jobs (email) queue work:
`php artisan queue:work`
...Common fixes:
Env not defined:
`php artisan config:clear`
Email not sent:
`php artisan queue:work`
Cloudfront "access denied":
"edit distribution"-> "origins" -> edit -> "Grant Read Permissions on Bucket" -> Save, it will update the S3 settings (OMG FU Amazon UX).
...Test accounts:
Paypal:
Email: myemail@emailprovider.com
Password: 123456
...
Production:
Migration:
`php artisan migrate`
Check logs:
`cd ...; less error.log`
...

Comment Driven Development™ — CDD

(Partial CDD) I made this just for you ❤

Watch one good video a week

Learn to read other people’s code

Who doesn’t like graphs???


Agam More

Written by

Agam More

Outspoken writer, fiddler with peculiar things

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade