222
❘
CHAPTER 10
Using ironPython for AdministrAtion tAsks
USINg IRoNPyTHoN CoNSTRUCTIvELy
This chapter has provided you with the basic information required to write a good command line
application that an administrator (or anyone else for that matter) can use to work at the command
line. The basic idea you should take away from this chapter is that while command line applications
are normally more difficult to work with, they’re also much more flexible, faster, and more adaptable
to automation than graphical applications are. In short, you won’t write command line applications
for the novice user — you write them for an experienced user who is normally a developer, adminis-
trator, or someone else who needs to perform low-level tasks.
It’s amazing to think that some developers don’t even have a strong grasp of the command line any
longer. If you haven’t done so already, take some time to discover the command line. Work with
some applications that look interesting. You can find a basic reference of command line utilities at
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/
ntcmds.mspx
, but Microsoft and other vendors provide a wealth of other utilities for you to use. My
book, Administering Windows Server 2008 Server Core (Sybex, 2008), provides a complete com-
mand line reference and documents a few of those undocumented utilities as well. Check out the
help for each of the utilities (normally you use the
/?
command line switch) to discover differences
in command line utility design that you can use when creating your own applications.
If you’re really interested in the command line, consider getting a book on command utilities. The
help provided with command line applications, especially utilities and commands, is notoriously
poor. Besides discovering an entirely different side of Windows, these utilities help you discover
what works, and what doesn’t, when creating utilities of your own. Book authors often make you
aware of utility and command problems that you want to fix in your own applications.
Chapter 11 helps you discover the ASP.NET application in IronPython. You might be amazed
at how simple ASP.NET application development can be in IronPython. In fact, you’ll learn that
IronPython has certain advantages when compared to other languages.
548592c10.indd 222
2/24/10 12:48:35 PM
www.finebook.ir
Do'stlaringiz bilan baham: |