extendscript-es6-shim icon indicating copy to clipboard operation
extendscript-es6-shim copied to clipboard

Suggest to load the extendscripter modules

Open GitBruno opened this issue 7 years ago • 4 comments

Hey guys, I added the extendscripter modules to NPM which breaks this collection into bite-size pieces.

I suggest adding these as a dependency here? Making it nice and DRY. And then once this is successful do the es5 as well.

What are your thoughts?

Of course, it would be good to write some test etc first before we do anything but would love to get your feedback!

GitBruno avatar Mar 22 '18 23:03 GitBruno

Great work. I was wondering why you created another org on npm and here on Github too?

  • https://www.npmjs.com/org/extendscript
  • https://www.npmjs.com/org/extendscripters
  • https://github.com/ExtendScripters
  • https://github.com/ExtendScript

That gets confusing IMHO. Shouldn't we get all under one roof?

ff6347 avatar Mar 28 '18 03:03 ff6347

My thinking was that Extendscripters holds all the sub-modules (and possibly share the same global.myApp variable) that make up complete apps/projects in ExtendScript.

Clearly we would need to make this clear in the docs but can also rename if you like. What about myApp?

GitBruno avatar Mar 28 '18 07:03 GitBruno

My thinking was that Extendscripters holds all the sub-modules (and possibly share the same global.myApp variable) that make up complete apps/projects in ExtendScript. Clearly we would need to make this clear in the docs but can also rename if you like. What about myApp?

I don't get it? Do you want to create a boilerplate?

ff6347 avatar Mar 29 '18 04:03 ff6347

A mixture between a utility file (remember those) but then hosted seperared on NPM and an API/Framework (like IdExtenso) targeting other apps as well.

The separation of the utility file is an important detail as that is what makes the framework work load well using require.

Said that I will proberbly reference a boilerplate but this could be extentscriptr after we have the —nopoly flag. I hope this will start feeding different boilerplates.

Maybe I am over explaining it? And just a bunch of utility functions/classes is good enough?

Either way, it is a concept I am playing with. If it actually works I am not sure about (yet). But the seperate utility classes and functions would definitely be useful to developers even if the bigger picture fails.

GitBruno avatar Mar 29 '18 08:03 GitBruno