User:Sancus/Cake Questions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Cake Questions moved to User:Sancus/Cake Questions: Yoink.) |
||
| (14 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
* What is the preferred mechanism for localization of template content with Cake? | * What is the preferred mechanism for localization of template content with Cake? | ||
** Cake doesn't seem to have built-in localization support yet. There are a couple of approaches created by users, however. | |||
** http://wiki.cakephp.org/tutorials:i18n - Locale Package, double underscore method | |||
** http://wiki.cakephp.org/tutorials:i18n_v2 - Using the PEAR [http://pear.php.net/package/Translation2 Translation2] class. | |||
* What options do we have for view caching in a clustered environment (where not all servers will see the app writing through a Model to the database)? I suspect something like memcached will be involved, though maybe that's done implicitly through the Cake stuff | * What options do we have for view caching in a clustered environment (where not all servers will see the app writing through a Model to the database)? I suspect something like memcached will be involved, though maybe that's done implicitly through the Cake stuff | ||
** http://api.cakephp.org/paths_8php.html#08e1be4b785493d9fc2ae52c5ba9ab2e | |||
** The cake caching system seems to be able to work on a multi-server setup. | |||
* What support for schema migration and versioning is present in Cake, and what are the limitations? | * What support for schema migration and versioning is present in Cake, and what are the limitations? | ||
** http://wiki.cakephp.org/tutorials:cake_migrations - Cake Migrations supports | |||
***create/drop tables | |||
***add/drop/alter columns | |||
***add/drop keys | |||
***insert/delete test data | |||
***raw SQL queries | |||
* What are the preferred test pattern/tools for unit and functional testing under Cake (both automated and human-run)? | * What are the preferred test pattern/tools for unit and functional testing under Cake (both automated and human-run)? | ||
** Uses SimpleTest | ** Uses [http://www.lastcraft.com/simple_test.php SimpleTest] | ||
** http://wiki.cakephp.org/tutorials:testing_cake_apps | ** http://wiki.cakephp.org/tutorials:testing_cake_apps | ||
** Supports [http://www.lastcraft.com/form_testing_documentation.php testing forms] and urls directly in addition to the class/method testing | |||
Latest revision as of 21:13, 31 July 2006
- What is the preferred mechanism for localization of template content with Cake?
- Cake doesn't seem to have built-in localization support yet. There are a couple of approaches created by users, however.
- http://wiki.cakephp.org/tutorials:i18n - Locale Package, double underscore method
- http://wiki.cakephp.org/tutorials:i18n_v2 - Using the PEAR Translation2 class.
- What options do we have for view caching in a clustered environment (where not all servers will see the app writing through a Model to the database)? I suspect something like memcached will be involved, though maybe that's done implicitly through the Cake stuff
- http://api.cakephp.org/paths_8php.html#08e1be4b785493d9fc2ae52c5ba9ab2e
- The cake caching system seems to be able to work on a multi-server setup.
- What support for schema migration and versioning is present in Cake, and what are the limitations?
- http://wiki.cakephp.org/tutorials:cake_migrations - Cake Migrations supports
- create/drop tables
- add/drop/alter columns
- add/drop keys
- insert/delete test data
- raw SQL queries
- http://wiki.cakephp.org/tutorials:cake_migrations - Cake Migrations supports
- What are the preferred test pattern/tools for unit and functional testing under Cake (both automated and human-run)?
- Uses SimpleTest
- http://wiki.cakephp.org/tutorials:testing_cake_apps
- Supports testing forms and urls directly in addition to the class/method testing