This article introduces Object Oriented Programming (OOP) in PHP. Luis shows you how to code less and better by using some OOP concepts and PHP tricks.Object Oriented Programming in any language is the use of objects to represent functional parts of an application and real life entities. For example you may have a Person object to hold the data related to a person and even provide some functionality that this person may be capable of.
Here is a very handy function, which calculate the distance from a point A to a point B, using latitudes and longitudes. The function can return the distance in miles, kilometers, or nautical miles.
cFTP allows you to create clients accounts with a very easy to use front end. Then you can upload as much files as you want under each account, with the ability to add a title and description to each one.
Log in, select the client, upload the file and then you can send him a link to a web page that contains your logo, and a sortable list of every file uploaded under his name, with description, time, date, and control over their deletion. It also works as a history of "sent" files. They can check the differences between versions, the time that it took to do that, and so on.
Additional benefits include saving hundreds of mb on email accounts since every file remains on your server until you decide to delete it, and they can be accessed from any browser anywhere.
What is Commentics?
Commentics is a #free, advanced #PHP #comments script with many features. Professionally written and with open source code, its main aims are to be integratable, customizable and secure.
An open source, AJAX implementation of the VirtualBox user interface written in PHP. As a modern web interface, it allows you to access and control remote VirtualBox instances. Much of its verbage and some of its code is based on the (inactive) vboxweb project.
phpVirtualBox was created for people (like me) who prefer not to have to log in to their headless VirtualBox host to administer their virtual machines.
PHP, being the most popular scripting language, has lots of documentation, tutorials and resources about itself.
And, as a feature-rich language, it is possible to accomplish many tasks by default from handling e-mails to images, PDFs to database connections, etc.
However, there are high-quality and free PHP classes and libraries which helps you get more like:
- good looking charts
- form validation
- parsing feeds
- better image or database handling
- and more.
Here is a collection 40+ totally free PHP classes and libraries that every PHP developer would love to bookmark...
For many PHP programmers, object-oriented programming is a frightening concept, full of complicated syntax and other roadblocks. As detailed in my book, Pro PHP and jQuery, you’ll learn the concepts behind object-oriented programming (OOP), a style of coding in which related actions are grouped into classes to aid in creating more-compact, effective code.







