close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

ADDT includes vs WA includes

Thread began 8/10/2010 1:52 pm by Mike | Last modified 9/05/2010 2:59 am by Mike | 4940 views | 30 replies


in my perspective "Transaction and Trigger" is kind like integration (in your term) but more with flexibility for developer

transaction basically is the CRUD
trigger is the script extension on before or after the transaction process and every trigger have the priority level (which one should run first and last).

better view and understanding can be view here: ch17_trans_engine3_01.html
and ch17_trans_engine3_03.html#1028375
, it has all the concept written there

Why i said its flexible ? because developers could enhanced the CRUD system

for example:
before a insert member data into database, we could do following process:

BEFORE Trigger:
Do form validation
Check if member/email already exist.
Create Random Password
Generate a Random Activation Key for validation process


AFTER Trigger:
Upload Member Photo to server
Build Welcome Email -> Merge mail template with inserted member data
Send Welcome Email
Redirection to Thank You Page

in technical terms, it something goes like this:
// Make an insert transaction instance
$ins_dxc_slideshow = new tNG_multipleInsert($conn_dxc_conn);

// Register triggers
$ins_dxc_slideshow->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
$ins_dxc_slideshow->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
$ins_dxc_slideshow->registerTrigger("END", "Trigger_Default_Redirect", 99, "../../../includes/nxt/back.php");
$ins_dxc_slideshow->registerTrigger("BEFORE", "Trigger_SetOrderColumn", 50);
$ins_dxc_slideshow->registerTrigger("AFTER", "Trigger_ImageUpload", 97);

// Add columns
$ins_dxc_slideshow->addColumn("slideFilename", "FILE_TYPE", "FILES", "slideFilename");
$ins_dxc_slideshow->addColumn("slideDisplay", "NUMERIC_TYPE", "POST", "slideDisplay");
$ins_dxc_slideshow->addColumn("slideNote", "STRING_TYPE", "POST", "slideNote");
$ins_dxc_slideshow->addColumn("slideLink", "STRING_TYPE", "POST", "slideLink");
$ins_dxc_slideshow->setPrimaryKey("slideID", "NUMERIC_TYPE");

the code generate automatically and developer are able to create custom trigger

What if there's something wrong with the trigger-transaction process.. ADDT would able to rollback all the transaction (i think they're build some kind like 'fake recordset'

the idea of trigger is limitless based on developers needs.

Hope you get the idea...

with current WA's extension, it sometime work independently and i have to re-order the script generated to perform specific task.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...