PHP Classes

Learn How to Implement a PHP CRUD App with jQuery and Bootstrap Using the MVC Design Pattern with the Package CRUD PHP MVC: Application that uses the MVC Design Pattern

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-05-19 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 134 All time: 9,300 This week: 36Up
Version License PHP version Categories
crudphpmvc 1.0.0GNU General Publi...5PHP 5, Design Patterns, Blogs, Applic...
Description 

Author

This package provides an application that uses the MVC Design Pattern.

It provides a core controller that processes the request and determines the controller class and function to call to dispatch the request considering request parameters that determine which CRUD action needs to be performed: new, add, edit, delete.

The package also provides an example application that uses specific controller, model, and view classes to implement a CRUD application to publish and manage blog articles published on a Web site.

Innovation Award
PHP Programming Innovation award nominee
May 2024
Number 6
A CRUD page allows Web application users to perform common operations to create, retrieve, update, and delete records of relevant information usually stored in a database, for instance, the records of blog articles.

One common way to implement CRUD applications is to use MVC frameworks. These frameworks use controllers to process the user-requested actions and model classes to perform operations on the database records.

This package implements an MVC framework specialized in performing CRUD operations. It provides a specific controller class that can check and process the values of request parameters that specify the actions and details of the CRUD operations that other controllers implement.

Manuel Lemos
Picture of Marcelo Telles
  Performance   Level  
Name: Marcelo Telles <contact>
Classes: 6 packages by
Country: Brazil Brazil
Age: ???
All time rank: 3143231 in Brazil Brazil
Week rank: 7 Up2 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

Example

<!DOCTYPE html>
<html lang="pt-br">
    <head>
        <meta charset="UTF-8">
        <title>Celke</title>
        <link rel="stylesheet" href="./libs/bootstrap-4.0.0-dist/css/bootstrap.css">
        <script src="./libs/jquery/jquery.js"></script>
        <script src="./libs/bootstrap-4.0.0-dist/js/bootstrap.js"></script>
    </head>
    <body>
        <?php
       
require './vendor/autoload.php';
       
        use
Core\ConfigController as Home;
       
$Url = new Home();
       
$Url->carregar();


       
?>
</body>
</html>


Details

crudphpmvc


  Files folder image Files (25)  
File Role Description
Files folder imageapp (1 directory)
Files folder imageCore (2 files)
Files folder imagevendor (1 file, 1 directory)
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file banco.sql Data Auxiliary data
Accessible without login Plain text file blog.php Example Example script
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (25)  /  app  
File Role Description
Files folder imagests (1 file, 3 directories)

  Files folder image Files (25)  /  app  /  sts  
File Role Description
Files folder imageControllers (1 file)
Files folder imageModels (2 files)
Files folder imageViews (1 directory)
  Accessible without login Plain text file routes.php Aux. Auxiliary script

  Files folder image Files (25)  /  app  /  sts  /  Controllers  
File Role Description
  Plain text file Home.php Class Class source

  Files folder image Files (25)  /  app  /  sts  /  Models  
File Role Description
  Plain text file Article.php Class Class source
  Plain text file Conn.php Class Class source

  Files folder image Files (25)  /  app  /  sts  /  Views  
File Role Description
Files folder imageblog (4 files)

  Files folder image Files (25)  /  app  /  sts  /  Views  /  blog  
File Role Description
  Accessible without login Plain text file botoes.php Aux. Auxiliary script
  Accessible without login Plain text file edit.php Example Example script
  Accessible without login Plain text file insert.php Aux. Auxiliary script
  Accessible without login Plain text file listArticle.php Example Example script

  Files folder image Files (25)  /  Core  
File Role Description
  Plain text file ConfigController.php Class Class source
  Plain text file ConfigView.php Class Class source

  Files folder image Files (25)  /  vendor  
File Role Description
Files folder imagecomposer (8 files)
  Accessible without login Plain text file autoload.php Aux. Auxiliary script

  Files folder image Files (25)  /  vendor  /  composer  
File Role Description
  Accessible without login Plain text file autoload_classmap.php Aux. Auxiliary script
  Accessible without login Plain text file autoload_namespaces.php Aux. Auxiliary script
  Accessible without login Plain text file autoload_psr4.php Aux. Auxiliary script
  Plain text file autoload_real.php Class Class source
  Plain text file autoload_static.php Class Class source
  Plain text file ClassLoader.php Class Class source
  Accessible without login Plain text file installed.json Data Auxiliary data
  Accessible without login Plain text file LICENSE Lic. License text

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:134
This week:0
All time:9,300
This week:36Up