P
P
Pasha Andreev2015-04-26 17:21:31
Drupal
Pasha Andreev, 2015-04-26 17:21:31

How to process and display your own data in CMS?

For example, I have a muscle base where several thousand records are stored. What exactly is stored in the database is not important. Let it be news and comments on them.
The task is to display content to the user.
I understand how to implement it on any MVC framework. But how is this implemented using cms?
Do you need to write your own plugin for cms (download an existing one) or is it implemented without a single line of code?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
afi13, 2015-04-26
@Argentum88

Drupal uses the concept of entities, you can declare your own entities with hook_entity_info(), describe fields in a table, behavior logic, etc. Here is an example .

K
Kirill Arutyunov, 2015-04-26
@arutyunov

Use a code generator to generate crud. For example, the yii2 framework has a built-in code generator. Based on the table in the database, it will make up several pages for displaying all the data, a separate entity, editing and deleting a separate entity.

I
Ivan, 2015-04-27
@LiguidCool

It probably depends on the CMS you are using.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question