Programming PHP

Creating Dynamic Web Pages

Author: Kevin Tatroe,Peter MacIntyre,Rasmus Lerdorf

Publisher: "O'Reilly Media, Inc."

ISBN: 1449365833

Category: Computers

Page: 540

View: 7873

This updated edition teaches everything you need to know to create effective web applications with the latest features in PHP 5.x. You’ll start with the big picture and then dive into language syntax, programming techniques, and other details, using examples that illustrate both correct usage and common idioms. If you have a working knowledge of HTML, the authors’ many style tips and practical programming advice will help you become a top-notch PHP programmer. Get an overview of what’s possible with PHP programs Learn language fundamentals, including data types, variables, operators, and flow control statements Understand functions, strings, arrays, and objects Apply common web application techniques, such as form processing, data validation, session tracking, and cookies Interact with relational databases like MySQL or NoSQL databases such as MongoDB Generate dynamic images, create PDF files, and parse XML files Learn secure scripts, error handling, performance tuning, and other advanced topics Get a quick reference to PHP core functions and standard extensions

Advanced PHP Programming

Author: George Schlossnagle

Publisher: Pearson Education

ISBN: 0672333147

Category: Computers

Page: 224

View: 9200

This is the eBook version of the printed book. If the print book includes a CD-ROM, this content is not included within the eBook version. Over the past three years PHP has evolved from being a niche language used to add dynamic functionality to small sites to a powerful tool making strong inroads into large-scale, business-critical Web systems. The rapid maturation of PHP has created a skeptical population of users from more traditional "enterprise" languages who question the readiness and ability of PHP to scale, as well as a large population of PHP developers without formal computer science backgrounds who have learned through the hands-on experimentation while developing small and midsize applications in PHP. While there are many books on learning PHP and developing small applications with it, there is a serious lack of information on "scaling" PHP for large-scale, business-critical systems. Schlossnagle's Advanced PHP Programming fills that void, demonstrating that PHP is ready for enterprise Web applications by showing the reader how to develop PHP-based applications for maximum performance, stability, and extensibility.

Pro PHP Programming

Author: Mladen Gogala,Peter MacIntyre,Adam MacDonald,Brian Danchilla

Publisher: Apress

ISBN: 1430235616

Category: Computers

Page: 440

View: 3319

If you are a web programmer, you need to know modern PHP. This book presents with many new areas in which PHP plays a large role. If you want to write a mobile application using geo-location data, Pro PHP Programming will show you how. Additionally, if you need to make sure that you can write a multilingual indexing application using Sphinx, this book will help you avoid the pitfalls. Of course, Pro PHP Programming gives a thorough survey of PHP post-5.3. You'll begin by working through an informative survey and clear guide to object-oriented PHP. Then, you'll be set for the core of the book on modern PHP applications. Now, you'll be able to start with the chapter on PHP for mobile programming and move on to sampling social media applications. You'll also be guided through new PHP programming language features like closures and namespaces. Pro PHP Programming deals with filtering data from users and databases next, so you'll be well prepared for relational and NoSQL databases. Of course, you can also learn about data retrieval from other sources, like OCR libraries or websites. Then the question of how to format and present data arises, and in Pro PHP Programming, you'll find solutions via JSON, AJAX and XML.

Professional PHP Programming

Author: Jesus Castagnetto

Publisher: Apress

ISBN: N.A

Category: Computers

Page: 909

View: 904

PHP is a new technology that is growing fast. It is the open-source that is the next step beyond CGI and is a powerful, evolving alternative to Active Server Pages and Java servlets. Developers who need to build database-driven Web-architecture applications will be pleased with Professional PHP Programming.

Beginning PHP 5.3

Author: Matt Doyle

Publisher: John Wiley & Sons

ISBN: 1118057341

Category: Computers

Page: 840

View: 4203

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.

PHP Advanced and Object-Oriented Programming

Visual QuickPro Guide

Author: Larry Ullman

Publisher: Peachpit Press

ISBN: 013305778X

Category: Computers

Page: 504

View: 9699

Readers can take their PHP skills to the next level with this fully revised and updated PHP Advanced: Visual QuickPro Guide, Third Edition! Filled with fourteen chapters of step-by-step content and written by bestselling author and PHP programmer Larry Ullman, this guide teaches specific topics in direct, focused segments, shows how PHP is used in real-world applications. The book teaches developing web applications using advanced PHP techniques and advanced database concepts, and this edition offers several chapters devoted to object-oriented programming and all-new chapters on debugging, testing, and performance and using the Zend framework. Author hosts a popular companion website at www.larryullman.com, where readers can freely download code used in the book, access a user forum and book updates, and get advice directly from the author.

PHP Pocket Reference

Author: Rasmus Lerdorf

Publisher: "O'Reilly Media, Inc."

ISBN: 9780596552169

Category: Computers

Page: 140

View: 1267

Simple, to the point, and compact--in fact, exactly what you've come to expect in an O'Reilly Pocket Reference--the second edition of PHP Pocket Reference is thoroughly updated to include the specifics of PHP 4.Written by the founder of the PHP Project, Rasmus Lerdorf, PHP Pocket Reference is both a handy introduction to PHP syntax and structure, and a quick reference to the vast array of functions provided by PHP. The quick reference section organizes all the core functions of PHP alphabetically so you can find what you need easily; the slim size means you can keep it handy beside your keyboard for those times when you want to look up a function quickly without closing what you're doing.This valuable little book provides an authoritative overview of PHP packed into a pocket-sized guide that's easy to take anywhere. It is also the ideal companion for O'Reilly's comprehensive book on PHP, Programming PHP.The PHP Pocket Reference an indispensable (and inexpensive) tool for any serious PHP coder.

Web Programming with PHP and MySQL

A Practical Guide

Author: Max Bramer

Publisher: Springer

ISBN: 3319226592

Category: Computers

Page: 388

View: 5290

Introductory textbook covering all the main features of the 'web programming' languages PHP and MySQL together with detailed examples that will enable readers (whether students on a taught course or independent learners) to use them to create their own applications or understand existing ones. A particular focus is the use of PHP to generate MySQL commands from a script as it is executed. Each chapter includes aims, a summary and practical exercises (with solutions) to support learning. Chapters are designed to stand alone as far as possible, so that they can be studied independently of the rest of the text by those with some previous knowledge of the languages. There is a comprehensive glossary of technical terms, together with extensive appendices for quick reference of language features.

Core PHP Programming

Author: Leon Atkinson,Zeev Suraski

Publisher: Prentice Hall Professional

ISBN: 9780130463463

Category: Computers

Page: 1072

View: 6190

Demonstrates the construction and deployment of robust Web applications, covering syntax, scripts, functions, sorting, searching, parsing, program design, and debugging.

Pro Functional PHP Programming

Application Development Strategies for Performance Optimization, Concurrency, Testability, and Code Brevity

Author: Rob Aley

Publisher: Apress

ISBN: 1484229584

Category: Computers

Page: 292

View: 7406

Bring the power of functional programming to your PHP applications. From performance optimizations to concurrency, improved testability to code brevity, functional programming has a host of benefits when compared to traditional imperative programming. Part one of Pro Functional PHP Programming takes you through the basics of functional programming, outlining the key concepts and how they translate into standard PHP functions and code. Part two takes this theory and shows you the strategies for implementing it to solve real problems in your new or existing PHP applications. Functional programming is popular in languages such as Lisp, Scheme and Clojure, but PHP also contains all you need to write functional code. This book will show you how to take advantage of functional programming in your own projects, utilizing the PHP programming language that you already know. What You'll Learn Discover functional programming in PHP Work with functional programming functions Design strategies for high-performance applications Manage business logic with functions Use functional programming in object-oriented and procedural applications Employ helper libraries in your application Process big data with functional PHP Who This Book Is For Programmers and web developers with experience of PHP who are looking to get more out of their PHP coding and be able to do more with PHP.

PHP 5 Power Programming

Author: Andi Gutmans,Stig Sæther Bakken,Derick Rethans

Publisher: Prentice Hall

ISBN: 9780131471498

Category: Computers

Page: 689

View: 9578

Written by the authors of the actual PHP code! The authoritative developer's guide to mastering advanced PHP 5 techniques.

PHP and PostgreSQL

Advanced Web Programming

Author: Ewald Geschwinde,Hans-Jürgen Schönig

Publisher: Sams Publishing

ISBN: 9780672323829

Category: Computers

Page: 772

View: 7196

Sams¿ PHP and MySQL Web Development, by Luke Welling and Laura Thomson, showed that there is a strong demand for books that describe how to use PHP together with a specific open-source database to develop Web applications. While MySQL is very popular, PostgreSQL is widely considered to be the more powerful of the two open-source databases. And PostgreSQL is rapidly gaining market share large organizations are beginning to use PostgreSQL instead of Oracle; the demand for PostgreSQL training and support has increased by some accounts 50% in the last six months; and Web hosting services increasingly offer PostgreSQL along with MySQL. PHP and PostgreSQL Advanced Web Programming focuses on the specific needs of a PostgreSQL developer and will detail how to make use of PostgreSQL¿s unique, advanced features to develop high-availability, fail-safe Web applications with PHP and PostgreSQL.

PHP Programming with MySQL: The Web Technologies Series

Author: Don Gosselin,Diana Kokoska,Robert Easterbrooks

Publisher: Cengage Learning

ISBN: 0538745843

Category: Computers

Page: 712

View: 7186

This book covers the basics of PHP and MySQL along with introductions to advanced topics including object-oriented programming and how to build Web sites that incorporate authentication and security. After you complete this course, you will be able to use PHP and MySQL to build professional quality, database-driven Web sites. Important Notice: Media content referenced within the product description or the product text may not be available in the ebook version.

Learn PHP 7

Object Oriented Modular Programming using HTML5, CSS3, JavaScript, XML, JSON, and MySQL

Author: Steve Prettyman

Publisher: Apress

ISBN: 1484217306

Category: Computers

Page: 294

View: 6330

This new book on PHP 7 introduces writing solid, secure, object-oriented code in the new PHP 7: you will create a complete three-tier application using a natural process of building and testing modules within each tier. This practical approach teaches you about app development and introduces PHP features when they are actually needed rather than providing you with abstract theory and contrived examples. In Learn PHP 7, programming examples take advantage of the newest PHP features, including enhanced password encryption using password_hash. This book takes a learn-by-doing approach, providing you with complete coding examples. "Do It" exercises in each chapter provide the opportunity to make adjustments to the example code. The end of chapter programming exercises allow you to develop your own applications using the algorithms demonstrated in the chapter. Each tier is logically and physically separated using object-oriented and dependency injection techniques, thus allowing independent tiers that can be updated with little or no effect on the other tiers. In addition to teaching good programming practices through OOP, there is a strong emphasis on creating secure code. As each chapter is completed, the reader is provide the opportunity to design and create an application reinforcing the concepts learned.

Object-Oriented PHP

Concepts, Techniques, and Code

Author: Peter Lavin

Publisher: No Starch Press

ISBN: 1593270771

Category: Computers

Page: 216

View: 7359

Presents an introduction to PHP and object-oriented programming, with information on such topics as classes, inheritance, RSS readers, and XML.

Php Game Programming

Author: Matt Rutledge

Publisher: Course Technology

ISBN: 9781592001538

Category: Computers

Page: 356

View: 1085

"PHP Game Programming" offers you the introduction you need to begin creating your own online games. Youll be amazed at the games you can create with this powerfuland completely freedevelopment tool! Dive right in as you begin with coverage of server configuration and the major features of PHP. Then youre off and running as you use PHP to create and manipulate graphics, develop a chess game using a non-relational database, and send and receive data through sockets. Put your new skills to use as you create your own massively multiplayer online game! From the basics of PHP and HTML to the exciting task of creating dynamic terrain and Flash movies, "PHP Game Programming" will help you turn your online game ideas into reality!

Multi-Tier Application Programming with PHP

Practical Guide for Architects and Programmers

Author: David Wall

Publisher: Elsevier

ISBN: 9780080537153

Category: Computers

Page: 278

View: 9294

While many architects use PHP for projects, they are often not aware of the power of PHP in creating enterprise-level applications. This book covers the latest version of PHP – version 5 -- and focuses on its capabilities within a multi-tier application framework. It contains numerous coding samples and commentaries on them. A chapter discusses object orientation in PHP as it applies to the multi-tier architecture and other chapters discuss HTTP and SOAP, the two communication protocols most useful in tying together multiple layers. There is also coverage of database design and query construction as well as information about tricks you can use in generating user interfaces. Covers PHP as it relates to developing software in a multi-tier environment—a crucial aspect of developing robust software with low cost and ease of use as design goals. Makes extensive use of Simple Object Access Protocol (SOAP) and Web Services as implemented in PHP and NuSOAP. Shows precisely how to make use of the InnoDB table type newly available in MySQL. InnoDB supports true referential integrity and row-level locking. An application example (a multi-currency bookkeeping application) runs throughout the book, showing various PHP capabilities as well as the database interaction.

Functional PHP

Author: Gilles Crettenand

Publisher: Packt Publishing Ltd

ISBN: 1785886916

Category: Computers

Page: 342

View: 4113

Uncover the secrets of functional programming with PHP to ensure your applications are as great as they can be About This Book Greatly improve your code quality, testability, and readability using modern functional programming techniques Get a solid foundation in functional programming techniques and methodologies Step-by-step learn the concepts to architect more robust code Who This Book Is For If you are a PHP developer with knowledge of object-oriented programming, this book is for you. You do not need prior experience with functional programming. What You Will Learn Declare functions/callables and find out how to manipulate and call them Write pure functions to get more robust code that can be easily tested Learn to compose function using various techniques Use a functional approach to find readable solutions to common issues Utilize performance optimization techniques such as laziness, memorization, and parallelization Build the business logic of applications with the functional paradigm Test functional code and know how to speed up test runs using parallel testing Understand the impact and limitation of functional programming in PHP In Detail A functional approach encourages code reuse, greatly simplifies testing, and results in code that is concise and easy to understand. This book will demonstrate how PHP can also be used as a functional language, letting you learn about various function techniques to write maintainable and readable code. After a quick introduction to functional programming, we will dive right in with code examples so you can get the most of what you've just learned. We will go further with monads, memoization, and property-based testing. You will learn how to make use of modularity of function while writing functional PHP code. Through the tips and best practices in this book, you'll be able to do more with less code and reduce bugs in your applications. Not only will you be able to boost your performance, but you will also find out how to eliminate common loop problems. By the end of the book, you will know a wide variety of new techniques that you can use on any new or legacy codebase. Style and approach This is an easy-to-follow, definitive guide on developing applications using a functional paradigm with PHP. It will guide you through functional programming with the help of real-life examples.

PHP Reactive Programming

Author: Martin Sikora

Publisher: Packt Publishing Ltd

ISBN: 1786461579

Category: Computers

Page: 364

View: 1524

Leverage the power of Reactive Programming in PHP About This Book Develop an interesting multiplayer browser game written in RxJS and re-implement it using RxPHP Enhance existing reactive applications by building a CLI tool combining Symfony Console Implement Gearman and Rabbit MQ for asynchronous communication Who This Book Is For This book is aimed at people with a solid knowledge of PHP and programming languages in general. We also assume they have at least a little experience with other technologies such as JavaScript, Node.js, and others. What You Will Learn How to work with the RxPHP library and see what it offers via many examples Use the RxPHP library in combination with Symfony Console The different approaches to using Symfony3's Event Dispatcher component Test your reactive PHP code using PHPUnit Analyze PHP source code and apply a custom set of rules by building a CLI tool In Detail Reactive Programming helps us write code that is concise, clear, and readable. Combining the power of reactive programming and PHP, one of the most widely used languages, will enable you to create web applications more pragmatically. PHP Reactive Programming will teach you the benefits of reactive programming via real-world examples with a hands-on approach. You will create multiple projects showing RxPHP in action alone and in combination with other libraries. The book starts with a brief introduction to reactive programming, clearly explaining the importance of building reactive applications. You will use the RxPHP library, built a reddit CLI using it, and also re-implement the Symfony3 Event Dispatcher with RxPHP. You will learn how to test your RxPHP code by writing unit tests. Moving on to more interesting aspects, you will implement a web socket backend by developing a browser game. You will learn to implement quite complex reactive systems while avoiding pitfalls such as circular dependencies by moving the RxJS logic from the frontend to the backend. The book will then focus on writing extendable RxPHP code by developing a code testing tool and also cover Using RxPHP on both the server and client side of the application. With a concluding chapter on reactive programming practices in other languages, this book will serve as a complete guide for you to start writing reactive applications in PHP. Style and approach This book will teach readers how to build reactive applications in a step-by-step manner. It will also present several examples of reactive applications implemented with different frameworks.