Author: eugenio tacchini
Viewers: 67
Last month viewers: 16
Categories: PHP Tutorials
Read this article to learn more about DaDaBIK and how you can use it to productively create your PHP applications.
The PHPClasses site blog is read by many tens of thousands of PHP developers around the world.
This blog is open for Open Source developers to tell more about their projects, so they can attract more users that may contribute with feature suggestions, and bug reports or improvement patches.
The blog also accepts paid sponsorships for publishing articles about commercial products that may be of the interest of the PHP developers.
If you would like to write an article like this one about and Open Source project or a sponsored commercial product you would like to get more exposure, contact the site to get more information on how to submit a properly written article about your project.
Contents
Introduction
History
Features
Screenshots
Other features
Typical uses
Tutorial
Conclusion
Introduction
Writing CRUD database front-ends and simple database applications is a very common task that almost all PHP developers need to implement. It is usually a simple job to accomplish, but is also time consuming, boring and error-prone to implement.
Software developers tend to avoid time wasting and repetitive tasks in favor of more challenging tasks. This lead to the development of applications with the goal to automate front-end development.
History
DaDaBIK is one of the precursors of this kind of applications for automated creation of PHP front-ends. Released initially in the year 2000 by myself, Eugenio Tacchini, the project continues to be actively developed until today.
The projects long history of development allowed it to reach important goals in terms of stability and popularity, with hundreds of thousands downloads, adoption by big organizations, and translation of the application to 17 languages thanks to the help of many volunteers.
Features
- Set a few configuration parameters in the config.php file (database host address, database user, database password, etc... )
- Install DaDaBIK running install.php;
- Configure your final application through a graphical interface, executing admin.php.
The time you need to finalize your work obviously depends on the number of tables involved and on the level of customization you need, but a simple front-end for inserting, updating, deleting and searching records can be ready to use for you or your users in a few minutes.
- The label
- The HTML input type (a textbox, listbox, file upload, etc...)
- The allowed content (alphanumeric, numeric, e-mail, etc...)
- The possible values, eventually taken from another table (foreign key support)
- If the field should be to be displayed and in which forms
- Etc...
Screenshots
Customization of a form field
Results page
Other features
Other features include master/detail views, export to CSV, checking for possible duplication during insertion, authentication and authorization restrictions on view, update, delete actions, e-mail notifications.
DaDaBIK uses the ADOdb and the PDO database abstraction libraries in order to support as many types of database systems as possible. At the moment it officially supports MySQL, PostgreSQL and SQLite.
Typical uses
Before using DaDaBIK many users ask about eventual similarities with PHPMyAdmin. These two applications are actually very different. DaDaBIK was not created to provide complete administration of a database, but rather to allow the creation of a customizable and user friendly database applications.
- Creating data entry Web applications
- Creating back-end administration pages for Web sites
- Provide public Web access to archives of data
For an example of the latter, see the World Oral Literature Project by the University of Cambridge.
Tutorial
For a complete tutorial I have produced this video that gives a live step by step demonstration on how to use DaDaBIK to build a common CRUD based PHP database application. This is the first episode of a series of video tutorials about DaDaBIK available on YouTube.
Conclusion
Further information, documentation and instructions on how to download the application can be found in the official DaDaBIK Web site.
If you have other questions not answered here, feel free to post a comment on this article.
You need to be a registered user or login to post a comment
1,616,660 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
Comments:
6. Thumbs up - Jamie Booth (2012-09-13 20:53)
DaDaBIK User for 6 years and going... - 0 replies
Read the whole comment and replies
2. Extortionists! - Garry (2012-07-27 17:40)
Perhaps this is great, but the authors of disgust... - 16 replies
Read the whole comment and replies
5. No commercial problem with this - A H (2012-05-27 12:23)
GPL is 'free' but free support, get real...!... - 0 replies
Read the whole comment and replies
4. NOT Gratis Open Source - Jurgen_v_O (2012-05-13 19:59)
DaDaBIk Is NOT Free in the sense of Price... - 0 replies
Read the whole comment and replies
3. The real crime here - bob (2012-05-13 11:51)
10 years really ?... - 0 replies
Read the whole comment and replies
1. Is great! - Arval Ikari (2012-05-11 03:02)
Save a lot of time when we create a special website... - 1 reply
Read the whole comment and replies