• Complain

Josh Lockhart - Modern PHP

Here you can read online Josh Lockhart - Modern PHP full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: OReilly Media, Inc., genre: Romance novel. 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.

Josh Lockhart Modern PHP
  • Book:
    Modern PHP
  • Author:
  • Publisher:
    OReilly Media, Inc.
  • Genre:
  • Year:
    2015
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Modern PHP: summary, description and annotation

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

PHP is experiencing a renaissance, though it may be difficult to tell with all of the outdated PHP tutorials online. With this practical guide, youll learn how PHP has become a full-featured, mature language with object-orientation, namespaces, and a growing collection of reusable component libraries. Youll learn best practices for application architecture and planning, databases, security, testing, debugging, and deployment.

Josh Lockhart: author's other books


Who wrote Modern PHP? Find out the surname, the name of the author of the book and a list of all author's works by series.

Modern PHP — 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 "Modern PHP" 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
Modern PHP

by Josh Lockhart

Copyright 2015 Josh Lockhart. 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 Editor: Nicole Shelby
  • Copyeditor: Phil Dangler
  • Proofreader: Eileen Cohen
  • Indexer: Judy McConville
  • Interior Designer: David Futato
  • Cover Designer: Ellie Volckhausen
  • Illustrator: Rebecca Demarest
  • February 2015: First Edition
Revision History for the First Edition
  • 2015-02-09: First Release

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

The OReilly logo is a registered trademark of OReilly Media, Inc. Modern PHP, the cover image, 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-90501-2

[LSI]

For Laurel

Preface

There are a million PHP tutorials online. Most of these tutorials areoutdated and demonstrate obsolete practices. Unfortunately,these tutorials are still referenced today thanks to their Google immortality.Outdated information is dangerous to unaware PHP programmerswho unknowingly create slow and insecure PHP applications. I recognizedthis issue in 2013, and it is the primary reason I beganPHP The Right Way, a community initiative toprovide PHP programmers easy access to high-quality and up-to-date informationfrom authoritative members of the PHP community.

Modern PHP is my next endeavor toward the same goal. This book is nota reference manual. Nope. This book is a friendly and fun conversation between youand me. Ill introduce you to the modern PHP programming language. Illshow you the latest PHP techniques that I use every day at work and onmy open source projects. And Ill help you use the latest codingstandards so you can share your PHP components and libraries with thePHP community.

Youll hear me say community over and over (and over). The PHPcommunity is friendly and helpful and welcomingalthoughnot without occasional drama. If you become curious about a specific featurementioned in this book, reach out to your local PHP user group with questions.I guarantee you there are nearby PHP developers who would love to help youbecome a better PHP programmer. Your local PHP user group is an invaluable resource asyou continue to improve your PHP skills long after you finish this book.

What You Need to Know About This Book

Before we get started, I want to set a few expectations. First, it isimpossible for me to cover every way to use PHP. There isnt enoughtime. Instead, I will show you how I use PHP. Yes, this is anopinionated approach, but I use the very same practices and standardsadopted by many other PHP developers. What you take away from ourbrief conversation will be immediately applicable in your own projects.

Second, I assume you are familiar with variables, conditionals, loops,and so on; you dont have to know PHP,but you should at least bring a basic understanding of these fundamentalprogramming concepts. You can also bring coffee (I love coffee). Illsupply everything else.

Third, I do not assume you are using a specific operating system.However, my code examples are written for Linux. Bash commands areprovided for Ubuntu and CentOS and may also work on OS X. If youuse Windows, I highly recommend you spin up a Linux virtual machineso you can run the example code in this book.

How This Book Is Organized

demonstrates new PHP features like namespaces, generators,and traits. It introduces you to the modern PHP language, and it exposesyou to features you may not have known about until now.

explores good practices that you should implementin your PHP applications. Have you heard the term PSR, but youre notentirely sure what it is or how to use it? Do you want to learnhow to sanitize user input and use safe database queries? This chapter is for you.

is more technical than the first two parts. It demonstrateshow to deploy, tune, test, and profile PHP applications. We dive intodeployment strategies with Capistrano. We talk about testing toolslike PHPUnit and Travis CI. And we explore how to tune PHP so it performsas well as possible for your application.

provides step-by-step instructions for installing andconfiguring PHP-FPM on your machine.

explains how to build a local development environmentthat closely matches your production server. We explore Vagrant,Puppet, Chef, and alternative tools to help you get started quickly.

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames,and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to programelements such as variable or function names, databases, data types, environmentvariables, statements, and keywords.

Constant width bold

Shows commands or other text that should be typed literally by the user.

Constant width italic

Shows text that should be replaced withuser-supplied values or by values determined by context.

Tip

This element signifies a tip or suggestion.

Note

This element signifies a general note.

Warning

This element indicates a warning or caution.

Using Code Examples

Supplemental material (code examples, exercises, etc.) is available fordownload at https://github.com/codeguy/modern-php.

This book is here to help you get your job done. In general, if example codeis offered with this book, you may use it in your programs and documentation.You do not need to contact us for permission unless youre reproducing asignificant portion of the code. For example, writing a program that usesseveral chunks of code from this book does not require permission. Sellingor distributing a CD-ROM of examples from OReilly books does require permission.Answering a question by citing this book and quoting example code does notrequire permission. Incorporating a significant amount of example code fromthis book into your products documentation does require permission.

We appreciate, but do not require, attribution. An attribution usually includesthe title, author, publisher, and ISBN. For example: Modern PHP byJosh Lockhart (OReilly). Copyright 2015 Josh Lockhart, 978-1-491-90501-2.

If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at .

Safari Books Online
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Modern PHP»

Look at similar books to Modern PHP. 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 «Modern PHP»

Discussion, reviews of the book Modern PHP 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.