{"id":22276208,"url":"https://github.com/noud/cakephp-condense_template","last_synced_at":"2025-03-25T17:27:13.567Z","repository":{"id":72328575,"uuid":"11976419","full_name":"noud/cakephp-condense_template","owner":"noud","description":"Provides RAD cake bake templates for application generation.","archived":false,"fork":false,"pushed_at":"2013-08-08T13:16:21.000Z","size":300,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T15:28:42.332Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noud.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-08-08T13:05:22.000Z","updated_at":"2023-08-20T13:32:13.000Z","dependencies_parsed_at":"2023-02-21T22:31:04.246Z","dependency_job_id":null,"html_url":"https://github.com/noud/cakephp-condense_template","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/noud%2Fcakephp-condense_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Fcakephp-condense_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Fcakephp-condense_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Fcakephp-condense_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noud","download_url":"https://codeload.github.com/noud/cakephp-condense_template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245509692,"owners_count":20627035,"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-12-03T14:14:02.896Z","updated_at":"2025-03-25T17:27:13.520Z","avatar_url":"https://github.com/noud.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CakePHP CondenseTemplate\n\nProvides RAD cake bake templates for application generation.\nCondenseTemplate is based on the default templates.\n\n## Requirements\n\nThe master branch has the following requirements:\n\n* CakePHP 2.3.8 or greater.\n* CakeDC Search plugin 2.2.0 or greater.\n* PHP 5.3.0 or greater.\n* jQuery 1.9.1 or greater.\n\n## Installation\n\n* Clone/Copy the files in this directory into `app/Plugin/CondenseTemplate`\n* Ensure the plugin is loaded in `app/Config/bootstrap.php` like so:\n\n```php\nCakePlugin::load('CondenseTemplate');\n```\n\nFirst bake using the default templates, given Condense\nneeds a Model for finding the hasMany relations.\nThen re-bake, but bake the condense templates.\n\nFind the hasMany relations on any view done by\nAjax/JavaScript pagination in elements.\nSecond, per index view the Search plugin is baked into your result.\nThird, text fields will be surperessed in indexes and\nnow lastly, one can surpress index fields,\nget clickable urls and documents and shared filters in\nyour resulting application by creating and loading an\napplication specific Config/condense.php in bootstrap.php like so:\n\nin bootstrap.php add:\n```php\ninclude APP . DS . 'Config' . DS . 'condense.php';\n```\n\napplication specific Config/condense.php might be:\n\n```php\n\u003c?php\nConfigure::write('meta', array(\n\t'Categorie' =\u003e array(\n\t\t'Id' =\u003e array('suppresIndex' =\u003e true),\n\t),\n\t'Feedback' =\u003e array(\n\t\t'Id' =\u003e array('suppresIndex' =\u003e true),\n\t),\n\t'Profiel' =\u003e array(\n\t\t'Id' =\u003e array('suppresIndex' =\u003e true),\n\t\t'Account' =\u003e array('suppresIndex' =\u003e true),\n\t\t'Bezoekadres' =\u003e array('suppresIndex' =\u003e true),\n\t\t'Telefoonnummer' =\u003e array('suppresIndex' =\u003e true),\n\t\t'Website' =\u003e array('type' =\u003e 'url'),\n\t\t'LinkedIn' =\u003e array('type' =\u003e 'url'),\n\t\t'Created' =\u003e array('suppresIndex' =\u003e true),\n\t\t'CV_in_PDF_of_Word_format' =\u003e array('type' =\u003e 'file'),\n\t),\n\t'Project' =\u003e array(\n\t\t'Id' =\u003e array('suppresIndex' =\u003e true),\n\t\t'Reacties' =\u003e array('suppresIndex' =\u003e true),\n\t\t'Bekeken' =\u003e array('suppresIndex' =\u003e true),\n\t\t'Project_titel' =\u003e array('or' =\u003e 'filter'),\n\t\t'Project_omschrijving' =\u003e array('or' =\u003e 'filter'),\n\t),\n));\n```\n\n### Using\n\nThis should give you Rapid Appication Development (RAD) cake bake\ntemplate results that you can immediate use as the basis of your applications.\n\nHere's how the search will be added to your index:\n\n![SearchIndex](https://raw.github.com/noud/cakephp-condense_template/master/screenshots/SearchIndex.png)\n\nHere's how one your views having multiple hasMany relations will use Ajax paginated elements.\n\n![AjaxPaginationElements](https://raw.github.com/noud/cakephp-condense_template/master/screenshots/AjaxPaginationElements.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoud%2Fcakephp-condense_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoud%2Fcakephp-condense_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoud%2Fcakephp-condense_template/lists"}