Answer the question
In order to leave comments, you need to log in
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
In the end, I made it on PHP + jQuery + Bootstrap - such a framework))))))))))
Thank you all!
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
So far only Zend comes to mind
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 questionAsk a Question
731 491 924 answers to any question