SamyOteroGlez / awesomecrud-js

A crud generator for Sails.
MIT License
8 stars 0 forks source link

make template engine as option #3

Open sajov opened 8 years ago

sajov commented 8 years ago

Hi,

great job! i personally prefer swig as template engine .

I have spend 3 weeks with ng-admin. That's offers great features maybe you get inspirations.

SamyOteroGlez commented 8 years ago

Hi sajov.

Thanks for that, I really appreciated!

My goal is create a graphical interface for the CRUDs generation with more configuration options to gain flexibility in what user want, but keeping the things as simple as possible. First I like to create all that options for the console and make that process more interactive. The user need to choose if wants bootstrap or not, datatables or not...

Can you give me the link of ng-admin?

To modify datatables options you can open the datable-init.js file and change what you want or change it directly in the datatable-init.txt template inside the awesomejs lib to generate the code with your changes.

I like to include require.js to optimize the loading process.

Any ideas will be great. You are welcome to join me and code. If you are interested we can improve this lib.

I came from php frameworks, I worked the last 2 years with Yii and they have this code generator that allow you to select in the web interface wish template use for the generation. So if you create your own you can use it, it's awesome. I just try to recreate that for sails.

I believe that sails is awesome, but if you are going to work with sails, an MVC framework, you need a crud generator, it does not make sense create all the CRUDs one by one, in that case keep working with php, ruby, python... and instead of using sails use express.js for SPA.