Deploy The PHP Bootstrap CURD project.

Deploy the project.

To deploy this project we need more files to configure database connection and create the theme.

  • Setup database connection in the conf/database.php
  • Set templates/header.php and templates/footer.php files.
  • Add bootstrap files according paths in the header file.
Here is an example of database configuration file uses PDO database extension, this makes the application flexible to switch between any of the supported database systems.

You can download the complete example as a compressed file from the link at the end of the tutorial .

database.php

Don't forget to change the database credentials to yours, the variables first four lines .
  • Database host $host.
  • Database name $db.
  • Database user name $user.
  • Password for the specified user $pass.

header.php

This a sample header file

footer.php

This a sample header file

The following images shows the project after deployment.

Page index.php

Sohag Builder create a laravel or web php bootstrap curd application

Page add.php

Sohag Builder create a laravel or web php bootstrap curd application

Page edit.php

Sohag Builder create a laravel or web php bootstrap curd application

Page delete.php

Sohag Builder create a laravel or web php bootstrap curd application

Page view.php

Sohag Builder create a laravel or web php bootstrap curd application

 

 

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
9 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Verion
v1.0