{"issue":{"user":{"id":112567,"login":"Vrtak-CZ","url":"https://api.github.com/users/Vrtak-CZ","gravatar_id":"a4e7e90298ce33a2c924effcd7e0ea3e","avatar_url":"https://secure.gravatar.com/avatar/a4e7e90298ce33a2c924effcd7e0ea3e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"title":"Template factory","milestone":null,"created_at":"2011-02-18T05:57:08Z","labels":[{"name":"feature","url":"https://api.github.com/repos/nette/nette/labels/feature","color":"35cc3a"}],"state":"open","updated_at":"2011-12-16T09:08:10Z","id":608555,"html_url":"https://github.com/nette/nette/issues/199","closed_at":null,"pull_request":{"patch_url":"https://github.com/nette/nette/pull/199.patch","html_url":"https://github.com/nette/nette/pull/199","diff_url":"https://github.com/nette/nette/pull/199.diff"},"body":"addnig support for template factory","number":199,"url":"https://api.github.com/repos/nette/nette/issues/199","comments":21,"assignee":null},"comment":{"user":{"id":112567,"login":"Vrtak-CZ","url":"https://api.github.com/users/Vrtak-CZ","gravatar_id":"a4e7e90298ce33a2c924effcd7e0ea3e","avatar_url":"https://secure.gravatar.com/avatar/a4e7e90298ce33a2c924effcd7e0ea3e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-16T09:08:10Z","updated_at":"2011-12-16T09:08:10Z","id":3174942,"body":"Btw jedno z možných řešení je u Controlu vyžadovat **rozdělit `Control` na `Control` a `TemplateControl`**. S tím že by `TemplateControl` v konstruktoru vyžadoval `TemplateFactory` (nárážíme ale na https://github.com/nette/nette/pull/347). Pak je potřeba ale taky promyslet od čeho by měl dědit `Presenter` jestli od `Control` nebo `TemplateControl`. Případně zda by neměl taky existovat `TemplatePresenter`.","url":"https://api.github.com/repos/nette/nette/issues/comments/3174942"},"action":"created"}