simple-framework-core
Little tool to create a simple Framework with namespace from Dependancy The program simply loading dependancies files from a path and eval them, then return an object witch is the framework.
It provide the entire Framework and the namespace() function inside the Dependancy files.
installation :
npm i --save simple-framework-core
Example of use :
Let say you have to create a little user management system. So first you create a User entity and a User Factory
./Framework/UserEntity.js
{ thisusername = username thispassword = password } Entity = UsersEntity
./Framework/UserFactory.js
{ // whatever you need } { return } Factory =
Then use your Framework like :
./index.js
let Framework = new './Framework'let newUser = FrameworkUsersFactoryconsole
Enjoy ! o/
ps: Sorry for my bad english, i'm not a natural english speaker.