cakedc/templates

This package is abandoned and no longer maintained. No replacement package was suggested.

Templates Plugin for CakePHP

Installs: 3 725

Dependents: 0

Suggesters: 0

Security: 0

Stars: 47

Watchers: 22

Forks: 11

Open Issues: 0

Type:cakephp-plugin

2.0.0 2015-04-01 21:38 UTC

This package is auto-updated.

Last update: 2023-11-12 01:33:33 UTC


README

Bake Status Downloads Latest Version

This plugin allows you to quickly bake your applications with collection-like operations over your models and high test coverage (100%) for all your baked code.

In short, this plugin includes custom templates for the bake code generator. It also provides a wizard which will help you choose the right options for your bake commands.

Generated code focuses on the "fat models" mantra - they will have most of the logic for handling your data, and sending messages back to the controller to do the flow control.

One might ask, "why would I need to test model CRUD code that is already checked with cake core tests?"

The answer is simple: when you extend model features with callbacks and different behavior unexpected things might happen with model configurations and some of the CRUD operations can be easily broken. The same applies to controller level tests.

Requirements

  • CakePHP 2.x
  • PHP 5.2.8+

Documentation

For documentation, as well as tutorials, see the Docs directory of this repository.

Support

For bugs and feature requests, please use the issues section of this repository.

Commercial support is also available, contact us for more information.

Contributing

This repository follows the CakeDC Plugin Standard. If you'd like to contribute new features, enhancements or bug fixes to the plugin, please read our Contribution Guidelines for detailed instructions.

License

Copyright 2007-2015 Cake Development Corporation (CakeDC). All rights reserved.

Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.