A framework to help us to back the time in which javascript was simple, intuitive and without insane concepts.
Just html + javascript
- Pure html. Forgot alien tags or attributes:
<App> <MuiThemeProvider> <app-navigation> *ngIf="!authService.isLoggedIn()" <Drawer open containerStyle={{ position: null }}>
- Just your web code. Forgot alien files
.babelrc .eslintrc tslint.json .etc - Annotations like java or c#
- Dependency Injection
- Automatic actionable elements detection
- Automatic router binding
- Compatible with any fucking javascript framework in the world
Check the first demo:
Just install the tool, create the project, add your js and run it
Install the tool
npm install -g github:/backtojs/backtojs-core
backtojs --new-project acme
cd ./acme
/src/pages/HelloWorld.html
[HelloWorld]
<h1>Hello World Example</h1>
<p>This is a very basic "Hello World" example made up in HTML and CSS</p>/src/controllers/HelloWorldController.js
[Controller(entrypoint="true")]
function HelloWorldController() {
[Autowire(name="HelloWorld")]
this.page;
[OnLoad]
this.onLoad = () => {
console.log("onLoad: Hello World!!");
};
[Render]
this.render = () => {
return this.page.getHtml();
};
}
module.exports = HelloWorldController;npm run dev
Go to http://localhost:1308
- coming soon
- coming soon
- Font generator
- My first idea was in 2018. Project in that time called Lassie.js https://github.com/BackToJs/backtojs-core/tree/1.0.1-beta
|
jrichardsz |
