Thursday, August 18, 2005

Ebook on Computer Programming : Linux Web Solution php mySql Apache.pdf

Abstract
Of all the web servers on the market today, Apache is most popular because it supplies basic web server functionality right out of the box. Yet, many customers want a more sophisticated website, one with SQL database functionality, search capabilities, and server-side scripting. The complexity and interdependencies of these packages make it difficult for independent software vendors, solution developers, and website administrators to put together a solution. Customizing the Apache server with additional functionality can be complex on the Linux platform. The solutions for extending functionality are just not obvious. This technical guide demonstrates how to integrate PHP, MySQL, and ht://Dig with the Apache server. Independent software vendors, solution developers, programmers, and website administrators can use this guide to plan and deploy advanced Apache web servers on the Linux platform.

This document describes how to install, configure, and deploy a sophisticated Apache website on the Linux operating system. Such a website includes the powerful, server-side scripting language, PHP3, access to the full-featured SQL database, MySQL and the ht://Dig search engine. All of the software packages described in this document are open source applications. What makes open source software so attractive? First of all, it is free. Secondly, you get copies of the software source code, which frees you to control the software to meet your short-term and long-term requirements. The key points of open source software restrictions are that no one:

  • Distributes the product without the source code (or, a list of differences between the modified version and the original) and a copy of all related documentation
  • Charges for the software itself (only for its distribution)
  • Can impose restriction on its distribution

For more information on licensing, refer to the regulations defined by the Open Source Initiative organization at: http://www.opensource.org/osd.html.

More on Newbie Webmaster

Saturday, July 16, 2005

Reducing Load Time Through Image Optimization

Even though more and more Internet users switch to broadband every year, a large portion of the web's population is still running on good old dialup connections. It is therefore unwise to count them out of the equation when you're designing your website, and a very major consideration we have to make for dialup users is the loading time of your website.

Generally, all the text on your website will be loaded in a very short time even on a dialup connection. The culprit of slow-loading sites is mainly large images on your website, and it is very important to strike a delicate balance between using just enough images to attract your users and not to bog down the overall loading time of your site.

You should also go to a greater length and optimize every image on your site to make sure it loads in the least time possible. What I really mean is to use image editing software to remove unnecessary information on your images, and thereby effectively reducing the file size of your image without affecting its appearance.

If you own Photoshop, it will be obvious to you that when you save an image as a JPEG file, a dialog box appears and lets you choose the "quality" of the JPEG image -- normally a setting of 8 to 10 is good enough as it will preserve the quality of your image while saving it at a small file size. If you do not have Photoshop, there are many free image compressors online that you can download and use to reduce your image's file size.

On the other hand, you can opt to save your images in PNG format to get the best quality at the least file size. You can also save your images in GIF format -- the image editing software clips away all the color information not used in your image, hence giving you the smallest file size possible. However, saving in GIF format will often compromise the appearance of your image, so make your choice wisely!

More on Newbie Webmaster

Tuesday, June 28, 2005

Ebook Computer Programming in Java: Java Network Programming 2ed.pdf

This book begins with three chapters that outline how networks and network programs work. Chapter 1, is a gentle introduction to network programming in Java and the applications that it makes possible. All readers should find something of interest in this chapter. It explores some of the unique programs that become feasible when networking is combined with Java. Chapter 2, and Chapter 3, explain in detail what a programmer needs to know about how the Internet and the Web work. Chapter 2 describes the protocols that underlie the Internet, such as TCP/IP and UDP/IP. Chapter 3 describes the standards that underlie the Web such, as HTTP, HTML, and CGI. If you've done a lot of network programming in other languages on other platforms, you may be able to skip these two chapters.

The next two chapters throw some light on two parts of Java that are critical to almost all network programs but are often misunderstood and misused: I/O and threading. Chapter 4 explores Java's unique way of handling input and output. Understanding how Java handles I/O in the general case is a prerequisite for understanding the special case of how Java handles network I/O. Chapter 5 explores multithreading and synchronization, with a special emphasis on how they can be used for asynchronous I/O and network servers. Experienced Java programmers may be able to skim or skip these two chapters. However, Chapter 6, is essential reading for everyone. It shows how Java programs interact with the Domain Name System through the InetAddress class, the one class that's needed by essentially all network programs. Once you've finished this chapter, it's possible to jump around in the book as your interests and needs dictate. There are, however, some interdependencies between specific chapters.

More on Newbie Webmaster