Hi!
After talking to Kevin in the thread about removing FastData from TG so that
it evolves independently -- and possibly faster -- I was wondering about what
is the best approach to create modules to a TG application.
Let me explain with a "simple" application as a company control system.
Imagine the following parts of an application:
- Financial
- Administrative
- HR
- Suppliers
- Clients
- ...
Now, each part has its details and intrincacies and they can be developed
independently and tied together in the end.
If I wish to apply some XP to this, I'd model and code each of these parts and
then release, one by one, to my client. So, I started with the part where
there's more common code:
- Suppliers
- Clients
There I developed contracts, contacts, some basic CRM, contract validation and
expiration, contract renewal, etc. Then these modules were both deployed.
Now I want to develop the HR part to record employees data.
But since I can use this employee structure in other projects, I'd like to
make it as generic as possible and "plug it" into my applications. (In fact,
the application would start with all these basic modules and evolve to the
specific activity that the client performs, for several clients and different
activities, but I'd like to have this common base shared among all projects,
so this example is not 100% accurate but it shows the problem.)
What would be the best way to do that? Entry points? Plain modules? How
about using the specific layout -- master.kid and other templates -- for each
client or application that depends on this common part? What would be the
best approach for that in TG 0.9 and later reusable on FirstClass?
(If my question wasn't clear, please ask me to explain better :-))
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---