[Python-il] [pyweb-il:402] Re: [pyweb-il:393] Re: [pyweb-il:389] Re: a question re pluggable apps

Shai Berger shai at platonix.com
Tue Sep 1 19:48:57 IDT 2009


On Tuesday 01 September 2009 15:38:45 benny daon wrote:
> I take a different approach. While generic keys are the best solution they
> are not easy to work with. I like to start with using a foreign key to
> whichever model and if the app is successful and I want to make it
> pluggable, I'll refactor it to use generic keys.
> IMO, It's OK for your project-specific apps to depend on each other. I just
> try to keep the dependencies clear, so I don't get spaghetti code and
> coding can be distributed.
>

This is definitely sound advice; the question was specifically about pluggable 
apps, though, not project-specific ones. In essence, writing your app to 
expect the presence of some other specific app, and work on its models, makes 
your app a lot less pluggable.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "PyWeb-IL" group.
To post to this group, send email to pyweb-il at googlegroups.com
To unsubscribe from this group, send email to pyweb-il+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/pyweb-il?hl=en
-~----------~----~----~----~------~----~------~--~---



More information about the Python-il mailing list