Ktl-icon-tai-lieu

PHP Object Oriented Solutions

Được đăng lên bởi ym1234567891
Số trang: 395 trang   |   Lượt xem: 6416 lần   |   Lượt tải: 7 lần
  CYAN	
  MAGENTA	

  YELLOW
  BLACK

In this book you’ll learn how to:

Powers

	 Produce code that’s easier to maintain by adopting OOP techniques.
	 Use best practices by implementing basic design patterns.
	 Simplify complex code through encapsulation.
	 Unlock the secrets of the Standard PHP Library.

P

HP is easy to learn and a great way to add dynamic
functionality to web sites, such as sending email from
online forms and generating database-driven content.
But there soon comes a time when you realize you’re
writing similar scripts over and over again. By adopting
an object-oriented approach, you can avoid the need to
reinvent the wheel every time, creating scripts that are
reusable, easier to understand, and easier to maintain.

Through a series of practical projects, this book shows
how OOP can be used to group related functions in a
portable manner. The projects include a validator for filtering user input, a class that avoids the need to remember
all the esoteric PHP date formatting codes, and an XML
generator—everyday requirements for a lot of developers. Although the emphasis is on learning how the code
works, if you’re in a hurry, the PHP classes used in the
book can be downloaded from the friends of ED web
The main barrier to object-oriented programming (OOP)
site and incorporated into existing sites with a minimum
is that it’s based on unfamiliar concepts, such as objects,
of effort.
classes, interfaces, encapsulation, and polymorphism.
This book strips away the mystique and explains each The book is aimed at intermediate developers with a good
concept in an approachable and understandable way. It understanding of PHP basics, such as variables, arrays,
provides a gentle but fast-paced introduction to OOP functions, loops, and conditional statements. It provides
as it applies to PHP. Another barrier to the adoption of the necessary groundwork for advancing on to using an
OOP among PHP developers has been the slow migra- object-oriented framework, such as the Zend Framework,
tion from PHP 4, which used a radically different—and and taking your PHP coding skills to the next level.
inferior—object model. Now that PHP 4 has come to the
official end of its life, this book concentrates exclusively
on using OOP with PHP 5 and 6. So you can be confiAlso Available
dent that you’re learning skills that won’t be out of date
almost as soon as you put the book down.

PHP Object-Oriented Solutions

	 Generate your own news feed using Really Simple Syndic...
this print for reference only—size & color not accurate
spine = 0.911" 392 page count
DAVID POWERS
In this book you’ll learn how to:
Produce code that’s easier to maintain by adopting OOP techniques.
Use best practices by implementing basic design patterns.
Simplify complex code through encapsulation.
Unlock the secrets of the Standard PHP Library.
Generate your own news feed using Really Simple Syndication (RSS).
P
HP is easy to learn and a great way to add dynamic
functionality to web sites, such as sending email from
online forms and generating database-driven content.
But there soon comes a time when you realize you’re
writing similar scripts over and over again. By adopting
an object-oriented approach, you can avoid the need to
reinvent the wheel every time, creating scripts that are
reusable, easier to understand, and easier to maintain.
The main barrier to object-oriented programming (OOP)
is that it’s based on unfamiliar concepts, such as objects,
classes, interfaces, encapsulation, and polymorphism.
This book strips away the mystique and explains each
concept in an approachable and understandable way. It
provides a gentle but fast-paced introduction to OOP
as it applies to PHP. Another barrier to the adoption of
OOP among PHP developers has been the slow migra-
tion from PHP 4, which used a radically different—and
inferior—object model. Now that PHP 4 has come to the
official end of its life, this book concentrates exclusively
on using OOP with PHP 5 and 6. So you can be confi-
dent that you’re learning skills that won’t be out of date
almost as soon as you put the book down.
Through a series of practical projects, this book shows
how OOP can be used to group related functions in a
portable manner. The projects include a validator for fil-
tering user input, a class that avoids the need to remember
all the esoteric PHP date formatting codes, and an XML
generator—everyday requirements for a lot of develop-
ers. Although the emphasis is on learning how the code
works, if you’re in a hurry, the PHP classes used in the
book can be downloaded from the friends of ED web
site and incorporated into existing sites with a minimum
of effort.
The book is aimed at intermediate developers with a good
understanding of PHP basics, such as variables, arrays,
functions, loops, and conditional statements. It provides
the necessary groundwork for advancing on to using an
object-oriented framework, such as the Zend Framework,
and taking your PHP coding skills to the next level.
Powers
CYAN YELLOW
MAGENTA BLACK
PHP OBJECT-ORIENTED SOLUTIONS
Understand basic OOP concepts,
such as inheritance, encapsulation,
and polymorphism.
Extend core PHP classes.
Design and create your own classes
for PHP 5 and 6.
Also Available
US $36.99
Mac/PC compatible
www.friendsofed.com
http://foundationphp.com/
SHELVING CAT EG OR Y
1. PHP
Available from Apress
ISBN 978-1-4302-1011-5
9 781430 210115
5 3 6 9 9
PHP Object Oriented Solutions - Trang 2
Để xem tài liệu đầy đủ. Xin vui lòng
PHP Object Oriented Solutions - Người đăng: ym1234567891
5 Tài liệu rất hay! Được đăng lên bởi - 1 giờ trước Đúng là cái mình đang tìm. Rất hay và bổ ích. Cảm ơn bạn!
395 Vietnamese
PHP Object Oriented Solutions 9 10 155