Perl, CGI, JavaScript Complete

Perl, CGI, JavaScript Complete is a complete guide to programming and building websites using Perl, CGI and JavaScript. The chapter on developing a Perl/CGI based database web interface is one of mine. It gives you complete details on how to communicate with a MySQL server, how to build a structure and interface to the MySQL database for your application, and then how to build your application on top of that.

Integrating Tomcat with Apache

If you write JavaServer Pages or use Servlets to provide the functionality of your Web site, you’re probably already aware of Tomcat. Tomcat is the Apache Foundation’s reference implementation of the JavaServer Pages and Servlet technologies. Tomcat 3 covers the Servlet 2.2 and JSP 1.1 revisions, while Tomcat 4 covers Servlet 2.3 and JSP 1.2. Tomcat itself is part of the Jakarta Project, which is a suite of Java development tools developed through the Apache foundation.Installing Tomcat itself is relatively easy — download the corresponding installer from the Tomcat pages at Apache, expand the files or run the installer, and then use the corresponding script to start up the Tomcat service. Tomcat has its own built-in HTTP service that handles and services requests from clients. We’ll look at the specific steps later in this article. Read on to find out how we can integrate Tomcat with Apache.

Enabling WebDAV on Apache

There is nothing worse when setting up a website than having to build some complicated method of viewing and updating the information on the site. There are lots of solutions — using a local copy, using a combination of HTTP and FTP tools to download the original and upload the changes and of course the full-blown dynamic/content managed system that provides that nice cuddly front end for you to enter the information into.In order to simplify the way you update websites, WebDAV was invented. Web-based Distributed Authoring and Versioning (WebDAV) uses extensions to the existing HTTP protocol to enable multiple users to manage and modify the files in a remote system. Using suitably enabled clients you can view, open, edit and save files directly into the filesystem of the Web site as it were of a remote website.There are some obvious immediate benefits of this, not least of which the ability to edit the website without jumping through too many hoops, but it’s the inventive use of the technology beyond editing a remote website that has lead to a recent explosion in interest of WebDAV. Nowhere is this explosion more prevalent than in the Mac OS X arena, where the iCal calendar application, provided free by Apple, can publish calendars to a WebDAV server so that other users can subscribe to the calendars and find out what you’re doing. Read on for the full article.

Apache 2.0: The Complete Reference

Ryan Bloom, one of the developers of the Apache HTTPD server product, was the lead author on this project. I contributed a few of chapters in this title too, including those on testing Apache (with HTTPD-Test and Flood), keeping Apache up to date with patches and updates and integrating Apache with extension modules like mod_perl and mod_python.For more information see the Apache 2.0: The Complete Reference page on Ryan Bloom’s website.

Solaris 9 Complete Idiot’s Guide

Want to know how to process XML documents in Perl, Python or PHP?Ever wondered how you’d do it in Ruby, REBOL, Tcl or AppleScript?Want to learn how to execute remote procedures over the Internet using XML-RPC or SOAP?XML Processing with Perl, Python and PHP tells you all these things and more. Working up from the basics of the XML standard through to specific chapters on each of the different languages we look at some real-world solutions and applications of the XML standard in each of these languages.

XML Processing with Perl, Python and PHP

Want to know how to process XML documents in Perl, Python or PHP?Ever wondered how you’d do it in Ruby, REBOL, Tcl or AppleScript?Want to learn how to execute remote procedures over the Internet using XML-RPC or SOAP?XML Processing with Perl, Python and PHP tells you all these things and more. Working up from the basics of the XML standard through to specific chapters on each of the different languages we look at some real-world solutions and applications of the XML standard in each of these languages.

Perl to Python Migration

Want to learn Python but don’t want to learn the basics all over again?Already know how to program in Perl?Then Perl to Python migration is for you!Starting with the basic mechnical and semantic differences of the language and moving on to the specific differences between the two popular programming environments. The book includes full details on Perl functions and many of the standard and extension modules and their equivalents in Python. You’ll learn how to use Python for web applications, networking, basic text processing (including regular expressions) and file and system management. We also look at how to migrate your Tk applications from Perl to Python.

Python: The Complete Reference

Python: The Complete Reference is a complete guide to the Python language. As well as covering the basic mechanics of the language and how to write Python applications. We also look at the modules in the standard Python library and how to apply them, how to use Python for user interface and Web development, using Python as a RAD tool and the issues surrounding cros platform development with the Python languageIn addition you get all the information you need on how Python works internally, how to debug and optimize your Python scripts, how to write good documentation and usie the Python documentation tools. If you are still hungry for more information you’ll also find details on how to extend and embed Python using C/C++.

CD Recordable Solutions

We tend to take CDs for granted these days. Twenty years ago, owning a CD player and going to the local store to pick up a CD was something special-and expensive. Now, it’s run of the mill and we’re used to buying music CDs at the local supermarket and putting the latest software and games onto our computers using the same silvery discs. We’ve also started to watch movies from a similarly sized disc called DVD.Getting hold of all this software (music, computer programs, and movies) for your equipment is easy, but what do you do if you want to write your own CDs with your own music selections, copies of your family photos, and the latest holiday movie?You can do all of that with CD-R technology and this book. It doesn’t matter whether you are a home user who wants to make music compilations and exchange files using CD or a business creating CDs ready for professional duplication, you should find everything you need to know. From choosing the right drive to recording audio for transfer to CD we take you through every step of the process.How The Book is OrganizedThe book is split into four distinct sections:Section 1-“CD-R Fundamentals” looks at the basics of CD-R, including how the technology works, the different formats we can use to store information, and details on how to choose and make the best use of your CD-R hardware.Section 2-“Writing CDs” covers the specifics of the CD writing process. In addition to instructions for creating data CDs for storing standard files, I also look at music CDs, using CD-R for backups and archiving, and also the best methods for laying out and organizing the information you put on CD to make it accessible.Section 3-“Writing CDs for Business” details the issues surrounding the use of CDs in a business, looking at the basics of verification and testing and mass duplication.Section 4-“CD Writing Software” describes the different software packages you can use to write CDs, create videos, back up your machine-all using the CD-R medium. Once it’s written, we even show you how to create suitable labels!Throughout the book, special attention is given to providing and supporting cross-platform solutions, and the book covers the CD writing process under Windows, Mac OS, and Unix/Linux.

Perl The Complete Reference 2nd Edition

As the title suggests, this book is a complete reference to the Perl programming language. As such, it includes details of everything you want to know about statements, expressions, functions, and regular expressions within Perl. Some highlights of the book include the creation of useful packages and modules, using Perl on the command line and Tk as a cross-platform user interface solution. There are also several chapters dedicated to the design and use of the supported data structures within Perl, and to the processes available for accessing external data structures and databases.Interprocess communication, either between processes on the same machine or between processes on different machines, is also a topic for discussion. The former is handled by a number of tricks and some system-dependent features. For the latter machine communication, you can use network sockets. An alternative solution to the problems of processing between multiple processes is to use threads, which are small, “lightweight” execution sequences that are still owned in their entirety by their parent process, and we also look at how threads can be used to solve these problems.A large portion of the book is given over to the process of getting inside Perl. We examine how Perl works as it parses a Perl script and how that process can be modified with compiler pragmas. Then we move on to the process of extending Perl by writing an interface between Perl and a C function. This allows Perl to use and access an unlimited number of extensions and enhancements to the core Perl language. You can also do the reverse. You can embed the Perl interpreter into a C program, allowing you to use the advanced features of Perl within a C program. You could even build the interpreter into an application to provide a built-in scripting language.A recent development in the Perl interpreter has allowed the creation of a Perl compiler (which is in itself a bit of a misnomer; see Chapter 1 for details). With the compiler you can do many things, including produce some detailed output on the real structure and execution path that your script takes. One of the most significant and useful features, though, is that you can take a Perl script and produce a stand-alone executable program.Perl is also a good cross-platform development tool. See Chapter 1 for a list of some of the platforms that Perl has been ported to. We take a close look at the three main platforms-Unix, Windows, and MacOS-and how they differ, before taking a more generalized view of how to program with Perl in a cross-platform world and ensure the cross-platform compatibility.Finally, the appendixes provide a quick and detailed reference to the Perl functions, error messages, and the standard Perl library that comes with every distribution. Of course, even with the best intentions, it’s possible to have forgotten some element, or not to have gone through a particular element to a deep enough degree, although I hope this won’t be the case for most readers.