Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kkatwork's avatar

How to plan and prepare a project?

The question is simple but important.

I want to know how do you prepare the web project before starting to code? Or you open the editor directly and start doing Models?

How to plan the project beforehand so that it should be completed in short time and we know what we are doing?

Is there any way to make the code neat, clean, robust and extendable?

Please share experiences. How does Jeffrey prepare ?

0 likes
4 replies
kevinbui's avatar

If you code for fun or work with your side projects then just do it.

If you are more serious with your ideas then I think getting real by Base Camp is a pretty good guide.

To write clean code, check out Laracasts videos and the clean code book by Uncle Bob Martin.

2 likes
guyinpv's avatar

I started one recently and it's heavily based on all the data modeling and data relationships. To make sense of it, I basically opened a MySQL program and built up my tables until they made sense. Then I started right away working on the migrations for each table. Followed by setting their relationships.

Each time I update the migrations, I run them fresh.

Only after it seemed like I had all my data in place, did I start planning out routes, followed by respective views.

This makes working on Blade templates more or less the last thing to do, except where I need them to test something.

At the same time I'm working on the data modeling, I'm drawing up the mocks in Adobe XD, which is later used to build templates when ready.

Note saying this is perfect, but in my case, starting with getting the data in place made sense.

2 likes
kkatwork's avatar

@guyinpv Thank you. Yes, database models are most important. I also think much about models. But I do migration when needed because I currently practice TDD approach.

Please or to participate in this conversation.