That's the right way to go for simple use cases and especially getting started on a new project.