Server IP : 103.118.17.23 / Your IP : 216.73.216.188 Web Server : Microsoft-IIS/10.0 System : Windows NT RESELLERPLESK22 10.0 build 20348 (Windows Server 2016) AMD64 User : IWAM_plesk(default) ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/vhosts/mesa.org.in/httpdocs/assets/_core/php/examples/code_generator/ |
Upload File : |
<?php require_once('../qcubed.inc.php'); ?> <?php require('../includes/header.inc.php'); ?> <div id="instructions"> <h1>The Examples Site Database</h1> <p>Before learning about the Code Generator, it might be good to first get acquainted with the data model which the Code Generator will be generating from.</p> <p>Click on the "View Source" link in the upper righthand corner to view the <strong>mysql_innodb.sql</strong> to examine the data model in script form, or you can view an ER diagram of the data model below.</p> <p>If you have not installed this <strong>Examples Site Database</strong> on your MySQL server, you might want to do that now. After installing the database, you must also remember to <strong><a href="<?php _p(__VIRTUAL_DIRECTORY__ . __DEVTOOLS__ . '/codegen.php'); ?>" class="bodyLink">code generate</a></strong> the corresponding objects <em>before</em> trying to any of the further code generation examples.</p> <p>Note that there is also a SQL Server version of this database script called <strong>sql_server.sql</strong>.</p> <p>In the script, we have six tables defined. The bulk of our examples will focus on the main three tables of the database:</p> <ul> <li><strong>login</strong></li> <li><strong>person</strong></li> <li><strong>project</strong></li> </ul> <p>The <strong>team_member_project_assn</strong> table handles the many-to-many relationship between <strong>person</strong> and <strong>project</strong>. The <strong>project_status_type</strong> table is a <strong>Type Table</strong> which will be discussed in the example for <strong>Type Tables</strong>. Finally the <strong>person_with_lock</strong> table is specifically used by the example for <strong>Optimistic Locking</strong>.</p> </div> <div id="demoZone"> <img src="../images/data_model.png" alt=""Examples Site Database" data model" style="max-width:100%" /> </div> <?php require('../includes/footer.inc.php'); ?>