P
P
Platton2014-06-13 22:17:07
CMS
Platton, 2014-06-13 22:17:07

Give advice on writing your cms in oop php

Hello. I started making my bike on OOP (simple cms), for educational purposes and maybe with the prospect of further development.
Recommend a ready-made "correct" OOP CMS, which can be adopted for a beginner, borrow the principles of building a core, structure.
Thank you!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey, 2014-06-14
Protko @Fesor

with the prospect of further development

Immediately I recommend discarding these naive dreams. You will have to rewrite this file five times if you are really just starting out.
Perhaps there is no "correct" CMS. And the concept of "correct" is rather abstract.
I recommend writing your own framework to get started. There is more room for imagination, and then you can already make CMS based on it.

A
Andrey, 2014-06-13
@reaferon

If I now started writing my own CMS for educational purposes, I would kill two birds with one stone: I would write it based on some popular framework (for example, Yii). And the bike will be written, and I will know the framework.

I
IceJOKER, 2014-06-13
@IceJOKER

drupal)

Y
Yakov Akulov, 2014-06-14
@jakulov

I consider this approach to learning normal, but you need to write in relation to specific projects as workers. If you advise to look at something, then most likely it will be difficult to figure out the "correct" CMS without creating several projects on it, just like with a framework.
I would also advise you to start by writing a framework on which the CMS will be made (now all popular engines go this way). And CMS is better to do for specific projects, since it is impossible to create a working system in a vacuum.
Recently, in order to deal with all sorts of "correct" patterns in PHP, I wrote my own framework: https://github.com/jakulov/bun/ using my own implementations of DI, ORM, MVC, etc.
Now I am refactoring the code and along the way describe the development process in the blog jakulov.ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question