PHP Classes

Base MVC Framework: MVC framework to be the base of Web applications

Recommend this page to a friend!
  Info   View files Example   View files View files (82)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 697 All time: 4,692 This week: 79Up
Version License PHP version Categories
base 1.0.16Custom (specified...5.5.33PHP 5, Libraries, Design Patterns
Description 

Author

This package is a MVC framework to be the base of Web applications.

It provides common classes to implement model view controller applications like:

- Base controller
- Base model for storing objects in a database with PDO objects
- Application dispatch
- Configuration loading
- Request handling
- Route dispatching
- Security related operations
- Etc.

In Portuguese:

Base é uma "base" para construção de soluções em MVC com PHP. Construi o framework para uso próprio, porém resolvi disponibilizar para a comunidade em geral.

Picture of Carlos Eduardo Barcelos Amaral
  Performance   Level  
Name: Carlos Eduardo Barcelos ... <contact>
Classes: 3 packages by
Country: Brazil Brazil
Age: 33
All time rank: 2172145 in Brazil Brazil
Week rank: 312 Up26 in Brazil Brazil Up

Example

<?php

  
require_once dirname(__DIR__).'/base/config/loader.php';

   \
Core\Application::RUN('example');


Details

Base

Base é uma "base" para construção de soluções em MVC com PHP. Construi o _framework_ para uso próprio, porém resolvi disponibilizar para a comunidade em geral.

Documentação

ChangeLog

O framework ainda está em fase de construção.

TODO

Muita coisa pra fazer. Ainda não foi especificado um roteiro, mas aqui estão as principais:

  1. <s>Criar biblioteca de conexão no estilo do ConnectionMSi, com funções de `select`, `insert`, `update` e etc. Porém utilizando PDO criando métodos para MySQL, MariaDB, PostgreSQL e MSSQL inicialmente; </s> - Criado o Projeto ConnectionPDO, porém implementado apenas o driver do MySQL. Drivers TO DO: * <s>MySQL</s> * MariaDB * PostgreSQL * MSSQL
  2. Criar estrutura de `Exceptions` e realizar _log_ dos erros e excessões para _debug_;
  3. Criar métodos e recursos para facilitar o _debug_ da aplicação;
  4. Criar recurso de instalação facilitando a configuração dos arquivos necessários;
  5. <s>Implementar sistema de rotas.</s>

Licença

O _Framwork_ é disponibilizado através da Licensa Apache 2.0.

English

Base

Base is a "base" for building solutions in MVC with PHP. Build the _framework_ for their own use, but decided to make available to the community at large.

Documentation

ChangeLog

The framework is still under construction.

TODO

A lot of things to do. We have not specified a road map, but here are the main ones:

  1. <s>Create connection library in the style of ConnectionMSi, with functions of `select`,` insert`, `update` and etc. However using PDO creating methods for MySQL, MariaDB, PostgreSQL and MSSQL initially; </s> - Created Project ConnectionPDO, but only implemented the MySQL. Drivers TO DO:     * <s>MySQL</s>     * MariaDB     * PostgreSQL     * MSSQL
  2. Create structure `Exceptions` and perform _log_ of errors and exceptions for _debug_;
  3. Create methods and resources to facilitate the implementation of _debug_;
  4. Create installation feature facilitates the configuration of the necessary files;
  5. <s>Implement routing system. </s>

License

The _Framework_ is available through the Apache License 2.0.


  Files folder image Files  
File Role Description
Files folder image.idea (1 file)
Files folder imageapp (1 directory)
Files folder imagebase (1 file, 4 directories)
Files folder imagepublic_html (4 files, 3 directories)
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  .idea  
File Role Description
  Accessible without login Plain text file vcs.xml Data Auxiliary data

  Files folder image Files  /  app  
File Role Description
Files folder imageexample (4 directories)

  Files folder image Files  /  app  /  example  
File Role Description
Files folder imagecontroller (4 files)
Files folder imageenvironments (3 files)
Files folder imagelanguage (2 files)
Files folder imageview (4 directories)

  Files folder image Files  /  app  /  example  /  controller  
File Role Description
  Accessible without login Plain text file errorcontroller.class.php Example Example script
  Accessible without login Plain text file filenotfoundcontroller.class.php Example Example script
  Accessible without login Plain text file logincontroller.class.php Example Example script
  Accessible without login Plain text file maincontroller.class.php Example Example script

  Files folder image Files  /  app  /  example  /  environments  
File Role Description
  Accessible without login Plain text file dev.php Aux. Auxiliary script
  Accessible without login Plain text file prod.php Aux. Auxiliary script
  Accessible without login Plain text file stage.php Aux. Auxiliary script

  Files folder image Files  /  app  /  example  /  language  
File Role Description
  Accessible without login Plain text file en-us.lang.php Conf. Configuration script
  Accessible without login Plain text file pt-br.lang.php Conf. Configuration script

  Files folder image Files  /  app  /  example  /  view  
File Role Description
Files folder imagecommons (4 files)
Files folder imageerrors (2 files)
Files folder imagelayouts (1 file)
Files folder imagepages (1 file)

  Files folder image Files  /  app  /  example  /  view  /  commons  
File Role Description
  Accessible without login Plain text file footer.phtml Output Sample output
  Accessible without login Plain text file head.phtml Output Sample output
  Accessible without login Plain text file login-form.phtml Output Sample output
  Accessible without login Plain text file menu.phtml Output Sample output

  Files folder image Files  /  app  /  example  /  view  /  errors  
File Role Description
  Accessible without login Plain text file error.phtml Output Sample output
  Accessible without login Plain text file filenotfound.phtml Output Sample output

  Files folder image Files  /  app  /  example  /  view  /  layouts  
File Role Description
  Accessible without login Plain text file default.phtml Example Example script

  Files folder image Files  /  app  /  example  /  view  /  pages  
File Role Description
  Accessible without login Plain text file index.phtml Output Sample output

  Files folder image Files  /  base  
File Role Description
Files folder imageconfig (5 files)
Files folder imageconsole (1 directory)
Files folder imagecore (15 files, 3 directories)
Files folder imagelanguage (2 directories)
  Accessible without login Plain text file cmd Example Example script

  Files folder image Files  /  base  /  config  
File Role Description
  Accessible without login Plain text file autoload.php Aux. Auxiliary script
  Accessible without login Plain text file constants.php Conf. Configuration script
  Accessible without login Plain text file loader.php Aux. Auxiliary script
  Accessible without login Plain text file mobile.php Example Example script
  Accessible without login Plain text file repository.php Aux. Auxiliary script

  Files folder image Files  /  base  /  console  
File Role Description
Files folder imagecommands (4 files)

  Files folder image Files  /  base  /  console  /  commands  
File Role Description
  Plain text file build.class.php Class Class source
  Plain text file dumproutes.class.php Class Class source
  Plain text file environment.class.php Class Class source
  Plain text file testemail.class.php Class Class source

  Files folder image Files  /  base  /  core  
File Role Description
Files folder imageexception (6 files)
Files folder imagerequest (2 files)
Files folder imageroutes (5 files, 1 directory)
  Plain text file application.class.php Class Class source
  Plain text file config.class.php Class Class source
  Plain text file connection.class.php Class Class source
  Plain text file controller.class.php Class Class source
  Plain text file dispatch.class.php Class Class source
  Plain text file exception.class.php Class Class source
  Plain text file globalizer.class.php Class Class source
  Plain text file load.class.php Class Class source
  Plain text file model.class.php Class Class source
  Plain text file permissions.class.php Class Class source
  Plain text file request.class.php Class Class source
  Plain text file response.class.php Class Class source
  Plain text file security.class.php Class Class source
  Plain text file sendmail.class.php Class Class source
  Plain text file service.class.php Class Class source

  Files folder image Files  /  base  /  core  /  exception  
File Role Description
  Plain text file exception.class.php Class Class source
  Plain text file exceptionslist.class.php Class Class source
  Plain text file immutablepropertyexception.class.php Class Class source
  Plain text file invalidapplicationexception.class.php Class Class source
  Plain text file invalidpropertyexception.class.php Class Class source
  Plain text file systemexception.class.php Class Class source

  Files folder image Files  /  base  /  core  /  request  
File Role Description
  Plain text file globals.class.php Class Class source
  Plain text file vars.class.php Class Class source

  Files folder image Files  /  base  /  core  /  routes  
File Role Description
Files folder imagerules (3 files)
  Plain text file annotation.class.php Class Class source
  Plain text file matcher.class.php Class Class source
  Plain text file route.class.php Class Class source
  Plain text file router.class.php Class Class source
  Plain text file routes.class.php Class Class source

  Files folder image Files  /  base  /  core  /  routes  /  rules  
File Role Description
  Plain text file allows.class.php Class Class source
  Plain text file host.class.php Class Class source
  Plain text file ruleinterface.class.php Class Class source

  Files folder image Files  /  base  /  language  
File Role Description
Files folder imageen-us (1 file)
Files folder imagept-br (1 file)

  Files folder image Files  /  base  /  language  /  en-us  
File Role Description
  Accessible without login Plain text file exceptions.php Aux. Auxiliary script

  Files folder image Files  /  base  /  language  /  pt-br  
File Role Description
  Accessible without login Plain text file exceptions.php Aux. Auxiliary script

  Files folder image Files  /  public_html  
File Role Description
Files folder imagecss (6 files)
Files folder imagefonts (1 file)
Files folder imagejs (6 files)
  Accessible without login Plain text file dev.htaccess Data Auxiliary data
  Accessible without login Plain text file index.php Example Example script
  Accessible without login Plain text file prod.htaccess Data Auxiliary data
  Accessible without login Plain text file stage.htaccess Data Auxiliary data

  Files folder image Files  /  public_html  /  css  
File Role Description
  Accessible without login Plain text file bootstrap-theme.css Data Auxiliary data
  Accessible without login Plain text file bootstrap-theme.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap-theme.min.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data

  Files folder image Files  /  public_html  /  fonts  
File Role Description
  Accessible without login Plain text file glyphicons-halflings-regular.svg Data Auxiliary data

  Files folder image Files  /  public_html  /  js  
File Role Description
  Accessible without login Plain text file bootstrap.js Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data
  Accessible without login Plain text file jquery-2.1.4.js Data Auxiliary data
  Accessible without login Plain text file jquery-2.1.4.min.js Data Auxiliary data
  Accessible without login Plain text file jquery-2.1.4.min.map Data Auxiliary data
  Accessible without login Plain text file npm.js Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:697
This week:0
All time:4,692
This week:79Up
 User Ratings  
 
 All time
Utility:93%StarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:647