info:cake

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
info:cake [2018/12/28 08:46] radeffinfo:cake [2024/08/05 16:22] (Version actuelle) radeff
Ligne 22: Ligne 22:
 http://api.cakephp.org/ http://api.cakephp.org/
  
-===== Changelog ===== 
- 
-http://code.cakephp.org/wiki/changelog 
-==== Version 1.2 ==== 
- 
-http://code.cakephp.org/wiki/changelog/1_2_x_x 
-[[http://code.cakephp.org/wiki/changelog/1_2_x_x.rss|fil rss]] 
- 
-==== Todo / wish list v1.3 ==== 
- 
-http://code.cakephp.org/wiki/RFCs/1-3-todo-list 
-===== Install notes ===== 
-http://cakephp.org/downloads 
- 
-==== cakephp-instaweb ==== 
-intéressant aussi, permet d'installer un serveur cake rapidement: 
- 
-http://bakery.cakephp.org/articles/view/the-cakephp-instaweb-webserver 
- 
-sudo apt-get install cakephp-instaweb 
- 
-cakephp-instaweb 
- 
-http://localhost:3000/ 
- 
-==== KO ==== 
- 
-sudo apt-get install cakephp cakephp-instaweb cakephp-scripts php5 python-twisted-bin python-twisted-core python-twisted-web python-zopeinterface bake 
  
 ==== ubuntu ==== ==== ubuntu ====
Ligne 66: Ligne 38:
 AllowOverride All AllowOverride All
  
-==== OK ====+
 http://cakephp.org/downloads/index/nightly http://cakephp.org/downloads/index/nightly
  
Ligne 141: Ligne 113:
  
 Configure::write('App.baseUrl', env('SCRIPT_NAME')); Configure::write('App.baseUrl', env('SCRIPT_NAME'));
-==== cakephp_russ ==== 
  
-[[russe:cakephp_russe]]+attentionvous aurez des "moches urls" avec un "index.php" au lieu des urls SEF
  
 ===== Doc ===== ===== Doc =====
Ligne 374: Ligne 345:
 http://mhjewel.wordpress.com/2008/01/26/my-first-project-with-cakephp-and-scriptaculous-framework/ http://mhjewel.wordpress.com/2008/01/26/my-first-project-with-cakephp-and-scriptaculous-framework/
  
-==== TinyMCE ==== 
- 
-[[http://bakery.cakephp.org/articles/view/using-tinymce-with-cakephp-and-ajax|Using TinyMCE with CakePHP and AJAX]] 
- 
-[[cakeTinyMCE|petite démo]], mieux vaut 
  
 ==== FCKEditor ==== ==== FCKEditor ====
Ligne 589: Ligne 555:
  
 ====== Bake ====== ====== Bake ======
-pour générer du code en bash avec cake+pour faire votre cake en <del>un coup de baguette magique</delligne de commande
-<code> +
-sudo apt-get install cakephp1.3-scripts +
-</code>+
  
-puis voir doc sous http://book.cakephp.org/fr/view/113/code-generation-with-bake+https://book.cakephp.org/3.0/en/bake/usage.html 
 +===== bake all ===== 
 +    ./bin/cake bake all TABLENAME
  
-http://www.formation-cakephp.com/40/console-ligne-de-commande+Pour faire ça sur une autre base que la base principale, utiliser -c ou --connection, ex. 
  
-<code> +   ~/cake3 ./bin/cake bake all produits_sur_commande_livraisons --connection=erp
-cake bake db_config +
-cake bake model +
-cake bake view  +
-cake bake controller +
-cake bake project +
-cake bake test +
-cake bake all +
-cake bake controller Users +
-</code>+
  
-http://www.webdevelopment2.com/cakephp-bake-baking-models-controllers-views-cakephp-12/ 
  
-si ça coince: http://grasshopperpebbles.com/ubuntu/cakephp-baking-on-ubuntu/ 
-<code> 
-echo $PATH 
- 
-echo 'export PATH=/home/les/public_html/cake/cake/console:$PATH' >> ~/.profile 
- 
-. .profile 
- 
-cake 
-</code> 
 ===== Baking Controllers ===== ===== Baking Controllers =====
  
Ligne 650: Ligne 595:
 cake bake controller Users null admin cake bake controller Users null admin
 </code> </code>
-===== All ===== 
  
-With the “all” parameter it is now possible to bake with one command a model plus the corresponding controller with its views: 
-<code> 
-cake bake all  // asks you for the model name 
-cake bake all User 
-</code> 
 ====== Editeurs ====== ====== Editeurs ======
 Il semble qu'[[eclipse]] soit le plus populaire, mais j'utilise pas mal aussi [[.emacs:start]] pour les expressions régulières et [[quanta]]: Il semble qu'[[eclipse]] soit le plus populaire, mais j'utilise pas mal aussi [[.emacs:start]] pour les expressions régulières et [[quanta]]:
Ligne 662: Ligne 601:
 Utiliser Quanta avec cake: http://forum.cakephp-fr.org/viewtopic.php?id=22 (voir aussi autres liens, eg. http://groups.google.com/group/cake-php/browse_thread/thread/efc0a080cceb37f5/700861ec9b4151b8  Utiliser Quanta avec cake: http://forum.cakephp-fr.org/viewtopic.php?id=22 (voir aussi autres liens, eg. http://groups.google.com/group/cake-php/browse_thread/thread/efc0a080cceb37f5/700861ec9b4151b8 
 ====== Tips ====== ====== Tips ======
-====== Limiter le nombre de caractères dans un champ (add/edit) ======+===== cakephp2dokuwiki ===== 
 +{{ :info:cakephp2dokuwiki-main.zip |Script to import data from cakePhp}} 
 +===== Limiter le nombre de caractères dans un champ (add/edit) =====
 utiliser l'attribut maxlength dans l'array: utiliser l'attribut maxlength dans l'array:
  
  • info/cake.1545983205.txt.gz
  • Dernière modification : 2018/12/28 08:46
  • de radeff