Re: Library Modules and Library Loaders
Re: Library Modules and Library Loaders
- Subject: Re: Library Modules and Library Loaders
- From: Tetsuro KURITA <email@hidden>
- Date: Mon, 06 Sep 2010 11:21:21 +0900
>
> What I want is a standard file format for modules. I didn't intend write any code to have this done.
I guess your standard file format menas :
* Appending additional entries into the Info.plist
* implementing custom handlers in the script.
* implementing custom properties in the script.
I think these must be optional. Any kind of AppleScript products (.scpt, .scptd, .applescript, applets and droplets) should be able to be treaded as modules without modifications.
Also rules for your format should be minimum. Following your format must give clear benefits.
In the case of ModuleLoader, there are two optional requirements.
* Describe dependencies in the properties by "module" command.
* implement "module loaded by" handler for initialization when the module is loaded.
But these are optional. And there are clear purpose and benefits.
You are suggesting kind description and list of a script's handlers and properties as a part of module's format. But benefits of these information is unclear because tools using these information is not mentioned.
Also I feel no requirement of unique identifier you suggested to introduce. I can understand the motivation of introducing unique identifier, but file path is enough. File paths are not perfect identifier but it work well in almost cases.
After finding cases file paths cause serious problem, we should consider to introduce unique identifier. At this time, ModuleLoader shows unique identifier is not required.
It's difficult to define only file format without tools using these information.
=======================================================
Tetsuro KURITA
E-mail: email@hidden
http://homepage.mac.com/tkurita/scriptfactory/en/
=======================================================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden