1602 / kontroller

Generic Controller for express / compound / socket.io and everything else
8 stars 5 forks source link

Controller / action templates used for CompoundJS generators #1

Closed saschagehlich closed 11 years ago

1602 commented 11 years ago

Not-eval version available in compound repo. And I guess some code is missing (code which should return templates by compound request).

saschagehlich commented 11 years ago

What code do you mean?

saschagehlich commented 11 years ago

And we don't need the eval controller templates anymore, do we?

1602 commented 11 years ago

I mean all code added by this pr. I don't see how it used

1602 commented 11 years ago

We can work with both for now

saschagehlich commented 11 years ago

As I already explained, kontroller is only providing templates. Nothing more.

How do we decide whether we use eval or commonjs templates?

1602 commented 11 years ago

But how controller provide templates? It's not clear from this pr.

Crud or controller generator should accept param --eval, or it could be specified as app setting