Can I make my own web builder in this way?

0

My idea is to make a web application and then in the back end part to make a panel to design the layout, let's say that I'm only interested in the content, that is to say, text, icons, images, etc., but the nav bar, footer, sidebars do not touch.

The idea is that you can choose for example the rows you will have and then within the rows the columns and within the column the content.

My question is, can I do that with simple forms that go adding html code to a table in the MySQL database and then on the page just do something like:

static navbar

$ htmlgenerated

static footer

I am still learning PHP and MySQL but as I was already dealing with the issue of obtaining data from forms and passing them to the database, that idea came to me.

I would like to do so, take it to a version control and make it open source since it is only to be learned.

    
asked by borjahen 11.04.2017 в 01:31
source

1 answer

0

Hello if you can, it is quite simple although I would recommend the use of some template system, but finally you need to write 2 html one with the header header.html and the other one with the statical foot that you will define footer.php then in your file .php

<?php echo file_get_contents('ruta de header.html'); ?>
// Aqui en medio pon tu codigo
<?php echo file_get_contents('ruta de footer.html'); ?>

I hope it serves you.

On the topic using a version control system learn GIT is quite easy, I leave a link to the manual in Spanish Book GIT . Based on that, you only have to choose a public repository where to upload it:

GitHub

GitLab

BitBucket

Assembla

GitHub is the best known but only allows you to upload public projects for free, the other 4 allow you to upload public and private projects for free.

Greetings

    
answered by 11.04.2017 / 07:52
source