One of the reasons why PHP became so popular is its short learning curve. Learning
PHP is not a big job, especially if you are familiar with the syntax of Java or C.
As writing PHP scripts is easy, anyone can write PHP code without following
conventions and mixing presentation layers with business logics (which is one of
the main reasons why there are large amounts of unmanageable projects floating
around). Because there are no strict coding conventions followed in PHP, over the
years as a project gets bigger, it can turn into an unmanageable demon.
OOP or Object Oriented Programming is a good programming practise to create
manageable projects more easily. Procedural programming means writing code
without objects. Procedural programming consists of codes with or without routines.
OOP enlightens any language for better coding, for best performance and for
writing very big projects without worrying a lot about managing them. OOP gives
you facilities to create reusable objects that you or other developers can use in their
projects without reinventing them again and again. OOP removes the hassles and
difficulties of writing and managing big applications.
In this book we are going to discuss how you can achieve maximum benefits using
OOP with PHP, using step-by-step instructions, real life examples how OOP helps
you to write effective code, how to improve your coding style, and how to reuse
them over time.
Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25