PHPDevShell is an Open Source PHP framework for the development of admin-based applications.
PHPDevShell, which is fast, stable and secure, could be also described as a Rapid Application Development framework, which offers a well designed administrative graphical user interface to accommodate any types of already written scripts or develop your own specifically for PHPDevShell. This GUI interface offers developers many features such as management of users, roles, groups, menus, crons, templates, hooks, logs, plugins, settings, plus various navigation, registration, theming, search filtering, caching and mailing options.
Latest version: | 2.1.0 |
PHP4 | |
PHP5 | PHP v.5.2.0 or later |
MVC | |
Multiple DB | |
ORM | |
DB Objects | |
Templates | |
Caching | |
Validation | |
Ajax | |
Auth Module | |
Modules | |
Cost | FREE |
PHPDevShell provides the developers with both a backend and a frontend GUI. The installation of PHPDevShell is very easy. First, you need a web hosting account which has an Apache 2.x web server installed and which also supports PHP 5.2.0 or later. Then you need to extract the PHPDevShell's compressed file on your computer and create a database in your web hosting account using the PHPMyAdmin utility to import the install_mysql_database.sql file provided with the PHPDevShell's package. When the MySQL database is created, you need to rename (remove the '.new' part) the /config/default.config.php.new and /config/host.config.php.new configuration files and edit them so as to match the settings of your server. Once you finish with the configuration of your server settings you have to establish an FTP connection and upload the entire PHPDevShell directory to your server. To run the PHPDevShell you need only to browse the directory where the framework is uploaded. That’s it.
RAD involves iterative development and the construction of prototypes, and combines various structured techniques, notably the data driven Information Engineering methodology, with prototyping techniques for the purpose of accelerating the development of software systems.
PHPDevShell provides the developers with some useful classes and methods. Of course, you can add your favorite class or library to use inside the PHPDevShell.
In order to let you get tasks quickly done, PHPDevShell provides five fundamental objects, which are always available to you and do not need to be called separately.
The $db class contains basic database methods and information to manage your scripts. With $navigation developers can call navigation values and methods. The $security class provides all the necessary security methods and handles the security of the file system, where users can run only files for which they have appropriate permissions. With the $core class, which contains methods for handling core processing, programmers can set all the general system functions. The $template class governs template outputs. Also there are separate classes for email, file management, time zones and more. For additional information on the objects, all their options and usage, you can check the API documentation of PHPDevShell at http://doc.phpdevshell.org/.
As an example, we will create a simple form that submits email/subject/message to a MySQL database and sends an email with these details.
First, we need to create the MySQL table that will be used. It can be done by executing the following query through phpMyAdmin or directly on a MySQL shell:
CREATE TABLE `emails` (Since the form will be only one page, we will create a new menu as a plugin item. The file needs to be placed in the /plugins/NEW_DIRECTORY/ourfile.php, where NEW_DIRECTORY is a directory of our choice as is ‘ourfile’. The contents will be as follows:
<?phpThe actual menu has to be created through the administration menu of PHPDevShell:
System Control -> Menu Admin -> New Menu
The fields that we will fill are:
Menu Name: Our Form
Plugin Item: This should be checked
Custom Plugin Name: NEW_DIRECTORY
URL/Path Location: ourfile.php
Now we can go to the Front Page and we will have a menu with a fully operational form that submits data to a database and sends email.
PHPDevShell is a unique framework meaning that you can start working on your application right away. It has the ability to have other frameworks plugged into it and offers: