NYCPHP Meetup

NYPHP.org

[nycphp-talk] Php Framework

csnyder chsnyder at gmail.com
Fri Mar 4 13:39:01 EST 2005


On Fri, 04 Mar 2005 11:56:38 -0500, Tom Melendez <tom at supertom.com> wrote:
> But, who does the "Java-esque" syntax and features of PHP5
> really benefit?

PHP developers who have "grown up" with the language really need to
know about the best uses for these features, because they aren't
immediately obvious.

Interfaces, for instance, have the potential to make a lot of open
source PHP applications more modular. Don't like the database layer
that ships with that CMS? Drop in another class that implements the
same interface. Don't like the authentication mechanism? Drop in a
class that implements the same interface, but authenticates to LDAP
instead of a local database.

If the developers have done their job and stuck to the declared
interface, it will all "just work".

Unfortunately, I think we're years away from having a standard
collection of useful, well-defined generic interfaces that developers
would be willing to implement in their classes and use in their
applications. I'd love to see NYPHP leading the way on this, but as
with everything else, finding the time and expertise to put it
together is difficult.



More information about the talk mailing list