How To Install php-pear-DB-DataObject-FormBuilder on CentOS 7
Introduction
In this tutorial we learn how to install php-pear-DB-DataObject-FormBuilder
on CentOS 7.
What is php-pear-DB-DataObject-FormBuilder
DB_DataObject_FormBuilder will aid you in rapid application development using the packages DB_DataObject and HTML_QuickForm. For having a quick but working prototype of your application, simply model the database, run DataObject’s createTable script over it and write a script that passes one of the resulting objects to the FormBuilder class. The FormBuilder will automatically generate a simple but working HTML_QuickForm object that you can use to test your application. It also provides a processing method that will automatically detect if an insert() or update() command has to be executed after the form has been submitted. If you have set up DataObject’s links.ini file correctly, it will also automatically detect if a table field is a foreign key and will populate a selectbox with the linked table’s entries. There are many optional parameters that you can place in your DataObjects.ini or in the properties of your derived classes, that you can use to fine-tune the form-generation, gradually turning the prototypes into fully-featured forms, and you can take control at any stage of the process.
We can use yum
or dnf
to install php-pear-DB-DataObject-FormBuilder
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear-DB-DataObject-FormBuilder.
Install php-pear-DB-DataObject-FormBuilder on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install php-pear-DB-DataObject-FormBuilder
using yum
by running the following command:
sudo yum -y install php-pear-DB-DataObject-FormBuilder
Install php-pear-DB-DataObject-FormBuilder on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install php-pear-DB-DataObject-FormBuilder
using dnf
by running the following command:
sudo dnf -y install php-pear-DB-DataObject-FormBuilder
How To Uninstall php-pear-DB-DataObject-FormBuilder on CentOS 7
To uninstall only the php-pear-DB-DataObject-FormBuilder
package we can use the following command:
sudo dnf remove php-pear-DB-DataObject-FormBuilder
References
Summary
In this tutorial we learn how to install php-pear-DB-DataObject-FormBuilder
on CentOS 7 using yum
and dnf
.