Re-implementation of low level functions

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Re-implementation of low level functions

Post by Ambush Commander »

I've been trying to make sense of the whole template programming fiasco developing in MediaWiki, and I just remembered something, except I don't remember. It goes along the lines of this:

A bad code smell is when you hide low-level functions, forcing clients to re-implement them on a higher level.

Can anyone source this? Links? Google search?

I know I read this somewhere.
santosj
Forum Contributor
Posts: 157
Joined: Sat Apr 29, 2006 7:06 pm

Post by santosj »

I think you are referencing a Blog post about bad templating engines and a list of why they aren't any good or one that is good. Right?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Perhaps. In fact, that would be quite applicable to the dilemma. But I still think it was a bit more abstract then that.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Honestly I dunno what your after...but maybe this?

http://www.massassi.com/php/articles/template_engines/
Post Reply