[TYPO3-dev] Creating edit forms for a domain model
Xavier Perseguers
typo3 at perseguers.ch
Wed Feb 25 15:44:20 CET 2009
Hi Jerome,
> What do you mean by "edit objects of a business model" ? Editing objects
> that are serialized as records in a DB ?
I have an own class "User" with attributes username, password,
firstname, lastname, ... and want to let my beusers edit them and
instead of calling any SQL code, simply call a method save, persist, or
whatever on the object or on an enclosing repository.
Not as I did but you see the point:
class user {
public $firstName;
public $lastName;
}
I want to give a "user" object to a form to display it, let my beusers
change firstname or lastname and that's it!
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
More information about the TYPO3-dev
mailing list