Jump to content

Patrik97

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Patrik97

  1. Thank your for your replies. As allotted to in the last sentence of my post i would like to use the Page classes as Models (as you would in an MCV framework) and the template files as controllers. It seems to me like this would greatly improve the overall Project strucutrure. Also i think testing should be way easier through theese page functions rather than url calls.
  2. Since i am using Repeaters in nearly every project, i would like to know if i could use PageClasses with Repeater Pages. The repeater template is called: " repeater_files"; I tried class RepeaterFilesPage extends Page { and class RepeaterFilesRepeaterPage extends RepeaterPage { both aren't working. I changed the filename to the classname in both cases. Also what do you think about using PageClasses as Models and doing data related operations only through them?
×
×
  • Create New...