The most frequently asked questions.
Table of Contents
- General Questions
1. General questions
- What is a form processor?
- A form processor is a library that manages the forms in the web application. It provides a set of components to build forms and manages the logic and rendering of a form. As a programmer, you do not have to deal with error reporting or data validation anymore. This factor is very important, as the websites nowadays can contain even hundreds of forms and having a single tool to manage them helps reducing the costs and improves the reliability of the application.
- Why should I use it?
- The logic behind a smart form is very complex. On every bigger website, there are many forms and implementing each of them separately from scratch is not the best idea. The programmers will waste their time implementing the same functionality again and again, and the final code will be hard to maintain and further development. Form processors provide you the complete logic and components out-of-the-box. The form building process is reduced to specifying the list of form fields, defining the validation rules and selecting the widgets.
- Why Open Power Forms?
- The design of Open Power Forms is based on practical observations. We have identified the possible problems from different areas of form processing and created a model that is able to handle any kind of form without any tricks. One of the most important advantages is complete integration with Open Power Template template engine which provides very innovative form rendering features that give no change to PHP-based form rendering systems.
- Is Open Power Forms ready for production use?
- No, the library is currently at the development stage. We encourage you to test it and send your suggestions and opinions.
- Does Open Power Forms work on PHP4?
- No, the support for PHP4 is not planned.
- Does Open Power Forms work on PHP5?
- Currently, Open Power Forms works on PHP 5.2.x, however the recommended version is PHP 5.3.x. The support for 5.2.x branch may be dropped during the development process.
- Does Open Power Forms work on PHP6?
- Yes, the support for PHP6 is planned.
- Why do I need Open Power Template to use OPF?
- One of the features provided by Open Power Template is brilliant form rendering support. As there are many form processors that render the forms with pure PHP code, we decided to use the power of this template engine and introduce you a completely new, and much more natural point of view. Open Power Forms provides the necessary interfaces and depends on some OPT elements in order to provide the best level of integration between those two libraries.
Open Power Forms package already contains Open Power Template library, so you do not have to download anything extra.
Will it be possible to render forms with pure PHP?
There will be a minimal support for such rendering, but only for debug or development purposes. The configuration will be limited and furthermore, you will still need Open Power Template, because the widgets and some parts of the code use the interfaces from that library.
How about framework integration?
Open Power Forms is designed to allow easy integration with frameworks in the future. The library can be used in Zend Framework without any problems thanks to the OPL port for Zend Framework and the ports for other frameworks are planned, too.