Sameer Borate's Blog: Simulating Packages in PHP

Courtesy PHPDeveloper.org  Thu, 11/05/2009 - 07:52

Sameer Borate has a new post to his blog looking at the idea of simulating the idea of packages that several other languages have (like Java) with similar functionality to use them.

Most modern languages have a concept of packages, wherein related classes are stored together.

PHP sadly doesn't have a similar concept. [...] But in the spirit of 'programming into the language', what we can do is try to simulate a 'package-like' concept in PHP. ...


 

More related items

Sameer Borate's Blog: Checking your site for...
Sameer Borate, in the wake of having security issues with his site, has posted a hint you could use to help detect when something has changed in important files in your application by...

Sameer Borate's Blog: Read the version of a PDF in PHP
Sameer Borate has a quick post to his blog today with some code that lets you read the version of a PDF document programmatically without a dependency on a PDF extension or library being...

Sameer Borate's Blog: Generating a color palette from...
Sameer Borate has posted a simple method for creating a color palette from a given image using just PHP and GD. In the previous post we saw how we can generate a screenshot from a url. In...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com