[TYPO3-mvc] little script for creating getters and setters with javascript
Simon Schaufelberger
schaufelREMOVE-MEberger at punkt.de
Tue Feb 15 09:31:49 CET 2011
> i've got shortcuts in textmate for this.
haha, not every programmer uses mac and pays for software...
> i would leave out the comments in your script "Getter for"/"Setter for" and "property" after "@param $property".
does not extbase need that (apart from the text comment)?
Am 15.02.2011 08:14, schrieb Felix Oertel:
> hey,
>
> Am 15.02.11 00:57, schrieb Simon Schaufelberger (Schaufi):
>> i have written a small javascript
>
> yeah, cool. ;) i've got shortcuts in textmate for this.
>
> i would leave out the comments in your script "Getter for"/"Setter for"
> and "property" after "@param $property". why bloat your model like this? ;)
>
> you also could add:
>
> /**
> * @var {type}
> **/
> protected ${property};
>
> and generate sql and ext_tables.php. ;-)
>
> regards, foertel
--
Kind regards,
Schaufi from punkt.de
More information about the TYPO3-project-typo3v4mvc
mailing list