18 subscribers
Go offline with the Player FM app!
Podcasts Worth a Listen
SPONSORED


Why two databases are better than one
Manage episode 468985028 series 2974897
Joel and Aaron discuss the benefits of having distinct databases for testing and local development. They share how this approach ensures a reliable test suite and avoids conflicts with day-to-day dev work. In the process, they reveal a simpler workflow for setting up new environments and keeping projects stable.
- (00:00) - Why separate dev and test databases
- (02:15) - Automating database setup with seeders
- (05:00) - Avoiding flaky tests and migration pitfalls
- (09:00) - Reimagining old habits with new practices
- (12:00) - Silly bit
Sign up for the free Mastering Laravel newsletter
130 episodes
Manage episode 468985028 series 2974897
Joel and Aaron discuss the benefits of having distinct databases for testing and local development. They share how this approach ensures a reliable test suite and avoids conflicts with day-to-day dev work. In the process, they reveal a simpler workflow for setting up new environments and keeping projects stable.
- (00:00) - Why separate dev and test databases
- (02:15) - Automating database setup with seeders
- (05:00) - Avoiding flaky tests and migration pitfalls
- (09:00) - Reimagining old habits with new practices
- (12:00) - Silly bit
Sign up for the free Mastering Laravel newsletter
130 episodes
All episodes
×
1 Never take hostages: give clients control from day one 10:55

1 Balancing test coverage without chasing 100 percent 15:41

1 Exploratory coding when requirements are fuzzy 15:19

1 Understanding how Stringable works inside Blade views 10:58

1 Finishing up our discussion on not having time 11:41


1 When validation can protect your app's performance 12:12

1 Stick with conventions and avoid overengineering your Laravel app 8:41




1 Examining test layering in multi-tenant requests 13:32

1 When to step outside of Eloquent's comfort zone 12:28

1 Feature flags: Temporary tool or permanent solution? 10:13

1 Deciding when to use a new piece of technology 14:26


1 How to deal with things outside your control on a dev project 10:26


1 A balanced approach to static analysis in Laravel apps 11:59




1 What does it mean if someone says your app is slow? 13:42

1 Why we have a separate test suite for external services 18:03


1 Slowly introducing static analysis without changing everything 15:13


1 Magic methods are okay in the right context 12:06


1 Don't get overwhelmed by errors in your application 11:55



1 Are you really going to need that abstraction? 11:59

1 Should you change application code to support a test? 11:32





1 Don't just get mad at some tech, dig in and learn! 15:27


1 Different approaches to upgrading to a new major Laravel version 16:01

1 Maybe you don't need to write code this time 15:25

1 Should you manage roles and permissions with a UI? 12:52
Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.