Home Tags OOP

Tag: OOP

Writing Reusable Code using Traits in PHP

Traits are way for code reuse which makes it easier to include the same code(trait) in different locations(classes). PHP is a single inheritance language, which means a class could have only one parent class. A trait contains methods and properties like classes, but a...

What’s new in PHP 7 New Features

For years PHP has evolved with lot's of improvements, fixes and new features. PHP 7 has been released with many improvements and new features. With the improved new PHP you can write better and clean code that runs faster. Here are some of the...

Implementing Enum Using Late Static Binding in PHP

It has been a while since i programmed in Java. One of the type features of Java that can be implemented in PHP is Enum, which might come in handy in some situations. This can be done using the Late Static Binding...

Object Oriented Programming in JavaScript – Part 3

JavaScript is growing faster and its user base is increasing vastly. Knowledge of JavaScript is going to be very important in the future to come for Web Developers and Designers. This is the third post in the series of Object Oriented Programming...

Object Oriented Programming in JavaScript Part Two

This is the second series of Object Oriented Programming in JavaScript. This post discusses about the Objects built into JavaScript. Once you have gone through this post you will have an understanding of the various Objects in JavaScript. If you have not read the...

Object Oriented Programming In Javascript Part One

For most developers JavaScript is like a procedural language. It's just a language that can interact with the DOM, Create Element in the HTML document, Listen to events and so on. But there is more than that we can do in JavaScript. You can...

The 6 keyworks of PHP Every Developer should know.

In PHP there are 6 keywords that is more important for any developer who use Object Oriented Programming for building PHP web pages. Keywords Private Public Protected Static Final Abstract The first 3 keywords are related to each other in a manner of how they operate...

Popular