What it should be able to do
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
What it should be able to do
reflex i[nit] [appname]- generates a fully functioning skeleton of the Reflex appreflex s[erver]- serves the appreflex 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 fwreflex scaffold- something similar to Rails, but maybe not needed at allIdeas
initwould generate all the necessary files, as well as runnpm installandgulp, so that the app is ready to be launched withreflex serverreflex init example [name]Principles
git, but is ok to hidenpm,gulpand whatever else is required to generate and start the app