Download Book Beginning PHP 5.3 Matt Doyle - Sách lập trình PHP dành cho Beginer

Thảo luận trong 'Công nghệ thông tin' bắt đầu bởi daicamrtran, 17 Tháng chín 2012.

  1. daicamrtran

    daicamrtran New Member

    Product Details

    Paperback: 840 pages
    Publisher: Wrox; 1 edition (October 26, 2009)
    Language: English
    ISBN-10: 0470413964
    ISBN-13: 978-0470413968
    Product Dimensions: 7.4 x 1.6 x 9.2 inches

    Book Description

    Publication Date: October 26, 2009 | ISBN-10: 0470413964 | ISBN-13: 978-0470413968 | Edition: 1

    Cuốn sách này dành cho bất cứ ai bắt đầu với lập trình PHP. Nếu bạn đã từng làm việc trong một ngôn ngữ lập trình khác như Java, C #, Perl, bạn sẽ có thể bắt đầu v một cách nhanh chóng, tuy nhiên, các cuốn sách đó không có kinh nghiệm về lập trình hay xây dựng các ứng dụng Web.
    Điều đó nói rằng PHP là một công nghệ Web, nó sẽ giúp đỡ nếu bạn có ít nhất một số kiến ​​thức về các công nghệ web khác, đặc biệt là HTML và CSS.

    Nhiều ứng dụng Web sử dụng một cơ sở dữ liệu để lưu trữ dữ liệu, và cuốn sách này bao gồm ba chương về làm việc với cơ sở dữ liệu MySQL. Một lần nữa, nếu bạn đã quen thuộc với các cơ sở dữ liệu nói chung - và MySQL nói riêng - bạn sẽ có thể lướt qua các chương này. Tuy nhiên, ngay cả khi bạn đã không bao giờ chạm vào một cơ sở dữ liệu trước đó, bạn vẫn sẽ có thể thu thập một lượng kiến ​​thức bằng cách đọc lướt qua các chương này.



    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.

    Download Book PDF + Code - Beginning PHP 5.3 by Matt


Chia sẻ trang này