[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-WebCGI] Re: Make MacPerl CGI? was: [MacPerl] BOUNCE...Non-member...



>Dear Sir,
>
>I am a beginner for MacPerl. I am trying to write some CGI script for my
>
>web site, but I can't find any referances.
>
>I just want some referances for writing CGI (use my Power Mac), and
>connect my datas to my database (I use FileMaker Pro 5). Can you tell me
>
>about any sites or books that I can learn.
>
>
>Best Regards,
>leung

Dear Wong Chiu Leung,

first of all, you may want to subscribe to the MacPerl mailing list and to
the MacPerl WebCGI list. Both are low traffic lists and excellent sources
of wisdom :-). Visit <http://macperl.org/mpo/depts/mlists.html> for details
on how to subscribe.

To get started, take a look at the book "MacPerl Power and Ease" by Vicki
Brown and Chris Nandor (<http://macperl.com/macperl/ptf_book/>). It
contains a chapter on how to do CGI scripting with MacPerl (but not on how
to write CGI scripts). Before buying (or not), you are able to read the
book online at <http://macperl.com/macperl/ptf_book/HTML>. You may want to
jump directly into chapter 16 "CGI Scripting"
<http://macperl.com/macperl/ptf_book/r/MP/335.CGIx.html>; also look at
chapter 24 "Books, Etc."
<http://macperl.com/macperl/ptf_book/r/MP/505.Books.html> and you get a lot
of references to recommended Perl and Perl/CGI books. You may also
want to read the article "Using MacPerl for CGI Programming" by David
Steffen in the PerlMonth online magazine
(<http://www.perlmonth.com/columns/mac_perl/mac_perl.html?issue=11>).

If you want to learn more about the CGI standard (without buying a book ;-)
), take a look at the introduction from NCSA at
<http://hoohoo.ncsa.uiuc.edu/cgi/overview.html>
and the CGI tutorial at <http://lpage.com/cgiexample.html>. There are many
other online-sources that cover Perl and CGI programming. For example, give
<http://hotwired.lycos.com/webmonkey/programming/index.html> a try or just
ask a search engine.

And last but not least, also look at the POD of module CGI.pm that comes
with your MacPerl distribution.



Now, let's regard FileMaker. In MacPerl, you are able to control
applications with AppleScript terminology. You will need the Mac::Glue 0.58
module, written by Chris Nandor (visit his MacPerl page at
<http://pudge.net/macperl/>), and some related modules (as described in the
README file that comes with Mac::Glue). You may download the module at
<ftp://ftp.gmd.de/mirrors/CPAN/authors/id/CNANDOR/Mac-Glue-0.58.tar.gz> or
any other CPAN mirror. There is an example on how to extract FileMaker data
in the 'ex' folder of the Mac::Glue-distribution.

Hope that helps :-).

Best regards

--Thomas





==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org