A
A
Alexey Vorobyov2020-06-05 11:35:05
css
Alexey Vorobyov, 2020-06-05 11:35:05

Write a form that will create a new page?

Adventures of a fool in IT))
Good afternoon friends - comrades!
I began to slowly learn programming languages, I know a little html, css, js.
And so I decided for fun, as well as for practice, to make up for my wife something like an electronic recipe book (aka an html page) and then a plug arose.
There is a button that sends you to another page to fill out forms (enter the ingredients and the actual recipe itself) and the question itself is how to make it so that after all the fillings, press the conditional publish button and a post appears on the main page (the picture and the name of the recipe) and by clicking did it open a new page with the recipe itself and pictures? The principle is implemented on prescription sites, but how to write it yourself?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arseny, 2020-06-05
@AlexeySparrow

1. You choose a backing, there are a lot of PLs to choose from: PHP, Python, Node.js, Java, etc. Well, in general, literally on the drum.
2. Start a database: SQLite\MySQL (one of the two is enough)
3. Write MVC logic.
4. You write a form that will collect data, send it to an action on the back, which will create a new model, enter the properties into it that you indicated in the form and save this disgrace to the database. The base is read Excel, which you can’t just take with your hands (in fact, you can PHPMyadmin \ DBBrowser).
5. They just won’t get to the main one, you will need to write a view in which to select from the model record database, and output it in a loop (most likely with a template engine, but this is inaccurate).
5.1 What comes from the database can be filtered, say sorted by date, etc. This is part of the SQL language.

S
Sanes, 2020-06-05
@Sanes

You don't have to write anything. Get a ready solution. Surely there is something similar on Wordpress.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question