PHP 7: Learn Object Oriented Programming the Hard Way
PHP 7: Learn Object Oriented Programming the Hard Way
$4.99
Minimum price
$24.99
Suggested price
PHP 7: Learn Object Oriented Programming the Hard Way

This book is 100% complete

Completed on 2018-04-15

About the Book

"I further believe that object technology holds the potential for fundamental changes in the software industry and that it is here to stay."

Bertrand Meyer wrote, in the preface of his famous book, "Object-Oriented Software Construction".

The best part of the good news is PHP 7, a general-purpose scripting language, well suited for web applications, has now all the core combination of Object-oriented-programming. Now it moves in a direction that would help PHP stay in the competition in the future.

In this book, the core combination of Object Oriented Programming (OOP) has been explained in great detail. Mainly the four ideas govern the OOP principle – a structuring method, reliability discipline, an epistemological principle and a classification technique. These ideas have been stated step by step so that one could learn them and use them in the web applications.

The structuring method shows us how you can decompose and reuse your code in PHP 7. The reliability discipline helps us take the radical approach to the problems of building software. Now we can solve those problems by adhering to contracts or interfaces. The epistemological principle addresses the core question of how we define the classes and what we can do with those classes. This formally expresses the idea of Abstraction, Encapsulation and Information Hiding principles. 

Finally, we come to know about the classification technique or discipline that relies heavily on inheritance. 

This book teaches you how we can define classes. We learn how programs manipulate those classes and the corresponding objects? How can we maintain a relationship between classes so that they can exchange messages? How can these ideas be applied in reality so that they relate to the key software engineering concerns as extendibility and efficiency? 

Answers to these questions are here. 

It's described in a lucid way so that the "learning OOP the hard way" becomes easy. 

This book provides you the tools that are straightaway practical to a wide range of problems in web applications.

About the Author

Sanjib Sinha
Sanjib Sinha

Sanjib Sinha is a certified “.NET Windows and Web Developer”, specializing in Python, Security Programming and PHP; he won Microsoft's Community Contributor Award in 2011. As a published author, Sanjib Sinha has written “Beginning Ethical Hacking with Kali LInux”, “Beginning Ethical Hacking with Python”, and “Beginning Laravel” for Apress.

Table of Contents

  • Who Should Read this Book
  • Introduction to PHP 7
  • What is PHP 7
  • How to upgrade to PHP 7 in linux
  • What PHP does and how it Works
  • Introduction to MySQL and RDBMS
  • API, Connector, driver and extension
  • Digging Deep into PHP 7
  • Integer, String
  • Variables – Static, Local, Global and Super Global
  • Array
  • Flow Control – if/else, Switch, For, Foreach, While Loop
  • Functions
  • Basic Functions where we pass some data
  • Passing Big Data through functions
  • Form and file handling
  • Session, Cookie
  • Email
  • Object Oriented Programming
  • Composer Revolution
  • SOLID Design Principle
  • Classes
  • Objects
  • Public, Private and Protected
  • Constructor and Destructor
  • Encapsulation
  • Modularity
  • Inheritance
  • Autoloading
  • Overriding Methods
  • Overloading
  • Abstract Class
  • Interface
  • Interface with Array
  • object iteration
  • Dependency Injection and Object Communication
  • Final Keyword
  • Static
  • Class Constants
  • Object Comparison
  • Cloning Objects
  • Reflection
  • Namespace, Composer and Class Dependency
  • More on Reflection
  • Dynamic Website
  • new Features in PHP 7
  • Code repository

Causes Supported

Amazon Watch

Supporting Indigenous Peoples. Protecting the Amazon.
http://amazonwatch.org

Amazon Watch is a nonprofit organization founded in 1996 to protect the rainforest and advance the rights of indigenous peoples in the Amazon Basin. We partner with indigenous and environmental organizations in campaigns for human rights, corporate accountability and the preservation of the Amazon's ecological systems.

We envision a world that honors and values cultural and biological diversity and the critical contribution of tropical rainforests to our planet's life support system. We believe that indigenous self-determination is paramount, and see that indigenous knowledge, cultures and traditional practices contribute greatly to sustainable and equitable stewardship of the Earth. We strive for a world in which governments, corporations and civil society respect the collective rights of indigenous peoples to free, prior and informed consent over any activity affecting their territories and resources. We commit, in the spirit of partnership and mutual respect, to support our indigenous allies in their efforts to protect life, land, and culture in accordance with their aspirations and needs.

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub