Skip to content

Features draft #1

@asavin

Description

@asavin

What it should be able to do

  • reflex i[nit] [appname] - generates a fully functioning skeleton of the Reflex app
  • reflex s[erver] - serves the app
  • reflex g[enerate] routname[s] - generates and appends new routes into the app (with appropriate views). You can pass an array of routes.
  • reflex install [module name] - something about pluggable modules for the Reflex fw
  • reflex scaffold - something similar to Rails, but maybe not needed at all

Ideas

  • Most of the commands can very well be gulp tasks, and the user can easily ignore the whole client thingie and just use gulp (and extend whatever)
  • init would generate all the necessary files, as well as run npm install and gulp, so that the app is ready to be launched with reflex server
  • Hot code reload while serving the app would be very hot
  • We could server the framework with a multiple examples, each of which could be installed with reflex init example [name]

Principles

  • One client tool rules them all
  • Easy to start making apps - the user doesn't have to know gulp or other tools, client takes a full care of the user to a certain point. Advanced users should be allowed to skip the client if they choose so, beginners should be able to rely solely on the client until they learn more about various tools and require more levels of control.
  • Client tool should not hide git, but is ok to hide npm, gulp and whatever else is required to generate and start the app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions