CakePOWER Services documentation (first review)

2010-10-10 Thread MPeg
Hi coders, I'm developing a CakePHP extension to enhance cake with professional coding needs and requirements. I just published a page to describe a code practice named service. I please you to read this page and suggest me mistakes because I'm not very up to date with english!

I'm creating CakePOWER.org: a plugin enhancement extension for CakePHP, i need your help!

2010-10-06 Thread MPeg
Hi, i'm Marco Pegoraro, an italian CakePHP lover and developer. I use CakePHP to build a lot of sites and in the last three years i built a CMS named juniorcms.com (not documented, not distributed yet). It is built upon CakePHP 1.1 and i wrote some classes to allow plugins coworking and

Re: User preferences

2009-09-04 Thread MPeg
I've built a system called Register who manage a table with a key=value logic with a little complex key definition. A key is generally a meaningfull string such elementsPerPage, applicationName, etc... This string is an unique identifier in Register. To reach a more sophisticated level of

How to use a plugin's layout form a different plugin

2009-08-27 Thread MPeg
Hi to all. I'm developing a plugin named pizza and I have another plugin named beautifull_layout. When I order a new pizza i'd like to use a layout from the beautifull_layout plugin. class Pizza extend PizzaAppController { function order() { $this-plugin = beautifull_layout;

Re: How to use a plugin's layout form a different plugin

2009-08-27 Thread MPeg
('viewPaths', array_unshift(Configure::read ('viewPaths'), APP.'plugins'.DS.'beautifull_layout'.DS.'views'.DS));     $this-layout = pink_layout;   } } On Aug 27, 12:18 pm, MPeg marco.pegor...@gmail.com wrote: Hi to all. I'm developing a plugin named pizza and I have another plugin named

Re: Vendors handling with js/css script packages without breaking their file structure

2009-07-31 Thread MPeg
You can use plugins to pack some features. I use plugins to distribute jQuery's plugins composed by js files and css plus images... I miss a CakePHP structure to distribute external scripts or functionality packages... I hope in the next release this thing will be patched up! On Jul 30, 9:33 

Re: $useTable ignored when using bindModel()?

2009-05-15 Thread MPeg
I found my error! I was using plugin architecture so the model's correct name is plugin_name(dot)model_name!!! Thanks to all! Bye! On 13 Mag, 21:57, deefens steff.muel...@gmail.com wrote: Dr. Loboto, you saved my day. Thank you so much, now its working properly @MPeg: check your model

Re: HABTM relation with custom named table

2009-05-15 Thread MPeg
I found my error! I was using plugin architecture so the model's correct name is plugin_name(dot)model_name!!! Please read this thread about this problem: http://groups.google.it/group/cake-php/browse_thread/thread/8c750cd28f43225b?hl=it Thanks to all! Bye! On 12 Mag, 09:11, MPeg

Re: $useTable ignored when using bindModel()?

2009-05-13 Thread MPeg
Hi, I have the same problem in my application: useTable it seems to be ignored. I use a model's class in his own controller correctly so I think Cake is able to load it via naming convenctions correctly to! I think so but Cake still ignore mi configuration in relations! What to do? I hate to

HABTM relation with custom named table

2009-05-12 Thread MPeg
Hi to all bakers! I'm diving into Cake1.2 relations while building a demo ACL application (Just to learn about...) I'm creating a custom plugin to solve this issue so my tables have a custom name just to mantain order into db: Model Yuser - Table freyr_users Model Ypermission - Table