Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

needs more simple examples #13

Open
rvadym opened this issue Jul 23, 2014 · 0 comments
Open

needs more simple examples #13

rvadym opened this issue Jul 23, 2014 · 0 comments

Comments

@rvadym
Copy link

rvadym commented Jul 23, 2014

http://book.agiletoolkit.org/agiletoolkit-overview/view.html

I don't find examples which are close to "every day" programming workflow

  • Example with function defaultTemplate()
  • complete example with $this->add('MyView') which contains MyView class, template for this class and resulting view (screenshot from browser while we have no embed Snippets). The good example is here where code and template located in different tabs, and result is under them.
  • $poem->setModel('Book')->tryLoadAny(); - this part needs more explanation. I think beginners will not understand how to use model with view, though it is very important feature of AgileToolkit
  • Composite Views - i don't see difference between views added to other views and composite view. It needs to be described more clear if there is a difference or add example with "user-created" Composite Views. Maybe "You can create Composite Views by adding one view to another $myView->add('MyOtherView')" is enough.
  • View with Template - we have two ways to set template to View. Only one is described. Do we really want user to go somewhere else from this page to know second way? I think both ways should be described on this page
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant