C
C
cvbcvb cvbcvbcvbcvb2015-09-03 16:08:24
PHP
cvbcvb cvbcvbcvbcvb, 2015-09-03 16:08:24

How to write a constructor?

Hello. There is a task, to write a mini designer of landing pages. A person simply writes the name, and chooses 1 of the two proposed topics. A standard structure is generated. There is a set of blocks. For example, a slider, a form, a block with promotions. And he can change blocks, change the content in them, delete them. And that's it. There were a couple of thoughts on how to implement it on PHP, but all the curves. Give me some good advice. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel Volintsev, 2015-09-03
@sudden_man

Good advice: look at how already working modern landing page constructors are implemented https
://www.google.ru/search?q=landing+page+online... Estimate what needs to be done on the client, and what - on the server. If you make LP to order, then you may well be satisfied with the capabilities of such constructors. My assumption: the whole constructor is JS, and on the server the whole template and its settings are stored in a NoSQL database, for example Mongo. All the fun starts when the page asks you to draw a grid from dynamic data, such as a product catalog. Googled in the direction of BaaS (backend as a service). This may solve the data storage issue.

I
ixon, 2015-09-03
@ixon

It is best to use the following javascript frameworks for this purpose:
MooTools , Jquery , Jquery UI , GreenSock . Make a database and tables with parameters in MySQL, write in php or nodejs, if you expect a large load, a saver/opener and a generator in the html of all this.

S
sitev_ru, 2015-09-03
@sitev_ru

And by the way, I'm writing a constructor now. I have my own approach and my own concept. Write to me, let's discuss

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question