Giter VIP home page Giter VIP logo

micro-framework's Introduction

Micro Framework

Este projeto basicamente é o exemplo de aplicativo do Simplest Router, com poucas alterações, mas resolvi criar um repositório para ele, para dar mais visibilidade.

Apenas uma pequena refatoração:

  • Renomeei o método fetch() nos models em App para edit()
  • Renomeei o action fetch() nos controllers em App para edit() Assim ficou bem coerente, pois o papel dele é de edit.

Adicionei pequenos comentários para deixar mais claro.

Movi a configuração do Ignition do config.php para o public/inde.php. Assim, basicamente o index.php não precisará de alterações ao se criar um novo aplicativo.

Melhorei a documentação das migrations com o Phinx.

Clique para acessar/Click to access

Português English

URL deste Projeto

https://github.com/ribafs/micro-framework

Este projeto foi criado partindo principalmente dos projetos abaixo:

Testado em

Usando a respectiva versão so Simplest Router, testei com:

  • Windows 10

    • Laragon - PHP 8.1
  • Linux Mint 21

    • PHP 8.1
  • Ubuntu

    • 22.04 - PHP 8.1
    • 20.04 - PHP 7.4
    • 14.04 - PHP 5.5
  • Namespace

  • Require

  • Nomes de controllers fixos

  • MySQL/MariaDb

  • PostgreSQL

Requisitos

  • Module mod_rewrite from Apache

Alguns recursos

  • Suporte ao PHP 5.5 até 8.1
  • Namespace with PSR-4 and composer.
  • MySQL
  • PostgreSQL
  • Patterns Front Controller and Singleton
  • Search
  • PDO
  • Bootstrap 5.2

Pacotes de terceiros

  • Migrations and seeders with Phinx e Faker Restaurant
  • Ignition handler error. O mesmo usado pelo Laravel 9

Licença

MIT

micro-framework's People

Contributors

ribafs avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.