G
G
Gares Antonovich2017-05-18 23:59:25
CMS
Gares Antonovich, 2017-05-18 23:59:25

How to understand the principle of operation of CMS namely Wordpress from the inside?

I don’t understand how cms works that work on php, in particular wordpress.
How can I add blocks that will take information from mysql or some other way.
How to display the latest posts or pages on the main page, how to display the command section that goes in the template, but I don’t understand how it displays it, but of course, how to put it all on the layout.
What to pay attention to in the first place and what, in principle, can you advise for studying?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Site Developer, 2017-05-19
@Rupaka

WordPress developer training?

W
WordPress WooCommerce, 2017-05-25
@maxxannik

The first thing to start with is to forget about MVC micro frameworks like Laravel / Yii, etc.
If Laravel is a fast fighter, then in comparison, WP is an aircraft carrier. Which can carry a functional load on its board like 100 Laravel.
Hence the difference in architecture - in WP it is many times thicker. It is much more difficult to study it.
A student without preparation can raise a site on WP. However, when the question of some kind of development arises, WP is much more difficult.
And most importantly, it implements all OOP paradigms. The most important thing is the principles of component-oriented development. Which are based on Event Driven architecture. This is what Alain Kay talked about 20 years ago and called it OOP. But only a few around the world understood what he meant. And WP is one of the few platforms that has managed to implement these ideas correctly. Its entire development is based on messaging - through hooks. And all logic beats on components.
There is a place for MVC, but how it works there is not a bit like MVC ala Laravel / Yii ...
Therefore, the most important thing is to forget about the principles of Laravel and other fashionable MVC trends. And immerse yourself in the architecture that has conquered the world. The blessing of articles in bulk. You can even start from the cradle. But to become a pro in this business - you need years of practice. There are only a few good specialists in this topic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question