Re: Modules

2012-06-25 Thread André Luis
Another thing for example... i have plugin users, also i have controller users... if i have to access the action login in plugin users and controller users... the url would be /users/users/login, it would be nice if the plugin checks if there isnt a controller called login, if not it sends the

Re: Modules

2012-06-23 Thread Steve Found
you want - if you want a modules folder you can just do: App::build(array('Plugin', array('Modules')); A real example of what Andre or the_woodsman mean when they talk about modules would probably clear a lot of things up so if either of you would like to fill out this template

Re: Modules

2012-06-22 Thread Steve Found
On 22/06/12 04:03, Jamie wrote: On Thursday, June 21, 2012 9:23:44 AM UTC-7, Ratty wrote: You should not be changing any plugin code anyway. That's why they are plugins... You update them straight from github when you need to. If you want to modify the behaviour of a

Re: Modules

2012-06-22 Thread SpazzyV
Also, if we are adding functionality to a plug-in, or fixing something that doesn't quite work. We should probably committing that code back with the owner of the plug-in. Considering most plug-in developers are scratching their own itch, and not necessarily doing a market needs assessment to

Re: Modules

2012-06-22 Thread Steve Found
TOTALLY agree Vinnie. I believe that's what Open Source is all about. Steve. On 22/06/12 11:56, SpazzyV wrote: Also, if we are adding functionality to a plug-in, or fixing something that doesn't quite work. We should probably committing that code back with the owner of the plug-in.

Re: Modules

2012-06-22 Thread AD7six
one is the most relevant to the first post in this thread. For example, the apps I work with right now use 5-15 plugins, their app controller/model/view folders are typically empty. In addition you can organize your paths any way you want - if you want a modules folder you can just do: App

Re: Modules

2012-06-21 Thread the_woodsman
three different directories * Encourages less coupled code - in theory these modules could almost be framework agnostic, whereas lumping files in /controller etc doesnt' encourage that way of thinking * personal preference :) I understand it might be a lot fo work to change Cake to support

Re: Modules

2012-06-21 Thread AD7six
On Thursday, 21 June 2012 12:07:27 UTC+2, the_woodsman wrote: Re the difference with plugins - I get your point, but if I want to have a plugin with multiple models and controllers etc, then surely I still end up losing that module structure, and end up with /Controllers and /Views

Re: Modules

2012-06-21 Thread André Luis
It´s not the cause of being appropriate or not, but i would like to use plugins folder ONLY for really PLUGINS, wich i dont change anything, just use... Modular will work ONLY for that application. The reason for modular programming is: imagine you have /products/categories wich uses Category

Re: Modules

2012-06-21 Thread AD7six
On Thursday, 21 June 2012 15:44:26 UTC+2, André Luis wrote: It´s not the cause of being appropriate or not, but i would like to use plugins folder ONLY for really PLUGINS, wich i dont change anything, just use... Modular will work ONLY for that application. So - put your modules

Re: Modules

2012-06-21 Thread Steve Found
On 21/06/12 14:44, André Luis wrote: It´s not the cause of being appropriate or not, but i would like to use plugins folder ONLY for really PLUGINS, wich i dont change anything, just use... Modular will work ONLY for that application. You should not be changing any plugin code anyway. That's why

Re: Modules

2012-06-21 Thread lowpass
On Thu, Jun 21, 2012 at 6:07 AM, the_woodsman elwood.ca...@gmail.com wrote: * Encourages less coupled code - in theory these modules could almost be framework agnostic, That's what the Vendors folder is for. Anything in there that's Cake-specific should be in Plugins. And *those* are called

Re: Modules

2012-06-21 Thread Jamie
On Thursday, June 21, 2012 9:23:44 AM UTC-7, Ratty wrote: You should not be changing any plugin code anyway. That's why they are plugins... You update them straight from github when you need to. If you want to modify the behaviour of a plugin model for example then you can extend it in

Re: Modules

2012-06-21 Thread rchavik
On Friday, June 22, 2012 10:03:57 AM UTC+7, Jamie wrote: On Thursday, June 21, 2012 9:23:44 AM UTC-7, Ratty wrote: You should not be changing any plugin code anyway. That's why they are plugins... You update them straight from github when you need to. If you want to modify the

Modules

2012-06-20 Thread André Luis
Is there any way to use modules in CakePHP, it should work like plugins, but i dont want to use plugins to create modules... it would have it´s own Model, View and Controller folders inside... If there isnt this feature yet, it could be applyed on next updates, couldnt? -- Our newest site

Re: Modules

2012-06-20 Thread the_woodsman
, if you wanted to share some code, but for whatever reason didn't want to use a plugin, you could just do an svn external (or export, or copy, etc etc) to get a nice working component. On Wednesday, 20 June 2012 15:37:13 UTC+1, André Luis wrote: Is there any way to use modules in CakePHP

Re: Modules

2012-06-20 Thread rchavik
external (or export, or copy, etc etc) to get a nice working component. I like the separation. I *know* that 3rd party files can always be found under APP/Plugin. On Wednesday, 20 June 2012 15:37:13 UTC+1, André Luis wrote: Is there any way to use modules in CakePHP, it should work like

Separating modules

2011-01-14 Thread earth
Hello, I would like to create a cakePHP application having different modules like - Events, Poll, etc. Each module will have more than one database tables. Each module may have more than one controller. So i want to have a separate folder for each module within models folder, like - /app/models

Re: Separating modules

2011-01-14 Thread cricket
On Fri, Jan 14, 2011 at 9:27 AM, earth earthtechnol...@gmail.com wrote: Hello, I would like to create a cakePHP application having different modules like - Events, Poll, etc. Each module will have more than one database tables. Each module may have more than one controller. So i want

Re: Separating modules

2011-01-14 Thread Jamie
You should probably read the plugins section of the Cookbook: http://book.cakephp.org/view//Plugins - Jamie On Jan 14, 6:27 am, earth earthtechnol...@gmail.com wrote: Hello, I would like to create a cakePHP application having different modules like - Events, Poll, etc. Each module

Re: Separating modules

2011-01-14 Thread majna
: Hello, I would like to create a cakePHP application having different modules like - Events, Poll, etc. Each module will have more than one database tables. Each module may have more than one controller. So i want to have a separate folder for each module within models folder, like - /app

Re: Separating modules

2011-01-14 Thread earth
/app/controllers/poll/polls_controller.php etc. just clear cache. and for views, there's Controller::viewPath property I suggest plugins for solution. On Jan 14, 3:27 pm, earth earthtechnol...@gmail.com wrote: Hello, I would like to create a cakePHP application having different modules

Re: Modules in cake?

2009-08-27 Thread majna
No, but you can group mvc files by adding additional paths in bootstrap.php (see doc comments), but this is not best solution. (performance and some other issues on how cake includes view files) On Aug 26, 11:09 pm, Mech7 chris.de@gmail.com wrote: Is there way to setup modules in cake... I

Re: Modules in cake?

2009-08-27 Thread Jamie
Well, you could just write plugins that take advantage of this functionality - i.e. write a Blog plugin that will use a Tag plugin if it exists. On Aug 26, 2:09 pm, Mech7 chris.de@gmail.com wrote: Is there way to setup modules in cake... I don't mean plugins which are seperate

Re: Modules in cake?

2009-08-27 Thread Mech7
But plugins are not convenient to use for this purpose as they have their own layout / script etc files.. And not really share anything from the main application On Aug 27, 4:36 pm, Jamie jamie@gmail.com wrote: Well, you could just write plugins that take advantage of this functionality -

Modules in cake?

2009-08-26 Thread Mech7
Is there way to setup modules in cake... I don't mean plugins which are seperate capplications but modules that will hace MVC files... but could also work togheter... for example you can install a Tag module.. and if you install a Pages or Blog modules they could make use of it... all in seperate

Re: CakePHP (and other leading php frameworks) vs. Drupal custom modules

2009-08-10 Thread Martin Westin
or other framework. Drupal looks like (30sec peek at the code for a custom module) a half-finished app. Not in the sense that anything is missing but that you start with haft the app done. The downside is that you have to live with the modules and hooks to make your code talk to Drupal. You have less

Re: CakePHP (and other leading php frameworks) vs. Drupal custom modules

2009-08-10 Thread Smelly Eddie
at the code for a custom module) a half-finished app. Not in the sense that anything is missing but that you start with haft the app done. The downside is that you have to live with the modules and hooks to make your code talk to Drupal. You have less freedom. Cake and most other frameworks act

CakePHP (and other leading php frameworks) vs. Drupal custom modules

2009-08-09 Thread Josh
Does anyone have CakePHP experience and Drupal custom module experience? If so, what is your opinion of the Drupal API for writing custom modules? I have a friend that is about to do a re-design for his Drupal app and is considering changing frameworks. They would have to design 3-4 custom

Re: CakePHP (and other leading php frameworks) vs. Drupal custom modules

2009-08-09 Thread Parris
of the Drupal API for writing custom modules? I have a friend that is about to do a re-design for his Drupal app and is considering changing frameworks. They would have to design 3-4 custom modules. Any thoughts? Thanks. --~--~-~--~~~---~--~~ You received

Re: CakePHP (and other leading php frameworks) vs. Drupal custom modules

2009-08-09 Thread Robert P
for drupal also. On Aug 9, 9:14 am, Josh joshs.silver...@gmail.com wrote: Does anyone have CakePHP experience and Drupal custom module experience? If so, what is your opinion of the Drupal API for writing custom modules? I have a friend that is about to do a re-design for his Drupal app

How to make use of the error method for one controller with different modules

2009-07-16 Thread Sheetal
My scenario is : Keep for example there is a view file and it has 2 input fields for entering name. First field belong to model_1 which is the primary model of the view page. Second field belongs to another model model_2. Both fields are mandatory and has an error msg. if left blank. If I use

Re: Joomla modules like functionality in CAKE PHP

2009-07-13 Thread Shadab Shaikh
, and the helper could be written to act like a module bucket - pull in the modules for that page, pass data to the elements and render them to a position in your page.” It seems that James approach is more generalized: James if I am not wrong than you are asking me to deal the things as following way

Re: Joomla modules like functionality in CAKE PHP

2009-07-10 Thread Firas
Singleton Pattern) therefore you dont have that much more memory usage.. using this inside elements might not be MVC like, but it would come close to the above Joomla Modules You CAN use App::import within an element to include the model(s) you need, and run queries on them but this not very

Re: Joomla modules like functionality in CAKE PHP

2009-07-10 Thread womble
I too am aware of Joomla, and have wondered how cake would do something similar. I am only relatively new to cake, when reading the docs the closest thing I could see were Elements (but I don't know their limitiations). It may be worthwhile posting a more generic question, such as: how do cake

Re: Joomla modules like functionality in CAKE PHP

2009-07-08 Thread James K
A helper in conjunction with elements would likely be the closest thing you'll get to a Joomla module. Elements would contain the presentation logic for each module, and the helper could be written to act like a module bucket - pull in the modules for that page, pass data to the elements

Re: Joomla modules like functionality in CAKE PHP

2009-07-08 Thread Robert P
Any modular system is going to be written to meet specific needs. The main issue that I see with CMS-rivaling system is the need to tie it in at all stages of the application: model, view and controller. Modules themselves would need a database presence, requiring models. A notification system

Re: Joomla modules like functionality in CAKE PHP

2009-07-08 Thread Mark
Joomla Modules You CAN use App::import within an element to include the model(s) you need, and run queries on them but this not very efficient as you may end up with several complete instances of the same model being generated in a single request

Joomla modules like functionality in CAKE PHP

2009-07-07 Thread shadab
by simply adding files and db entries • We would have generalized function to load modules but once I want to create new module than I need not require to touch my controller’s logic, just need to db entry and adding necessary files • We can easily enable/disable modules to any page

Re: Joomla modules like functionality in CAKE PHP

2009-07-07 Thread Robert P
Building any kind of module/modular system has certain complexities, and if there is any form of public implementation it's unlikely to be one size fits all. The first thing is to be very clear what funtionality you want from the system, and what behaviour you want it to exhibit. Modules relate

Re: Joomla modules like functionality in CAKE PHP

2009-07-07 Thread James K
There is no entity in CakePHP that work like Joomla modules out of the box. The closest thing would be elements - elements are mini-views that can be included in layouts or views. However, since they are intended to be reliant on the information passed to the view they're included in, they lose

Re: Joomla modules like functionality in CAKE PHP

2009-07-07 Thread Shadab Shaikh
at 12:14 AM, James K james.m.k...@gmail.com wrote: There is no entity in CakePHP that work like Joomla modules out of the box. The closest thing would be elements - elements are mini-views that can be included in layouts or views. However, since they are intended to be reliant

Re: Joomla modules like functionality in CAKE PHP

2009-07-07 Thread Robert P
Yes, I agree. An element is just a partial view, and would have to be copied into and reworked for every application. Not to mention that you can't link an element to content in the database. I think setting up the core of the modules as a Model would allow for a lot of flexibility. An Observer

putting 2 modules on the same page

2009-01-02 Thread bmaorlo
Hi , I wonder if this is possible , lets say i have 2 modules 1. login box = i made it on folder http://localhost/cake/login/log 2. news box = i made it on folder http://localhost/cake/news/show Now i want to make 1 page that will conteins both of the modules , let say that ths url of this page

Re: putting 2 modules on the same page

2009-01-02 Thread Bernardo Vieira
model data on all your modules you can either use [2] the all required models in your controller and pass the data to your view or use requestAction [3] to fetch data for another controller. [1] http://book.cakephp.org/view/97/Elements [2] http://book.cakephp.org/view/51/Controller-Attributes

Re: putting 2 modules on the same page

2009-01-02 Thread bmaorlo
on all your modules you can either use [2] the all required models in your controller and pass the data to your view or use requestAction [3] to fetch data for another controller. [1]http://book.cakephp.org/view/97/Elements [2]http://book.cakephp.org/view/51/Controller-Attributes#components-help

Re: putting 2 modules on the same page

2009-01-02 Thread WebbedIT
An element is simply a re-usable view ... rather than repeat a whole view or a part of a view which is used multiple times across your app, create a single element and use that across multiple views. --~--~-~--~~~---~--~~ You received this message because you are

Re: putting 2 modules on the same page

2009-01-02 Thread bmaorlo
Thanks , and this re-usable view can have a controller ? If i want this view to take data from DB for example login box . How do i do the logic part on this view ? Thanks. On Jan 3, 12:04 am, WebbedIT p...@webbedit.co.uk wrote: An element is simply a re-usable view ... rather than repeat a

Re: putting 2 modules on the same page

2009-01-02 Thread Webweave
The element refers to data just like any other view. I use an element to display task listings, and by choosing which data to pass to the element, I get different displays on the same page: div class=related ?php if (isset($userSlots)):? h3?php __('You are signed up for');?/h3 ?php

Re: putting 2 modules on the same page

2009-01-02 Thread WebbedIT
Have you read the link offered eariler? http://book.cakephp.org/view/97/Elements We are only repeating content within this page when explaining the use of elements to you. Regards, Paul. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: something like Joomla modules

2008-08-25 Thread James K
You can implement something like Joomla modules fairly easily via CakePHP's elements. Elements are fairly self-contained blocks of code that can be called from views or even controllers. The only difference is you have to pre-fetch your data and pass it to the element rather than have the element

Re: something like Joomla modules

2008-08-23 Thread Joel Perras
problems that came along development. I was using Joomla for a few years so I'm used to refer some elements like pools, latest comments, tags cloud, menus etc. as MODULES. My question is what would be a good approach to build them in Cake PHP. For example: should I define a new helper/component

something like Joomla modules

2008-08-22 Thread luigi7up
cloud, menus etc. as MODULES. My question is what would be a good approach to build them in Cake PHP. For example: should I define a new helper/component that would check installed and active modules and then call that helper from a view or template file? Some guidelines how to approach would

Shipping Modules

2008-06-25 Thread Corie
I'm building a shopping cart and want to integrate shipping APIs. Now, I've found existing code for UPS Rates Services and something similar for FedEx. But what I really want is an API that will actually create a shipment, schedule it for pickup, provide a label and tracking code, etc. You can't

Content Modules? How to do that?

2008-02-25 Thread NilsR
Hi all :) I'm currently working on a CMS-Like webapp. You're able to add an arbitary amount of content-elements to a page - which are sortable. Everyhtings workin fine. Now i want these content-elements to be some sort of modules. So that i can have several different content-element- types like

Plugin extension in Controller | Customizing app modules

2008-01-18 Thread Bruno Bergher
Okay, this might sound a bit crazy at first, but there's real reasons for doing this. We're a design firm that developed a CMS to handle the advanced layout requirement of our projects. The main thing is being able to build pages which content fields change in name, amount and type. And that's

Using curl_multi_* across several modules

2007-11-26 Thread Sean Walberg
I've got a series of web services implemented as models that a controller might call as such: $a = $this-WebService1-findByName($searchstring1); $b = $this-WebService2-findByName($searchstring2) $c = $this-WebService3-findByName($searchstring3) // Do something with $a, $b, and $c, then pass it to

Bake modules for XOOPS with CakePHP

2007-11-23 Thread kiang
I've tried to post this article in Bakery. But it returned blank page... Have a look here: http://xoopscube.org/modules/xhnewbb/viewtopic.php?topic_id=582 :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: Modules?

2007-10-11 Thread Marcin Domanski aka kabturek
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stefanb Sent: 10. oktober 2007 10:36 To: Cake PHP Subject: Modules? Does Cake support the use of modules? www.example.com/module/controller/action/var1/val1/var2/val2 --~--~-~--~~~---~--~~ You received

Re: Modules?

2007-10-11 Thread dardosordi
or the group ? Its called plugins in cake -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stefanb Sent: 10. oktober 2007 10:36 To: Cake PHP Subject: Modules? Does Cake support the use of modules? www.example.com/module/controller

Re: Modules?

2007-10-11 Thread stefanb
: Modules? Does Cake support the use of modules? www.example.com/module/controller/action/var1/val1/var2/val2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: Modules?

2007-10-11 Thread stefanb
. oktober 2007 10:36 To: Cake PHP Subject: Modules? Does Cake support the use of modules? www.example.com/module/controller/action/var1/val1/var2/val2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

RE: Modules?

2007-10-11 Thread Christian Winther
No, the plugin part is right But the first part about you not bothering to search for answer first is also true -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stefanb Sent: 11. oktober 2007 13:39 To: Cake PHP Subject: Re: Modules? So

Re: Modules?

2007-10-11 Thread savagekabbage
You can consider plugins to be modules of CakePHP as they are built to be able to integrate with any Cake installation. On Oct 11, 7:39 am, stefanb [EMAIL PROTECTED] wrote: So a plugin is not the same as a module? Now I'm confused. On Oct 11, 12:43 pm, dardosordi [EMAIL PROTECTED] wrote

Re: Modules?

2007-10-11 Thread stefanb
] On Behalf Of stefanb Sent: 11. oktober 2007 13:39 To: Cake PHP Subject: Re: Modules? So a plugin is not the same as a module? Now I'm confused. On Oct 11, 12:43 pm, dardosordi [EMAIL PROTECTED] wrote: Though the first half is the correct one. On Oct 10, 10:24 am, stefanb [EMAIL

Re: Modules?

2007-10-11 Thread Wayne Fay
PROTECTED] On Behalf Of stefanb Sent: 11. oktober 2007 13:39 To: Cake PHP Subject: Re: Modules? So a plugin is not the same as a module? Now I'm confused. On Oct 11, 12:43 pm, dardosordi [EMAIL PROTECTED] wrote: Though the first half is the correct one. On Oct 10, 10:24 am, stefanb [EMAIL

Re: Modules?

2007-10-11 Thread stefanb
Thank you, finally a reasonable answer! :) On Oct 11, 3:32 pm, savagekabbage [EMAIL PROTECTED] wrote: You can consider plugins to be modules of CakePHP as they are built to be able to integrate with any Cake installation. On Oct 11, 7:39 am, stefanb [EMAIL PROTECTED] wrote: So a plugin

Re: Modules?

2007-10-11 Thread stefanb
true -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stefanb Sent: 11. oktober 2007 13:39 To: Cake PHP Subject: Re: Modules? So a plugin is not the same as a module? Now I'm confused. On Oct 11, 12:43 pm, dardosordi [EMAIL PROTECTED

Modules?

2007-10-10 Thread stefanb
Does Cake support the use of modules? www.example.com/module/controller/action/var1/val1/var2/val2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php

RE: Modules?

2007-10-10 Thread Christian Winther
Did you even bother to look in the manual or the group ? Its called plugins in cake -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stefanb Sent: 10. oktober 2007 10:36 To: Cake PHP Subject: Modules? Does Cake support the use of modules

Re: Modules?

2007-10-10 Thread stefanb
[mailto:[EMAIL PROTECTED] On Behalf Of stefanb Sent: 10. oktober 2007 10:36 To: Cake PHP Subject: Modules? Does Cake support the use of modules? www.example.com/module/controller/action/var1/val1/var2/val2 --~--~-~--~~~---~--~~ You received this message

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-20 Thread [EMAIL PROTECTED]
modules. On Sep 19, 10:34 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Sep 19, 2007, at 2:12 PM, [EMAIL PROTECTED] wrote: Hi, I would like to know if there is the same concept that the modules of the zend framework on cakephp : http://framework.zend.com/manual

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-20 Thread [EMAIL PROTECTED]
PROTECTED] wrote: http://manual.cakephp.org/chapter/plugins On 9/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: yep i confirm. but so how ? :( On 20 sep, 00:08, Mech7 [EMAIL PROTECTED] wrote: But this is not really about the libs and webroot but about selfcontaining modules. On Sep 19

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread John David Anderson (_psychic_)
On Sep 19, 2007, at 2:12 PM, [EMAIL PROTECTED] wrote: Hi, I would like to know if there is the same concept that the modules of the zend framework on cakephp : http://framework.zend.com/manual/en/zend.controller.modular.html (it's like a way to make multiple sites with only one zend

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread [EMAIL PROTECTED]
the controllers of www.domain.com (like the controller to know if you're loggued ..etc) On zend framework, with the modules, you have a default module (www.domain.com for me) that contains his own controllers / views/ models/ and you can add as much modules as you want. module1, module2 default

Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread [EMAIL PROTECTED]
Hi, I would like to know if there is the same concept that the modules of the zend framework on cakephp : http://framework.zend.com/manual/en/zend.controller.modular.html (it's like a way to make multiple sites with only one zend framework) thanks

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread [EMAIL PROTECTED]
://manual.cakephp.org/chapter/plugins On 9/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: yep i confirm. but so how ? :( On 20 sep, 00:08, Mech7 [EMAIL PROTECTED] wrote: But this is not really about the libs and webroot but about selfcontaining modules. On Sep 19, 10:34 pm, John David

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread John David Anderson (_psychic_)
, Mech7 [EMAIL PROTECTED] wrote: But this is not really about the libs and webroot but about selfcontaining modules. On Sep 19, 10:34 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Sep 19, 2007, at 2:12 PM, [EMAIL PROTECTED] wrote: Hi, I would like to know

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread John David Anderson (_psychic_)
: But this is not really about the libs and webroot but about selfcontaining modules. On Sep 19, 10:34 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Sep 19, 2007, at 2:12 PM, [EMAIL PROTECTED] wrote: Hi, I would like to know if there is the same concept that the modules of the zend

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread Mech7
Maybe you could change the bootstrap file and make the array name dynamic of the controller that is being requested ? $modelPaths = array('full path to models', 'second full path to models', 'etc...'); $viewPaths = array('this path to views', 'second full path to views', 'etc...');

How do you manage your re-usable snippets or modules ?

2007-07-02 Thread Max
Hey guys !! I've been thinking from a last few days, that how many hours can I save if I build a library of all my reusable code/modules which is very easily accessible while working on a project... ? Dont you think that will save time ? Some of you might be already doing it ? The problem right

Re: How do you manage your re-usable snippets or modules ?

2007-07-02 Thread Felix Geisendörfer
many hours can I save if I build a library of all my reusable code/modules which is very easily accessible while working on a project... ? Dont you think that will save time ? Some of you might be already doing it ? The problem right now I'm facing is, I dont keep track of every reusable

Re: How do you manage your re-usable snippets or modules ?

2007-07-02 Thread [EMAIL PROTECTED]
keep an organised file tree. Simon On Jul 2, 4:42 pm, Max [EMAIL PROTECTED] wrote: Hey guys !! I've been thinking from a last few days, that how many hours can I save if I build a library of all my reusable code/modules which is very easily accessible while working on a project... ? Dont you

Re: How would I make a site with modules?

2006-05-07 Thread Mika
Well you might want to look up layouts and elements in the manual. http://manual.cakephp.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

How would I make a site with modules?

2006-05-06 Thread [EMAIL PROTECTED]
I am very new to MVC and CakePHP and was wondering what the best way is to create a site with modules. I am talking about modules like zymic.com's a poll, affiliates, whatever. How do I include them on every page while still including new content in the content box? Is it better to use seperate