This book is intended for anyone starting out with PHP programming. If you've previously worked in another programming language such as Java, C#, or Perl, you'll probably pick up the concepts in the earlier chapters quickly; however, the book assumes no prior experience of programming or of building Web applications. That said, because PHP is primarily a Web technology, it will help if you have at least some knowledge of other Web technologies, particularly HTML and CSS. Many Web applications make use of a database to store data, and this book contains three chapters on working with MySQL databases. Once again, if you're already familiar with databases in general -- and MySQL in particular -- you'll be able to fly through these chapters. However, even if you've never touched a database before in your life, you should still be able to pick up a working knowledge by reading through these chapters. What This Book Covers This book gives you a broad understanding of the PHP language and its associated technologies. You explore a wide range of topics, including: installing a copy of the PHP engine on Ubuntu Linux, Windows, and Mac OS X;other ways you can install or use PHP; how to write a simple PHP script. basic PHP language concepts. variables, data types, operators, expressions, and constants. how to change the flow of your scripts by creating decisions and loops. if , else , and switch statements; the ternary operator; and the do , while , for , break , and continue statements. how to nest loops, and how to mix decisions and looping with blocks of HTML. PHP's handling of strings, or sequences of characters; how to create strings; how to retrieve characters from a string; and how to manipulate strings with functions such as strlen() , substr() , strstr() , strpos() , str-replace() , and printf() , to name but a few. arrays -- variables that can hold multiple values. You learn the difference between indexed and associative arrays, and find out how to create arrays and access their individual elements; array manipulation, including functions such as print-r() , array-slice() , count() , sort() , array-merge() , and list() . You also learn how to create foreach loops, as well as how to work with multidimensional arrays. functions -- blocks of code that you can use again and again. You look at how to call built-in functions, and how to work with variable functions. You also study how to create your own functions, including defining parameters, returning values, understanding scope, and using anonymous functions. Other function-related topics such as references and recursion are also explored. object-oriented programming. You look at the advantages of an object-oriented approach, and learn how to build classes, properties, and methods, and how to create and use objects. You also explore more advanced topics such as overloading, inheritance, interfaces, constructors and destructors, autoloading, and namespaces. how to use PHP to create interactive Web forms. You learn how to create HTML forms, how to capture form data in PHP, and how to use PHP to generate dynamic forms. You also explore file upload forms and page redirection. how to preserve an application's state between page views. You explore three different strategies: query strings, cookies, and PHP sessions. Includes an example user login system. PHP's file and directory handling functions. You learn how to open and close files; how to find out more information about a file; how to read from and write to files; how to work with file permissions; how to copy, rename, and delete files; and how to manipulate directories.Simple text editor as an example. databases in general and MySQL in particular, and how to work with MySQL databases using PHP. You learn some database and SQL theory; look at how to connect to MySQL from PHP; and study how to retrieve, insert, update, and delete data in a MySQL database. PEAR, the PHP Extension and Application Repository. It's a large collection of reusable code modules that can really help to speed up your application development. You look at how to install and use PEAR packages, and explore three useful packages: Net-UserAgent-Detect , HTML-Table , and HTML-QuickForm . ways that your PHP applications can interact with the outside world.A detailed look at date and time handling, including various useful built-in date functions, as well as the DateTime and DateTimeZone classes. Also how to work closely with HTTP request and response headers, how to retrieve Web server information, and how to send email from within your scripts. using PHP to generate graphics on the fly. You study some computer graphics fundamentals, then look at how to create new images, as well as modify existing images. Along the way you explore colors, drawing functions, image formats, transparency, opacity, and generating text within images. regular expressions. These clever pattern-matching tools let you search for very specific patterns of text within strings; regular expression syntax, how to use PHP's regular expression functions to search for and replace patterns of text. Lots of examples are included to make the concepts clear. XML -- eXtensible Markup Language -- and how to manipulate XML from within your PHP scripts. You learn about XML and its uses, and look at various ways to read and write XML with PHP, including XML Parser, the XML DOM extension, and SimpleXML. You also take a brief look at XML stylesheets, including XSL and XSLT. how to configure PHP, and all the configuration directives available. alternative databases to MySQL that are supported by PHP. using PHP to write command-line scripts, further enhancing the power and flexibility of your applications. Also, as you'd imagine, this book covers the new features added to PHP in version 5.3. However, if you're still using an older version of PHP, don't panic -- the vast majority of the book applies to all versions of PHP.
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
Matt Doyle has worn many hats in his professional career, including working in the fields of system administration, computer training, software development, graphic design, and website creation.Dalla quarta di copertina:
Beginning PHP 5.3
A solid introduction to writing powerful web applications using PHP 5.3
As one of the most popular open-source web-programming languages in use today, PHP is an ideal server-side scripting language that connects HTML-based web pages to a backend database for dynamic content. It allows you to create anything from a simple form-to-email script to a web forum application, a blogging platform, or a content management system. This guide introduces the PHP language and shows how to write powerful web applications using PHP.
* Looks at the ways that PHP programs interact with web servers and other technologies such as HTML
* Teaches you how to build robust web applications and change the flow of your scripts with decisions and loops
* Examines ways to create and use strings, arrays, objects, functions, and files in your scripts
* Shares tips for creating interactive web forms in PHP, as well as capturing user input
* Unveils methods for preserving an application's state between page views
* Offers advice on how to work with MySQL(r) databases using PHP
* Includes best practices for using PEAR to speed up your application development
* Presents techniques for manipulating XML from within your PHP scripts
* Walks you through the creation and manipulation of web graphics using PHP
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
Descrizione libro Wiley, 2010. Soft cover. Condizione libro: New. International Edition. 840pp. Book cover and ISBN different from US edition. Territorial Restrictions maybe printed on the book. This is an international edition. Codice libro della libreria 327346
Descrizione libro Softcover. Condizione libro: New. 1st edition. Brand New; Paperback; Black & White or Color International Edition. ISBN and Cover page may differ but similar contents as US edition. GET IT FAST in 3-5 business days by DHL/FEDEX with tracking number. Books printed in English. No shipping to PO Box/APO/FPO address. In some instances, the international textbooks may have different end chapter case studies and exercises. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" and "Content may different from U.S. Edition" - printed only to discourage U.S. students from obtaining an affordable copy. The U.S. Supreme Court has asserted your right to purchase international editions, and ruled on this issue. Access code or CD is not provided with these editions, unless specified. We may ship the books from multiple warehouses across the globe, including India depending upon the availability of inventory storage. Customer satisfaction guaranteed. Codice libro della libreria INAB1512055
Descrizione libro PAPERBACK. Condizione libro: New. PAPERBACK INTERNATIONAL EDITION Brand New Book. We ship from India. The ISBN-13 or Cover might be different but content is extactly same. We deliver in 5 - 9days and respond quickly to customer queries. Codice libro della libreria Abe-E-0470413964
Descrizione libro Wrox. PAPERBACK. Condizione libro: New. 0470413964 Great book !! Established seller with great ratings! A+ Customer Service! Orders ship from the USA!. Codice libro della libreria Z0470413964ZN
Descrizione libro Wrox. Condizione libro: New. 0470413964 This is an International Edition. Brand New, Paperback, Delivery within 6-14 business days, Similar Contents as U.S Edition, ISBN and Cover design may differ, printed in Black & White. Choose Expedited shipping for delivery within 3-8 business days. We do not ship to PO Box, APO , FPO Address. In some instances, subjects such as Management, Accounting, Finance may have different end chapter case studies and exercises. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" and "Content may different from U.S. Edition" - printed only to discourage U.S. students from obtaining an affordable copy. The U.S. Supreme Court has asserted your right to purchase international editions, and ruled on this issue. Access code/CD is not provided with these editions , unless specified. We may ship the books from multiple warehouses across the globe, including India depending upon the availability of inventory storage. Customer satisfaction guaranteed. Codice libro della libreria BU9780470413968
Descrizione libro Paperback. Condizione libro: New. This is an International Edition Brand New Paperback Same Title Author and Edition as listed. ISBN and Cover design differs. Similar Contents as U.S Edition. Standard Delivery within 6-14 business days ACROSS THE GLOBE. We can ship to PO Box address in US. International Edition Textbooks may bear a label "Not for sale in the U.S. or Canada" or "For sale in Asia only" or similar restrictions- printed only to discourage students from obtaining an affordable copy. US Court has asserted your right to buy and use International edition. Access code/CD may not provided with these editions. We may ship the books from multiple warehouses across the globe including Asia depending upon the availability of inventory. Printed in English. Customer satisfaction guaranteed. Codice libro della libreria US9780470413968
Descrizione libro Condizione libro: Brand New. Brand New Paperback International Edition, Perfect Condition. Printed in English. Excellent Quality, Service and customer satisfaction guaranteed!. Codice libro della libreria AIND-103974
Descrizione libro John Wiley and Sons. Condizione libro: New. Brand New. Codice libro della libreria 0470413964
Descrizione libro Condizione libro: Brand New. New. SoftCover International edition. Different ISBN and Cover image but contents are same as US edition. Customer Satisfaction guaranteed!!. Codice libro della libreria SHUB89460
Descrizione libro Condizione libro: New. New. International edition. Perfect condition. Ship by express service to USA, Canada, Australia, France, Italy, UK, Germany and Netherland. Customer satisfaction our priority. Codice libro della libreria ABE-FEB-89460