I start to understand how web applications are built. I learned about routing. For example, I have a task to make a website where there are 5 pages, there is a block of goods, and menu categories and everything is, in fact, a business card site. And here I am new to this business I want to create a mini framework for myself (as long as it’s great) for the future to develop. There will be a small admin panel for filling goods and the like.

What I know now is the routing I understood its essence, the CNC is also being done with it. Now you need to do something with the database, while everything is procedural, you will need to add, modify, delete, edit from the database. How to create functions on the basis of what would be their 4 pieces (add, change, delete, edit) and somehow all you need to do is to do all this with different blocks of the site with only 4 functions. I still need a function to add files to the server and delete files from it.

While in my head such thoughts are spinning. What do you think of it? I would like to see a list of what is missing and preferably in order of the most important. Or what would you do on points from the first to the last within the framework of the business card site (procedurally), on your bike?

Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer by the participants of the D-side , Alexey Shimansky , aleksandr barakin , Alex , user194374 30 Nov '16 at 5:55 .

The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • Since you have reached the stage when you realize that you need a more modern and powerful tool for work, why not take a ready-made and debugged solution in the form of a PHP framework instead of inventing a bicycle? For beginners in frameworks and OOP, the small and easy CodeIgniter 3, which, by the way, has good documentation, will go well. - neluzhin

1 answer 1

The first thing I would do was keep learning the programming language further, without stopping at procedural style. It will not go far. The study of the procedural style is only a stage on the path to the attainment of Zen.

Those. so far it’s too early to talk about any useful future developments. Of course, they can be used as a basis for further study, but no more.

And you incorrectly set the task. Programming is a means of achieving your goals. And your goal is a website. Therefore, the tasks are primary, and the funds are secondary. Moreover, the latter may be infinite.

And the last thing I would like to say: if you really want to write your mini framework, then at least do it in OOP style. Or come up with your own, cooler than the PLO;)