• Complain

Sklar D. - Learning PHP: A Gentle Introduction to the Webs Most Popular Language

Here you can read online Sklar D. - Learning PHP: A Gentle Introduction to the Webs Most Popular Language full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Sklar D. Learning PHP: A Gentle Introduction to the Webs Most Popular Language
  • Book:
    Learning PHP: A Gentle Introduction to the Webs Most Popular Language
  • Author:
  • Genre:
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Learning PHP: A Gentle Introduction to the Webs Most Popular Language: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learning PHP: A Gentle Introduction to the Webs Most Popular Language" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

OReilly Media, 2016. 414 p. ISBN: 1491933577, 9781491933572If you want to get started with PHP, this book is essential. Author David Sklar (PHP Cookbook) guides you through aspects of the language you need to build dynamic server-side websites. By exploring features of PHP 5.x and the exciting enhancements in the latest release, PHP 7, youll learn how to work with web servers, browsers, databases, and web services. End-of-chapter exercises help you make the lessons stick.
Whether youre a hobbyist looking to build dynamic websites, a frontend developer ready to add server-side programs, or an experienced programmer who wants to get up to speed with this language, this gentle introduction also covers aspects of modern PHP, such as internationalization, using PHP from the command line, and package management. Learn how PHP interacts with browsers and servers
Understand data types, variables, logic, looping, and other language basics
Explore how to use arrays, functions, and objects
Build and validate web forms
Work with databases and session management
Access APIs to interact with web services and other websites
Jumpstart your project with popular PHP web application frameworksAbout the Author
David is an independent consultant focused on technical assistance for growing startups: architecture and strategy for platform development and API design, technical due diligence on both humans and software, and tactical software engineering. Hes the author of Learning PHP 5, Essential PHP Tools, and co-author of PHP Cookbook. His scintillating blog is at http://www.sklar.com/blog/. David lives in New York City and has a degree in Computer Science from Yale University.

Sklar D.: author's other books


Who wrote Learning PHP: A Gentle Introduction to the Webs Most Popular Language? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learning PHP: A Gentle Introduction to the Webs Most Popular Language — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learning PHP: A Gentle Introduction to the Webs Most Popular Language" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Learning PHP

by David Sklar

Copyright 2016 David Sklar. All rights reserved.

Printed in the United States of America.

Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .

  • Editor: Allyson MacDonald
  • Production Editors: Colleen Lobner
    and Nicole Shelby
  • Copyeditor: Gillian McGarvey
  • Proofreader: Rachel Head
  • Indexer: Ellen Troutman-Zaig
  • Interior Designer: David Futato
  • Cover Designer: Randy Comer
  • Illustrator: Rebecca Demarest
  • April 2016: First Edition
Revision History for the First Edition
  • 2016-04-07: First Release

See http://oreilly.com/catalog/errata.csp?isbn=9781491933572 for release details.

The OReilly logo is a registered trademark of OReilly Media, Inc. Learning PHP, the cover image of an eagle, and related trade dress are trademarks of OReilly Media, Inc.

While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.

978-1-491-93357-2

[LSI]

Dedication

To M and S: may you never stop learning.

Preface

Boring websites are static. Interesting websites are dynamicthat is, their content changes. A giant static HTML page listing the names, pictures, descriptions, and prices of all 1,000 products a company has for sale is hard to use and takes forever to load. A dynamic web product catalog that lets you search and filter those products so you see only the six items that meet your price and category criteria is more useful, faster, and much more likely to close a sale.

The PHP programming language makes it easy to build dynamic websites. Whatever interactive excitement you want to createwhether it be as a product catalog, a blog, a photo album, or an event calendarPHP is up to the task. And after reading this book, youll be up to the task of building that dynamic website, too.

Who This Book Is For

This book will be useful for many different kinds of people:

  • A hobbyist who wants to create an interactive website for himself, his family, or a nonprofit organization
  • A website builder who wants to use the PHP setup provided by an ISP or hosting provider
  • A developer or designer who needs to write a plugin or extension for a popular piece of software written in PHP, such as Drupal, WordPress, or MediaWiki
  • A page designer who wants to communicate better with her developer co-workers
  • A JavaScript whiz who wants to build server-side programs that complement her client-side code
  • A Perl, Python, or Ruby programmer who wants to get up to speed with PHP
  • Anybody who wants a straightforward, jargon-free introduction to one of the most popular programming languages for building interactive websites

PHPs gentle learning curve and approachable syntax make it an ideal gateway language for the nontechnical web professional. Learning PHP is aimed at this interested, intelligent, but not necessarily technical individual as well as at programmers familiar with another language who want to learn PHP.

If you are completely new to programming and embarking on your first interactive website, youve got the right book in your hands. The beginning chapters will give you a gentle introduction to the syntax of the PHP language and basic computer programming topics as they apply to PHP. Start at the beginning of the book and work your way forward.

If you are familiar with programming in another language but starting your first PHP project, you may want to start with the second section of the book and dip back into the first set of chapters when you have a specific question about syntax or how something basic is done in PHP.

Aside from basic computer literacy (knowing how to type, moving files around, surfing the Web), the only assumption that this book makes about you is that youre acquainted with HTML. You dont need to be an HTML wizard, but you should be comfortable with the HTML tags that populate a basic web page, such as ,

, ,

, , and
. If youre not familiar with HTML, read Head First HTML and CSS by Elisabeth Robson and Eric Freeman (OReilly).

Contents of This Book

This book is designed so that you start at the beginning and work through the chapters in order. For the most part, each chapter depends on material in the previous chapters. Chapters each end with exercises that test your understanding of the chapters content.

.

The next five chapters give you a grounding in the fundamentals of PHP. Before you can write great literature, you need to learn a little grammar and some vocabulary. Thats what these chapters are for. (Dont worryyoull learn enough PHP grammar and vocabulary right away to start writing some short programs, if not great literature.)

shows you how to work with different kinds of data, such as pieces of text and numbers. This is important because the web pages that your PHP programs generate are just big pieces of text.

are what you use, for example, to display only those items in a product catalog that fall between two prices a user enters in a web form.

introduces arrays, which are collections of a bunch of individual numbers or pieces of text. Many frequent activities in PHP programs, such as processing submitted web form parameters or examining information pulled out of a database, involve using arrays.

As you write more complicated programs, youll find yourself wanting to repeat similar tasks. Functions, discussed in , help you reuse pieces of your programs.

shows how data and logic together are combined into objects. Objects are reusable bundles of code that help you structure your programs. Objects also allow you to integrate existing PHP add-ons and libraries into your code.

The next five chapters cover essential tasks in building a dynamic website: interacting with users, saving information, and interacting with other websites.

supplies details on working with web forms, which are the primary way that users interact with your website.

, your website can do user-specific things such as display sensitive information only to authorized people or tell someone how many new message board posts have been created since she last logged in.

In addition to a database, you might also need to work with data stored in files. explains to how read and write files from a PHP program.

Next, details how to keep track of your users. This includes using cookies for transient data, but also users logging in to accounts and tracking session data such as a shopping cart of products.

The last chapter in this section, , delves into how your PHP program can interact with other websites and web services. You can retrieve the contents of other web pages or web APIs to use in your programs. Similarly, you can use PHP to serve up not just regular web pages but API responses to other clients.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learning PHP: A Gentle Introduction to the Webs Most Popular Language»

Look at similar books to Learning PHP: A Gentle Introduction to the Webs Most Popular Language. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learning PHP: A Gentle Introduction to the Webs Most Popular Language»

Discussion, reviews of the book Learning PHP: A Gentle Introduction to the Webs Most Popular Language and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.