jansmolders86 / mediacenterjs

A HTML/CSS/Javascript (NodeJS) based Media center
http://mediacenterjs.com
1.29k stars 243 forks source link

Feature possibility... Gulp #139

Closed Karnith closed 8 years ago

Karnith commented 10 years ago

Hi @jansmolders86

How are things in the mediacenterjs world? Haven't chatted with you in what seems like ages...

I have a suggestion, that might make life a bit easier for you when it comes to tasks...

Gulp

It is a build system, like grunt, but far better. Not only can you use it for the initial loading of your app, but you can make calls to gulp tasks like you would any other module/function. Used globally in the app this could be extremely powerful. For what, you may ask?

I hope you don't mind the competition, but I've started on my media server (JMedia) and thought we could share code/ideas and whatnot.

~Karnith

tracker1 commented 10 years ago

FYI, Gulp is basically orchestrators + vinyl-fs + event-stream... You can add in EventEmitter around a basic timer service for what you are wanting to do, and it could well be a set of managed tasks that are launched from said service.

Karnith commented 10 years ago

Yep. If you're familiar with the sails framework, I've created a gulp system to use instead of grunt, basically a conversation. If you look at the tasks, you could get a really good idea of tasks in gulp.

jansmolders86 commented 10 years ago

Hey Karnith,

It has been a while indeed! How have you been?

I currently have a less time to spend on MCJS as my payed workload has increased but whenever I have the chance I try to tinker with the project :) How great of you to share these thoughts. I definitely sounds interesting as all of that stuff is now being handled with custom code.

Of course I don't mind you are taking a shot at this yourself. I'd love to share ideas whenever!

Thanks and take care!

Jan