![]() |
![]() |
UDI Component Quickstart - Version 3.6![]() Congratulations for purchasing UDI - the Ultimate Database Interface Component, a powerful dcCom component for providing interfaces to manage database tables. UDI allows you to rapidly deploy powerful interfaces to any database. NEW TO UDI Version 3.6: Added full support for MX - scalar problems fixed. Added "note" attribute - displays a note under a field's name on the edit form. Fixed bug with listall="yes". Dumped text size from WYSIWYG drop downs. Added WYSIWYG deleting of absolute paths. Fixed bug with defaultFrameSetting - was cfset not cfparam for overriding. Added automatic conversion of some symbols such as € to code "€" for text, textbox and wysiwyg. Symbols converted are: $áéíóú. NEW TO UDI Version 3.3: Added file selection support and fix bugs. Better browser and database detection. Better error messages. Licensing support. NEW TO UDI Version 3.3: UDI us now a SMART TAG! - That is, UDI now has a built in interface editor - this allows you to build complete database interface without doing ANY programming! To start a new UDI interface that will self-edit, save and run the following code:
<cf_dccom COMPONENT="UDI" currentTemplatePath="#getCurrentTemplatePath()#" editInterface="yes"></cf_dccom>
- thats it! When the blank interface loads, click the "Edit Interface" button to define the interface. You will need to first connect to a valid datasource, then select the table, then you can edit the actual interface. When deploying the interface, you should change editInterface="yes" to editInterface="no" so that your non clients can't edit the interface. We tried to make the interface as intuitive as possible, if there are any problems, please email udi@digital-crew.com Other new features include the must requested pagination and record search. Documentation 5 components are contained in the dcCom/components folder. To view all installed components and their associated documentation, you can use the comBrowser available in the dcCom folder at dccom/comBrowser.cfm. UDI Component ExamplesCreates a powerful, customizable interface to any database table with just few lines of code. Provides the interface to almost ANY database anyway you want it to look! Use the comBrowser to read the documentation associated with this component.Note: MX users will have to manually set-up the datasource in the ColdFusion Administration console for these examples to work. Example 1 - User ManagementThis simple example provides an interface to the users table (see examplesDatabase.mdb). Several of the input type options including text, textbox, image, select through query and the powerful WYSIWYG.Example 2 - Site Content ManagementHere we see how easily UDI could be used to manage the content for a website.Example 3 - Inventory ManagementManage entire inventorys of hundred of products easily! This small sample is taken from an actual solution. Note: This example includes automatic image resizing on upload, to work, cfx_image must be registered on the server (or just remove the "resize=" options!). In the interest of keeping this download small only two product images are referenced. This interface is used as part of the administration of galleryireland.com.About dcComdcCom is the ultimate code reuse component based framework for ColdFusion. dcCom components combine the reusability of custom tags with the power of full web applications. Each component is called using the same custom tag and all component files are neatly stored away in the components directory. More information about the merits of dcCom can be found online.Setting up a dcCom environment for another project1. Copy the dcCom folder from this folder (E:\WebSites\Digital-crew.com\examples\UDI\) to the root folder of the new project.2. The dcCom.cfm custom tag acts as the interface to each component and must be present in any directory in which there are coldfusion files that are invoking dcCom components. Developer MessageThe new self-editing interface editor will hopefully make the product a breeze to work with. No more looking up the documentation, just a few simple clicks! I hope you find the product a valuable additional to your develop's toolbox.I have tried to make the database editor and the dcCom framework as easy as possible to use for you. Stick with it, experiment and read the documentation for this component in the combrowser. The results and development time saved to create database interfaces is worth it! Contact me with any questions and comments, any time. Peter Coppinger aka Topper <peter@digital-crewNOSPAM.com>
|