[PHPLIB-DEV] Template control From: Alexander Aulbach (ssilk <email protected>)
Date: 02/01/00

On Thu, 27 Jan 2000, carmelo wrote:

}From: carmelo
}Date: Thu Jan 27 20:55:33 2000
}Modified files:
} php-lib/CHANGES
}+27-Jan-2000 Carmelo
}+ - Added the class tmpl_control in file tmpl_control.inc.
}+ This class is an evolution of the template class that I used
}+ changing parts of code and adding some usefull functions,
}+ like a systems allowing a tree traversal of all the elements
}+ variables ( variables set with set_file, set_block, set_ifblock
}+ and set_loopblock) to parse the page using just one call of the
}+ parsetree function.
}+ you will find some comments inside to explain what I wish to do.
}+ - I would like to start a new project using this class and OOHForm to
}+ create a framework so developpers could easily create web applications
}+ allowing to change he look and feel of your pages without changing
}+ the code.
}+ We can also add other controls and perhaps create a derived class to
}+ take SQL statements in account trough controls(don't know yet if this
}+ is really interesing).
}+ - I am waiting for your comments.

Just read this.

If you do so, try to read an understand layout_html.inc. This is the first
try of such an class. It will give the developper very full control
about layout and so on. But currently it is not supporting CSS and so on
and some things could be done better. But there are some functions I
really like to use, e.g. doc_pic(), it's a great help.

For another thing I have been working a long time ago for a class, that
will automatically display a form from the database definition.

I would like to make a class, that implements some things from
WebObjects - let's call this PHP-objects :-). The main aim should be, that
the programmer could totaly change his normal type of developping. By
normal you have the client-server-problem: Request, change, return a
page...

WebObjects will change this to a "normal" type of programming, which is
something like event-handling; if a value in a FORM changes, an event is
called.

Hope this is read by someone, who is willing to discuss.

-- 

SSilk - Alexander Aulbach - Herbipolis/Frankonia Minoris - (0931)22032

- PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in the body, not the subject, of your message.