|
|
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
|
OCTOBER 22nd, 1997 What's NeXT? ARLEN BRITTON (abritton@webintosh.com) Behind the Scenes: NeXTSTEP Services Last week we took a brief look at the NeXTSTEP Pasteboard and how it differs from the Mac OS Clipboard; this week we'll delve into the world of the NeXT Services menu. Keep in mind that this is not meant to be an all-inclusive guide; I'm not a programmer. The concept of Services is really very simple. So simple, in fact, that it's surprising no other modern OS has anything that even resembles it. Even Microsoft has ignored this feature! Services opens up a whole new area of powerful, extensible functionality for NeXTSTEP users. But to understand Services, you should know how the pasteboard works (see last week's column). Good Help is Hard to Find Having solved the communication problem, you now have an environment where it really is feasible to use multiple applications to get your job done. While you're thinking about how this works, questions start forming in your mind: Isn't it confusing to always be switching between applications? Isn't it a lot of extra work? Won't it be tedious and time-consuming? The simple answer is "Yes, yes and yes." But since NeXTSTEP's Services menu solves this problem, in the end the answer will be "No, no and no." Most everyone who uses multiple applications today has to deal with the repetitive and tedious job of manually switching between applications. Usually we're copying data from one application, pasting into another to modify it, then copying it back to the original or another application entirely, possibly for further modification. In the end, you get what you want, but it's very time consuming. Mercifully, users of NeXTSTEP never have to deal with this, because Services are merely an extension of the pasteboard that allow the user to skip the whole process of cutting and pasting data back and forth between applications. For example, using Services, the user could have a text document that they want to make a copy of for their friend using a Macintosh. The file format is incompatible with anything on the Mac, and character mappings are different, too. So the user has to convert the file to a Macintosh text-only document to give to their friend. With Services, the user just chooses the Services menu from the main menu, then "Convert Files" from the list of submenus, and finally what format they would like to make the converted document. Once the choice is made, the text from that document is copied to the converter application, converted to Macintosh text format, and saved on the hard disk. The original NeXTSTEP document is unchanged. This all takes place behind the scenes, while the user never has to leave the main application. NeXTSTEP automatically launches the converter application (if it isn't already running), copies the text from the original document, changes it to a different format, and saves a new file. Since the pasteboard is used by Services for these tasks, one might naturally worry about having other data on the pasteboard being wiped out by using Services. Not to worry; as mentioned in the previous column about the pasteboard, NeXTSTEP has multiple pasteboards; the one used for cutting and pasting is different from the one used by Services, so your data is safe. The Services menu also solves the problem of having different interfaces for each application that is being used. By having a simple, consistent approach to viewing and selecting a service, the user can stay in their main application, focused on getting their work done, without having to switch back and forth between different applications. Service Nirvana For example, both PasteUp and WriteUp offer services between each other, while OmniImage Filter only offers services to other applications for using different image formats. NeXTSTEP itself provides several applications that act as services, including Dark Forest, Webster's Dictionary and Thesaurus, and NeXTmail, to name a few. There are also some parts of NeXTSTEP that you probably don't realize are actually services, such as the NeXT spelling checker, and the Print panel functions. With so many services available, the Services menu can quickly become lengthy and difficult to sort through. Again, NeXTSTEP provides a way out of this mess. Using the Preferences application, the user can selectively turn off whichever services they don't need or don't use very often; they won't even appear in the Services menu, unless you turn them on again. Only the Beginning © All information presented on this site is copyrighted by The Mac Observer except where otherwise noted. No portion of this site may be copied without express written consent. Other sites are invited to link to any aspect of this site provided that all content is presented in its original form and is not placed within another frame. |
|||||||||||||||||||||||||||