krasimir / absurd

A JavaScript library with superpowers
http://absurdjs.krasimirtsonev.com/
MIT License
1.38k stars 90 forks source link

absurd init or yo organic #49

Open RayoGundead opened 10 years ago

RayoGundead commented 10 years ago

I don't know if generators are still a thing, but i use it in my workflow and it might help others.

krasimir commented 10 years ago

Good idea. I'll try to invest some time in this.

RayoGundead commented 10 years ago

scratch yeomen, I just found slush

krasimir commented 10 years ago

This looks interesting.

Xulai commented 10 years ago

What options would you want to see in a generator. I'm currently planning to make a Yeoman and Slush one. My current ideas of what to include are options to choose asset pipeline (grunt/gulp/broccoli/broccoli+grunt/none), Frameworks (DadaJS or None), Server Side MVC (Express or Static) and Client Side MVC (Utilising Router or Static).

krasimir commented 10 years ago

It looks like really good to me. Maybe @RayoGundead will post a comment as well.

RayoGundead commented 10 years ago

I was working on a generator for absurd called Bloodboiler.

The first idea was for generating atoms and molecules. Since Techy, the plan shifted to boilerplate for the static site generator and still keep the atom and molecule sub generators, also sub generators for post types(quotes, image, gallery, standard, page, list, rss, etc.).

Even with this much generators, it still focuses on absurd and techy. I’m not really fond of the idea of bundling other sub generators for other libraries since there are generators that already exist for them or they can be written as separate modules (see Unix Philosophy).

Maybe we could combine efforts...

Xulai commented 10 years ago

So you're suggesting we require and run other generators based on the users choices? So.. based on a users choice it will then npm install a generator, generate the base needed from it and then edit it for absurd. Then it'd run other generators and attempt to merge them?

RayoGundead commented 10 years ago

Not that. I mean just a generator for absurd and techy. we really need to talk in IRC or gittogether for this.

Xulai commented 10 years ago

Well isn't part of the reason people use generators is to choose options and get a skeleton made so they can quickly start a new project? I'm on the IRC by the by.

RayoGundead commented 10 years ago

ok then, but for now it will just be generators for absurd and techy, then there can now be a separate bundle generator requiring and running this and other generators. Let's see @krasimir 's comment on this.