Skip to content

Mirotic is an MVC framework written in Hack to be run on HHVM.

License

Notifications You must be signed in to change notification settings

Kilenaitor/Mirotic

Repository files navigation

Mirotic

Mirotic is an MVC framework for Hack + HHVM

Latest Version: 0.0 -- In Development

Overview

Project Structure:

  • config/
    • Mirotic.php -- Stores app-wide configuration information. Customize at will.
    • config.ini -- Additional configuration settings for HHVM
  • bin/
    • mir -- Framework util app. Used for code generation, etc.
  • src/
    • controllers/ -- The logic for a particular route
    • elements/ -- Place for all XHP elements
    • exceptions/ -- Place for all exceptions
    • generated/ -- Place for any (auto)generated code
    • lib/ -- Place for Mirotic framework code
    • pages/ -- The HTML for a particular route
    • utils/ -- Various utility classes/functions
  • public/
    • css -- Where all the CSS lives
    • img -- Where all the images live
    • index.php -- Entrypoint to the application
    • js -- Where all the JS lives

Installation

Mirotic uses composer for dependency management. To install, please run:

hhvm $(which composer) install

Running

To run the server locally for debugging,

hhvm -m server -c config/config.ini -p 8080

The site will be available at http://localhost:8080.

Mir

Mir is the name of the framework toolkit. It's a CLI program that will handle the mundane things like creating new routers, linting, etc.

To run,

hhvm bin/mir

About

Mirotic is an MVC framework written in Hack to be run on HHVM.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published