Hm... maybe. I develop on windows machine. But qa/production are done on linux.
I did some searching at your prompting, I guess there is a utility called linkd which emulates symlinks on widows. I gotta find it and get it running. We'll see. The SVN thing.. hm.. gotta figure this out. Because the 2nd application would be in its own SVN plus there would be a file (or few files) in it in a different SVN location. Would that work out? If that can work out that would be great. Now that I think about it it might work. I'll give it a run. Just gotta make special allowances when doign a new checkout or export or doing a release. I guess that is just good practice though. On Apr 5, 4:19 pm, "John David Anderson (_psychic_)" <[EMAIL PROTECTED]> wrote: > On Apr 5, 2007, at 4:14 PM, rtconner wrote: > > > > > > > Is there a way to have two applications share a Model, and possibly > > some componants and helpers also? > > > I realize in general most applications will have different data sets > > and sharing Models will make no sense at all. However if you use the > > same model twice with two different database configs, now you are > > using similar data sets, just on different databases. Also it has > > crossed my mind that I could have an internal and external application > > both sharing the same data (Why not share models also?). I know I can > > just copy and paste files into the new directories. That gets to be a > > pain when you modify files and add code or fix bugs. Now you have to > > maintain two files, such a pain. > > > In short, if I have two applications both with User tables, I only > > want to write and maintain one User Model class. > > > Any ideas? Only thing I can think of is to put them into the cake/ > > libs/ > > models folder. I'm not even sure if that would work anyways. > > Didja try a symlink? > > You might also just check the Model into SVN and use it in both places. > > -- John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
