Doing more for the fact I have say 10 app which share some base tags,
models etc.

Rather then having the app specific models / tags in the "common"
folder, I wanted to keep them in their own apps folder structure.
Making it "tider" in this way means having some sub-directories under
the model folder, which is a little messer in terms of the folder
structure in my opinion.

That's all so I guess I can either have a common model folder with all
models in it, or multplie model locations with a folder structure
under the main model folder..

?




On Thu, Nov 19, 2009 at 11:48 AM, Dan Wilson <[email protected]> wrote:
> If your model directory was common across both applications, and you were
> using a mapping, then you'd have a single model directory. You'd have 2
> different application directories however, which contained the specific
> stuff for each specific application.
>
>
> Though, it depends on what you are doing, because there are some cases where
> what is different is the view layer. I mean you have different views (skins)
> for different customers, but all working out of the same basic application.
> In this case you could use the dynamic view mapping in Model Glue to choose
> the views to serve based on request information.
>
> If you are doing this for theming or something like that, let me know
> because there might be an easier way for you to make it happen.
>
>
>
>
> DW
>
> On Wed, Nov 18, 2009 at 7:14 PM, Brett Herford-Fell <[email protected]>
> wrote:
>>
>> Would that mean though I would need seperate folders for app-only
>> models and the common models as I would need to have 2 locations for
>> my models?
>>
>> On Wed, Nov 18, 2009 at 10:38 PM, Nando <[email protected]> wrote:
>> > Mapping?
>> >
>> > On Wed, Nov 18, 2009 at 11:22 AM, Brettski <[email protected]> wrote:
>> >>
>> >> Hi,
>> >>
>> >> I have a bunch of common models I share across model-glue apps. E.g
>> >>
>> >> - User
>> >> - Customer
>> >>
>> >> How is this best achieved? Should I just have one model folder and
>> >> symbolic link it across all apps or is there a better way?
>> >>
>> >> Any help much appreciated, and again thanks for the great framework :)
>> >>
>> >> b
>> >>
>> >> --
>> >> Model-Glue Sites:
>> >> Home Page: http://www.model-glue.com
>> >> Documentation: http://docs.model-glue.com
>> >> Bug Tracker: http://bugs.model-glue.com
>> >> Blog: http://www.model-glue.com/blog
>> >>
>> >> You received this message because you are subscribed to the Google
>> >> Groups "model-glue" group.
>> >> To post to this group, send email to [email protected]
>> >> To unsubscribe from this group, send email to
>> >> [email protected]
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/model-glue?hl=en
>> >
>> >
>> > --
>> > Nando M. Breiter
>> > The CarbonZero Project
>> > CP 234
>> > 6934 Bioggio
>> > Switzerland
>> > +41 91 600 0335
>> > [email protected]
>> > www,carbonzero.ch
>> >
>> > --
>> > Model-Glue Sites:
>> > Home Page: http://www.model-glue.com
>> > Documentation: http://docs.model-glue.com
>> > Bug Tracker: http://bugs.model-glue.com
>> > Blog: http://www.model-glue.com/blog
>> >
>> > You received this message because you are subscribed to the Google
>> > Groups "model-glue" group.
>> > To post to this group, send email to [email protected]
>> > To unsubscribe from this group, send email to
>> > [email protected]
>> > For more options, visit this group at
>> > http://groups.google.com/group/model-glue?hl=en
>>
>> --
>> Model-Glue Sites:
>> Home Page: http://www.model-glue.com
>> Documentation: http://docs.model-glue.com
>> Bug Tracker: http://bugs.model-glue.com
>> Blog: http://www.model-glue.com/blog
>>
>> You received this message because you are subscribed to the Google
>> Groups "model-glue" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/model-glue?hl=en
>
>
> --
> “Come to the edge, he said. They said: We are afraid. Come to the edge, he
> said. They came. He pushed them and they flew.”
>
> Guillaume Apollinaire quotes
>
> --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/model-glue?hl=en

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to