todo.md 1.96 KB
Newer Older
Qiang Xue committed
1
- caching
Alexander Makarov committed
2
	* dependency unit tests
Qiang Xue committed
3
- validators
Qiang Xue committed
4
	* Refactor validators to add validateValue() for every validator, if possible. Check if value is an array.
Qiang Xue committed
5 6
	* FileValidator: depends on CUploadedFile
	* CaptchaValidator: depends on CaptchaAction
Qiang Xue committed
7 8
	* DateValidator: should we use CDateTimeParser, or simply use strtotime()?
	* CompareValidator::clientValidateAttribute(): depends on CHtml::activeId()
Qiang Xue committed
9

Qiang Xue committed
10 11
memo
	* Minimal PHP version required: 5.3.7 (http://www.php.net/manual/en/function.crypt.php)
Qiang Xue committed
12 13
---

14 15
- base
	* module
Alexander Makarov committed
16
	  - Module should be able to define its own configuration including routes. Application should be able to overwrite it.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
	* application
- built-in console commands
	+ api doc builder
		* support for markdown syntax
		* support for [[name]]
		* consider to be released as a separate tool for user app docs
- i18n
	* consider using PHP built-in support and data
	* formatting: number and date
	* parsing??
	* make dates/date patterns uniform application-wide including JUI, formats etc.
- helpers
	* image
	* string
	* file
- web: TBD
	* get/setFlash() should be moved to session component
	* support optional parameter in URL patterns
Alexander Makarov committed
35
	* Response object.
Qiang Xue committed
36
	* ErrorAction
37 38 39 40 41 42 43
- gii
    * move generation API out of gii, provide yiic commands to use it. Use same templates for gii/yiic.
	* i18n variant of templates
	* allow to generate module-specific CRUD
- assets
    * ability to manage scripts order (store these in a vector?)
	* http://ryanbigg.com/guides/asset_pipeline.html, http://guides.rubyonrails.org/asset_pipeline.html, use content hash instead of mtime + directory hash.
Alexander Makarov committed
44
- Requirement checker
Alexander Makarov committed
45
- Optional configurable input filtering in request
Alexander Makarov committed
46
- widgets
Alexander Makarov committed
47 48
    * if we're going to supply default ones, these should generate really unique IDs. This will solve a lot of AJAX-nesting problems.
- Make sure type hinting is used when components are passed to methods
Alexander Makarov committed
49
- Decouple controller from application (by passing web application instance to controller and if not passed, using Yii::app())?