Presentation

12
Experience from Data base Project.

Transcript of Presentation

Page 1: Presentation

Experience from Data base Project.

Page 2: Presentation

SummarySummary

2Arnold Boungoungou

∗ MVC∗ MySQL Workbrench∗ Example ∗ Advantages

Page 3: Presentation

MVCModel-View-ControllerModel-View-Controller

Arnold Boungoungou 3

Controller

ViewModel

According to the orders of the user, treat the data through the model and post the interface built in the view.

Group the operations of reading and writing from a database.

Constructed the representations of the data and post tools to pilot the application.

Request HTTP,CLI…

Response : XML,HTML,CSS

Page 4: Presentation

Example

Arnold Boungoungou 4

Controller

<?phpclass EmployesController extends AppController {var $name = 'Employes';

function index() {…}function add(){…}function view() {…}

?>

Model

<?phpclass Employe extends AppModel {var $name = 'Employe';var $validate = array('groupes_id' => array( 'numeric' => array( 'rule' => array('numeric');}?>

View

<tr><th><?php echo $this->Paginator->sort('NOM');?></th><th><?php echo $this->Paginator->sort('PRENOM');?></th><th><?php echo $this->Paginator->sort('TEL');?></th><th><?php echo $this->Paginator->sort('EMAIL');?></th><th><?php echo $this->Paginator->sort('SEXE');?></th><th><?php echo $this->Paginator->sort('GROUPES');?></th><th><?php echo $this->Paginator->sort('SERVICES');?></th></tr>

1

2

3

Page 5: Presentation

MySQL WorkbenchMySQL WorkbenchDesign – Develop - AdministerDesign – Develop - Administer

Arnold Boungoungou 5

Page 6: Presentation

Definition:

Is a visual tool for unified architects.

Developers and database administrators.

MySQL Workbench provides data modeling

SQL development and administration.

Available for Windows, Linux and Mac OS.

Last version 5.2

MySQL WorkbenchMySQL WorkbenchDesign – Develop - AdministerDesign – Develop - Administer

6Arnold Boungoungou

Page 7: Presentation

MySQL Workbench simplifies the design and maintenance of databases All objects can be modeled and managed in MySQL Workbench including :

Tables Indexes

ViewsStored procedures

Triggers and security privileges

Arnold Boungoungou 7

Visual design of data basesVisual design of data bases

Page 8: Presentation

MySQL WorkbenchMySQL WorkbenchDesign – Develop - AdministerDesign – Develop - Administer

Arnold Boungoungou 8

DesignDesign

MySQL Workbench enables a database administrator, developer or architect

design data, modeling, generate and visually

manage databases.

Develop

can execute and optimize SQL queries.easily manage connections to the database.

AdministerAdminister

Visual console.MySQL administration environments.

Configuring servers.Administering users. Monitor the integrity of the database.

Page 9: Presentation

Arnold Boungoungou 9

Page 10: Presentation

Arnold Boungoungou 10

Page 11: Presentation

∗ Times saving.∗ reduces the workload.∗ Financial « 0 zl ».∗ More O.S.

Advantages

Arnold Boungoungou 11

Page 12: Presentation

END

A chaque jour suffit sa peine…Sufficient unto the day is the evil thereof…

Arnold Boungoungou 12