Giter Club home page Giter Club logo

utmostcreator / roubiroid Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 360 KB

Explore PHP framework, designed for modern development. It offers server-side form validation, cron job management, and easy database migrations and seeding. Built on Symfony's robust foundation, inspired by Laravel's elegance, and powered by MVC architecture, it's crafted for efficiency and simplicity. Join us for a seamless development experience

PHP 99.46% Shell 0.14% CSS 0.05% JavaScript 0.20% Hack 0.15%

roubiroid's Introduction

MVC Introduction

Controllers

Naming conventions:

  • verb + thing + Controller => "ShowProductController"

MUST NOT:

  • contain any code that should be shown in the browser, like HTML and CSS;
  • deal with the database or the filesystem. MUST DO:
  • receive the HTTP requests;
  • send back a response to browser.

DB:

  • only in dev | LOCAL environment you will see DB error!

Model

Naming conventions:

  • thing(singular) => "Product" + Model

Its function:

  • talks to DB;
  • works with filesystem.

Events:

Naming conventions:

  • thing + verb (past tense) => "ProductCreated"

Roman's Framework

Project setup

composer install

Update project deps

composer update

Update autoloads

composer dump-autoload

Migrations

Do migrations from scratch

php command.php migrate --up

Delete all migrations

php command.php migrate --down

Delete all migrations, and run then from scratch - DEFAULT

php command.php migrate --fresh

Delete all migrations, and run then from scratch - DEFAULT

php command.php migrate --list

Compiles and minifies for production

Go To Config and change LOCAL => REMOTE

Composer Scripts


Customize configuration

See Configuration Reference.

Developers

  • UtmostCreator

roubiroid's People

Contributors

utmostcreator 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.