R
R
Roman2019-01-25 16:05:08
PHP
Roman, 2019-01-25 16:05:08

What is the best web form framework?

Hello!

I need to make a site with a single page, which is a web form, should I use any of the existing frameworks, given that I'm not really familiar with them?

That is: I can, of course, do it in simple PHP + MYSQL, but I would like to use ready-made filters for field validation, etc.

There will also be a conditional display of fields in the form - that is, different fields depending on the choice of the previous ones.

It is desirable Ajax but it is possible and without it.

So far, only Zend comes to mind - I once worked with it - you can use components there without connecting MVC. I will watch now. But I thought - can you offer something else?

Something so that you can quickly make a beautiful (preferably on Bootstrap) and convenient web form.

Thank you!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Roman, 2019-01-28
@procode

In the end, I made it on PHP + jQuery + Bootstrap - such a framework))))))))))
Thank you all!

L
Lander, 2019-01-25
@usdglander

Zend is from a sparrow cannon. If I were you, I would take something simple and compact. Slim, Silex, Lumen.
upd: Perhaps I will supplement my answer in the light of aleksejjjj 's answer . You can actually take pure php, and use a third-party component as a form validator, of which there are thousands on github. For example this one https://github.com/symfony/validator

M
morricone85, 2019-01-25
@morricone85

So far only Zend comes to mind

You have thought of this very well :)
There are no plans to work with form data on the backend? If not, then you can write in pure PHP.

A
Arthur K., 2019-01-25
@amark

If you stop at pure PHP, then I will suggest taking a simple JS framework for it, for example, Backbone. It is very lightweight, but will give you a simple "Swiss knife", including client validation.
If you still move away from pure PHP, then I recommend:
- Yii - a fairly simple framework for entering from scratch, with good regular utilities for quick deployment;
— modx — another simple framework in which you can learn how to work in an hour)
And you definitely don’t need to touch Zend — you don’t need a combine to mow the lawn in the backyard :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question