{"id":20346196,"url":"https://github.com/talesoft/tale-jade-smvc","last_synced_at":"2025-09-07T02:05:25.435Z","repository":{"id":152351782,"uuid":"44011772","full_name":"Talesoft/tale-jade-smvc","owner":"Talesoft","description":"Tale Jade Implementation into the PHP Simple MVC Framework","archived":false,"fork":false,"pushed_at":"2015-10-13T02:15:40.000Z","size":256,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-10T23:51:48.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Talesoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-10T13:30:51.000Z","updated_at":"2016-07-28T22:33:49.000Z","dependencies_parsed_at":"2023-04-10T08:18:07.046Z","dependency_job_id":null,"html_url":"https://github.com/Talesoft/tale-jade-smvc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Talesoft/tale-jade-smvc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talesoft%2Ftale-jade-smvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talesoft%2Ftale-jade-smvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talesoft%2Ftale-jade-smvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talesoft%2Ftale-jade-smvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Talesoft","download_url":"https://codeload.github.com/Talesoft/tale-jade-smvc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talesoft%2Ftale-jade-smvc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273986629,"owners_count":25202708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T22:11:58.408Z","updated_at":"2025-09-07T02:05:25.414Z","avatar_url":"https://github.com/Talesoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tale-jade-smvc\nTale Jade Implementation into the PHP Simple MVC Framework\n\n# Short introduction\n\nSimply add following into the `Core\\Controller` Class:\n\n    $this-\u003erenderer = new \\Tale\\Jade\\Renderer([\n        'paths' =\u003e [__DIR__.'/../views']\n    ]);\n\nAlso don't forget to *Add following as property:* `public $renderer;`\n\nThat's it! Now instead using the `View::render[Template]` Methods, you can use:\n\n    echo $this-\u003erenderer-\u003erender('filename', ['data' =\u003e $data]);\n\n\nThe final Class should look like this:\n\n    abstract class Controller\n    {\n        /**\n         * view variable to use the view class\n         * @var string\n         */\n        public $view;\n        public $language;\n        public $renderer;\n\n        /**\n         * on run make an instance of the config class and view class\n         */\n        public function __construct()\n        {\n            //initialise the views object\n            $this-\u003eview = new View();\n\n            //initialise the language object\n            $this-\u003elanguage = new Language();\n\n            $this-\u003erenderer = new \\Tale\\Jade\\Renderer([\n                'paths' =\u003e [__DIR__.'/../views']\n            ]);\n\n        }\n    }\n\nBecause we didn't removed the `$view View` you still can use the `View::render[Template]` Methods if you want.\n\n# Further Questions?\n\nFor further questions don't hesitate to ask us!\n\nCagatay Ulubay \u003ccu@talesoft.io\u003e  \nTorben Köhn \u003ctk@talesoft.io\u003e\n\nURL: http://jade.talesoft.io","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalesoft%2Ftale-jade-smvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalesoft%2Ftale-jade-smvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalesoft%2Ftale-jade-smvc/lists"}