Php book

Solo disponible en BuenasTareas
  • Páginas : 323 (80683 palabras )
  • Descarga(s) : 0
  • Publicado : 20 de junio de 2011
Leer documento completo
Vista previa del texto
Web Application Development with PHP 4.0

Other Books by New Riders Publishing
MySQL Paul DuBois, 0-7357-0921-1 A UML Pattern Language Paul Evitts, 1-57870-118-X Constructing Superior Software Paul Clements, 1-57870-147-3 Python Essential Reference David Beazley, 0-7357-0901-7 KDE Application Development Uwe Thiem, 1-57870-201-1 Developing Linux Applications with GTK+ and GDK Eric Harlow,0-7357-0021-4 GTK+/Gnome Application Development Havoc Pennington, 0-7357-0078-8 DCE/RPC over SMB: Samba and Windows NT Domain Internals Luke Leighton, 1-57870-150-3 Linux Firewalls Robert Ziegler, 0-7357-0900-9 Linux Essential Reference Ed Petron, 0-7357-0852-5 Linux System Administration Jim Dennis, M. Carling, et al, 1-556205-934-3

Web Application Development with PHP 4.0

Tobias RatschillerTill Gerken
201 West 103rd Street, Indianapolis, Indiana 46290

With contributions by Zend Technologies, LTD Zeev Suraski Andi Gutmans

Web Application Development with PHP 4.0
By:Tobias Ratschiller and Till Gerken Copyright © 2000 by New Riders Publishing

FIRST EDITION: July, 2000
All rights reserved. No part of this book may be reproduced or transmitted in any form or by any means,electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without written permission from the publisher, except for the inclusion of brief quotations in a review. International Standard Book Number: 0-7357-0997-1 Library of Congress Catalog Card Number: 00-100402 04 03 02 01 00 7 6 5 4 3 2 1 Interpretation of the printing code:The rightmostdoubledigit number is the year of the book’s printing; the rightmost single-digit number is the number of the book’s printing. For example, the printing code 00-1 shows that the first printing of the book occurred in 2000. Composed in Bembo and MCPdigital by New Riders Publishing Printed in the United States of America

Publisher David Dwyer Executive Editor Al Valvano Managing Editor Gina BrownProduct Marketing Manager Stephanie Layton Publicity Manager Susan Petro Acquisitions Editors Ann Quinn Alan Bower Stacey Beheler Nancy Maragioglio Editor Robin Drake Indexer Cheryl Lenser Manufacturing Coordinator Chris Moos Book Designer Louisa Klucznik Cover Designer Aren Howell Composition Amy Parker Proofreader Jessica McCarty

Trademarks
All terms mentioned in this book that are known to betrademarks or service marks have been appropriately capitalized. New Riders Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark.Windows and Microsoft are registered trademarks of Microsoft Corporation.

Warning and Disclaimer
This book is designed to provide information aboutPHP. Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information is provided on an as-is basis.The authors and New Riders Publishing shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the discsor programs that may accompany it.

Contents
Foreword xiii Introduction xv

Target Audience xvi Prerequisites xvii Organization of This Book xvii Conventions Used in This Book xviii

I Advanced PHP 1
1 Development Concepts 3
PHP for Me? 3 The Importance of Planning 4 Coding Conventions 6 Using Files to Group Functions 24 Writing Documentation 25 An API Design Example 26 Summary 30

2Advanced Syntax 31
PHP Syntax 31 Defining Constants 32 Array Functions 33 PHP and OOP 41 Linked Lists 53 Associative Arrays 63 Polymorphism and Self-Modifying Code 78 Summary 87

3 Application Design: A Real-Life Example 89
Project Overview 90 Comparing Technologies 91 IRC Network Basics 95

v

vi

Contents

Fitting the Application into the Network 97 Interfacing the Network 99...
tracking img