Problem I’ve defined a Client class to connect to an external API. The Client class will return XML responses for […]
Tag: classes
PHP Extending PDO Class
Problem I am trying to convert myself from using mysql extension to using PDO, with that being said I was […]
Review/rate my new graph class
Problem I have written a PHP class called “graph”. It is a class that performs RESTful-like commands to a MySQL […]
Encryption/decryption of a string with a salt
Problem I have a new job coming up soon and want to increase my PHP knowledge. This is my first […]
Should I create an abstract runnable? I’ve 4 sub-classes which perform similar work but only 3 of them have identical constructors
Problem I’ve added the code for an abstract thread class and 2 sub-classes. The structure and job of the threads […]
Using OOP/Class Module called “FastMode” to toggle Application object properties in Excel
Problem I’m programming a tool in Excel which reads two exported .csv files, performs some calculations based on Dates and […]
PHP Config Class
Problem I’m working on a config class for PHP, where I can easily bring in config options. Any improvements/suggestions are […]
PHP MIMEType class
Problem There isn’t a very reliable way (in my opinion) to get the mime type of a specific extension, regardless […]
UIntArray class in PHP (part 2)
Problem This question is the follow up of the question: UIntArray class in PHP @Brythan provided a really nice review […]
Best practice to create XML messages with DOMDocument class in PHP
Problem I want to create XML messages for webservice communication. These messages should be created from a pool of reusable […]