Answer the question
In order to leave comments, you need to log in
How to learn how to create the right website architecture?
Learned php, js, html, css and some frameworks (CodeIgniter, FatFreeFramework). Soon, when I faced a real difficult task, where the site is a complex, voluminous portal in its structure (work for myself), I realized that I can’t build the site architecture correctly at all (for example, the MVC template).
Question: where and how can I learn how to build a website structure correctly for a beginner? It is desirable that the training be demonstrated on a real task, with the actual creation of the site's functionality.
Recently I found the book "PHP and MySQL. Creating an Online Store. Second Edition". Except the source material, links, and tools in this book are outdated, if not unavailable online at all. Please advise something to study (only not frameworks, it’s difficult to disassemble them yourself and you don’t always have enough strength not to be too lazy).
Answer the question
In order to leave comments, you need to log in
I wanted to write to you about using someone else's experience, reading a lot of boring books, studying other people's architectures and a lot of sweat. But then I saw this line:
and realized that there was no need to write anything.
You know, you probably can't learn this from a book. In fact, there is a special kind of knowledge that is not written about in a book and no one talks about it, because "it" is different for everyone - this is the knowledge of how not to do it. The secret of this sacred knowledge is hidden in the abyss of the subconscious from the experience of failed and ruined projects or presumptuous promises, which are sometimes even embarrassing to remember. Unfortunately, no one will write a book about their failures, although there is something to read on this topic:
citforum.ru/database/articles/proekt_bd_part1.shtml
: you are lazy. But that's exactly what you need to do.
"-Bro, I haven't eaten for three days! - How did you not eat? You have to force yourself!"
Read a framework a day (sometimes one example is enough to understand that a framework is not needed), see examples of its use, keep this habit for a year and everything will be ok. )
Read about patterns and design patterns (Matt Zandstra, for example).
You can also find an article on how to write your own micro-framework with your own MVC implementation.
You can also read this book: www.labirint.ru/books/432458
But it is also worth remembering that good practices do not end with OOP alone.
Got a question. Why not frameworks? Why don't they suit you? One way or another, you will come to the conclusion that you will write your own bicycle... So why make a bicycle again if you can take a ready-made one and work with it.... Nobody forbids you to modify these very frameworks for yourself. And the MVC model is implemented there with a bang in most cases. Not advertising for the sake of Laravel to help for a beginner easy to learn.... And yes, you also need to understand that the site structure and the MVC model are still slightly different things.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question