{"id":16314942,"url":"https://github.com/cebe/yii-course-example-code","last_synced_at":"2025-04-08T07:32:11.200Z","repository":{"id":9617793,"uuid":"11544118","full_name":"cebe/yii-course-example-code","owner":"cebe","description":"Example code of my yii 1.1 training course","archived":false,"fork":false,"pushed_at":"2013-07-20T15:23:15.000Z","size":192,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T08:41:56.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.cebe.cc/en/consulting/yii-framework-training","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cebe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-20T08:07:40.000Z","updated_at":"2018-12-10T09:30:48.000Z","dependencies_parsed_at":"2022-08-30T14:51:30.971Z","dependency_job_id":null,"html_url":"https://github.com/cebe/yii-course-example-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cebe%2Fyii-course-example-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cebe%2Fyii-course-example-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cebe%2Fyii-course-example-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cebe%2Fyii-course-example-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cebe","download_url":"https://codeload.github.com/cebe/yii-course-example-code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247796272,"owners_count":20997541,"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","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-10-10T21:55:40.504Z","updated_at":"2025-04-08T07:32:10.809Z","avatar_url":"https://github.com/cebe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"What is this?\n=============\n\nThis is the example application produced while giving my [yii course](http://www.cebe.cc/training).\n\nCovered Topics\n==============\n\n- **creating DB migrations**\n  - [protected/migrations](https://github.com/cebe/yii-course-example-code/tree/master/app/protected/migrations)\n- **input validation**\n  - [protected/models/User.php line 55](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/models/User.php#L55)\n- **using attribute labels for i18n**\n  - [protected/models/User.php line 122](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/models/User.php#L122)\n- **Asset Packages**\n  - [protected/config/assetPackages.php](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/config/assetPackages.php)\n  - [protected/config/main.php line 46](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/config/main.php#L46)\n  - [protected/views/layouts/main.php line 4](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/views/layouts/main.php#L4)\n  - asset files are located in [protected/assets](https://github.com/cebe/yii-course-example-code/tree/master/app/protected/assets)\n- **Using action classes and action providers**\n  - [protected/controllers/PostController.php line 11](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/controllers/PostController.php#L11)\n  - [protected/controllers/actions/UpdateAction.php](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/controllers/actions/UpdateAction.php)\n- **authentication against a database**\n  - [protected/components/UserIdentity.php](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/components/UserIdentity.php)\n- **caching**\n  - [protected/controllers/UserController.php line 166](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/controllers/UserController.php#L166)\n- **using cache dependency**\n  - [protected/components/ExampleDependency.php](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/components/ExampleDependency.php)\n  - [protected/controllers/UserController.php line 215](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/controllers/UserController.php#L215)\n- **proper model loading** (avoid SQL injection!)\n  - [protected/controllers/UserController.php line 138](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/controllers/UserController.php#L138)\n- **ajax and client validation**\n  - [protected/views/user/_form.php line 11](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/views/user/_form.php#L11)\n  - [protected/controllers/UserController.php line 90](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/controllers/UserController.php#L90)\n- **extending core components**\n  - [protected/components/MyRequest.php](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/components/MyRequest.php)\n  - [protected/config/main.php line 56](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/config/main.php#L56)\n- **creating an extension** (including use of client script and asset packages)\n  - [protected/extensions/bootstrap](https://github.com/cebe/yii-course-example-code/tree/master/app/protected/extensions/bootstrap)\n  - [protected/config/main.php line 42](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/config/main.php#L42)\n- **widget skins**\n  - [protected/views/skins](https://github.com/cebe/yii-course-example-code/tree/master/app/protected/views/skins)\n  - [protected/config/main.php line 131](https://github.com/cebe/yii-course-example-code/blob/master/app/protected/config/main.php#L131)\n\nThere is even more inside, just browse the code.\n\nIf you have any questions, feel free to contact me at mail@cebe.cc.\n\nMore information about the Yii training course is available [at my website](http://www.cebe.cc/training).\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcebe%2Fyii-course-example-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcebe%2Fyii-course-example-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcebe%2Fyii-course-example-code/lists"}