• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Libraries and effiency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libraries and effiency


  • Subject: Re: Libraries and effiency
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 15 Aug 2010 21:39:47 -0700

>> For me, I find it easier to debug and maintain single flat scripts.
>
> In my experience, such development style causes to limit size and functions of your script.

I don't know, I have some pretty big scripts.

>> Another issue is that none of the library loading systems I've looked at are intuitive or transparent.  I know that's not important to everyone but it is to me.
>
> Could you evaluate "ModuleLoader".
> http://homepage.mac.com/tkurita/scriptfactory/en/XModules/index.html#ModuleLoader
>
> I am interested in improving this system to be easy and comfortable.

OK, first your web page asks for volunteers to help with the English documentation. I'll contact you off list.
>


> You may not interested in development of such big application.
> But I hope you understand the library/module loading system can expand limitation of the development.

I several very large complex workflow scripts and systems that, as I said, could probably benefit from using a module loader.

Here's one example.  My users work with large Indesign tables.  I have several scripts that detect which cell the user has selected, from that cell the script determines which record in a database to access, then extracts data from fields, combines data in several ways to give the user a choice of options, then replaces the styled text in the cell with new, styled text based on the user's selection.

There are probably a dozen scripts in the ID palette that the user can call, most of them share a number of handlers that are copied and pasted into single flat file.

Since this is a user interaction script it has to be fast.

I'll try  "ModuleLoader" on this system and see if it makes it easier to maintain and debug the scripts and see what effect it has on speed.

ES  _______________________________________________
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

References: 
 >Re: Libraries and effiency (From: Tommy Bollman <email@hidden>)
 >Re: Libraries and effiency (From: Philip Aker <email@hidden>)
 >Re: Libraries and effiency (From: Philip Aker <email@hidden>)
 >Re: Libraries and effiency (From: Tommy Bollman <email@hidden>)
 >Re: Libraries and effiency (From: Philip Aker <email@hidden>)
 >Re: Libraries and effiency (From: Philip Aker <email@hidden>)
 >Re: Libraries and effiency (From: "email@hidden" <email@hidden>)
 >Re: Libraries and effiency (From: Philip Aker <email@hidden>)
 >Re: Libraries and effiency (From: "email@hidden" <email@hidden>)
 >Re: Libraries and effiency (From: Philip Aker <email@hidden>)
 >Re: Libraries and effiency (From: "email@hidden" <email@hidden>)
 >Re: Libraries and effiency (From: Philip Aker <email@hidden>)
 >Re: Libraries and effiency (From: "email@hidden" <email@hidden>)
 >Re: Libraries and effiency (From: Tetsuro KURITA <email@hidden>)

  • Prev by Date: Re: symlinks
  • Next by Date: Re: symlinks
  • Previous by thread: Re: Libraries and effiency
  • Next by thread: Re: Libraries and effiency
  • Index(es):
    • Date
    • Thread