Nov 96 URLs
|Column Tag:||Uniform Resource Locators
Uniform Resource Locators
By Jim Straus, URLs@mactech.com
Dont hesitate to notify me at URLs@MacTech.com of any sites that you think would be of interest! As always, the full list is maintained on-line at http://www.mactech.com/URLs.html.
To go along with this months theme, we will look at Internet Tools for the Macintosh. The most popular area of programming for the Internet is writing CGI programs for Web servers. CGI or Common Gateway Interface originally was a specification for how programs were invoked on Unix servers by web servers. However, the term has now come to be used for any programs invoked by web servers to generate information to be returned as a web page. The most common use for CGI programs is in response to Web forms, but they can be used to generate a different web page each time, in response to the user such as a the users location, something on the server such as the time of day, or both. The most popular Web server is WebSTAR, making it the standard for how CGI programs are invoked.
Jon Wiederspans CGI Tutorial has not been updated in a while, but it is still an extremely valuable tool for learning to program CGI tools for WebSTAR servers. It covers all the basics of Common Gateway Interface programs, creating CGI programs with AppleScript, working with forms, and working with image maps. Also check out some of Jons other works, and articles. A great spot to visit and look around for lots of good links out to other sites.
Jon Wiederspans CGI Tutorial http://www.comvista.com/net/www/lessons/
Grant Neufeld has written a very nice framework for creating CGI programs. It is a multi-threaded C framework so it can be (and has been) used for heavily trafficked sites. Besides supporting the original AppleEvent model, he is supporting the new WSAPI/CFM model. If you want to make professional, robust CGI programs, this is a site to check out.
Grants CGI Framework http://arpp.carleton.ca/cgi/framework/
Of course, if there is a way to write a program with AppleScript, there is a way to do it in Frontier. So the Frontier folks have their own site of hints and tools for creating CGI programs using Frontier. If you like Frontier (and there is a lot to like), this is a site for you.
CGIs in Frontier http://www.scripting.com/apps/webstar.html
A very useful tool for creating CGI AppleScripts is the CGI OSAX. It simplifies parsing all the information that the web server passes to the CGI program and tokenizes the information for easy usage.
CGI OSAX http://marquis.tiac.net/software/home.html
Now for some more general purpose TCP programming tools, check out Metrowerks site and Eric Behrs sites. These are both useful compilations of tools and information for MacTCP developers. Erics site is a very complete discussion of TCP/IP on the Macintosh. From how to install it, to how TCP works, to applications and source code.
Macintosh TCP/IP Programmers http://www.metrowerks.com/tcpip/index.html
MacTCP notes http://www.math.niu.edu/~behr/docs/mactcp.html
Of course Apple has a couple of site of interesting tools and information for Mac Internet developers. CyberTech has information on Apples more official projects. This includes e.g., a fast indexer for web sites, NetFinder, and the AppleSearch ACGI, among others. Also, check out Project X, Apples Netscape plug-in that gives a 3D flyable view of web sites.
Project X http://mcf.research.apple.com/
Maxis has a site full of tips for Mac Webmasters. If you want to set up your own web site or just see what is involved, this page has enough links to information to satisfy the most curious.
Maxis Webmaster Page http://www.maxis.co.uk/maxispages/macwebmaster.html
Thanks this month to Eric Behr, Mark Chally, Andy Goldstein, Grant Neufeld, Nermin Pomrcic, Jim Stephenson, Jon Wiederspan, and many others for their contributions for their suggestions and pointers to new and old sites.
Cyberdog Pound http://www.microserve.net/~dhughes/Frontier
Message Boards http://messages.webdownunder.com/index.html
Other Programmer Resources
Hypercard Heaven http://members.aol.com/hcheaven/ PowerPlant
Beginners Page http://www.netaccess.on.ca/~breakpt/html/powerplant.html
Vendors, Products and Miscellaneous
Mark Chally http://home.earthlink.net/~chally/