http://elixir.ematia.de/trac/wiki/Recipes/Topology
Finally, I have finished it. :P I would be happy if somebody add some algorithm to it, fix bugs, boost performance, or make some other powerful patterns. It would be wonderful if we have a Boost for database. I have another pattern is going to release, Formula. A pattern that can store formulas in database, and calculate numbers comes from database or somewhere else. You can inherit them to calculate whatever data you like! For example: a = ImmediateValue(value=10.0) b = ReoprtOperand(FinanceReport, 'incoming') op = Operation(operation=u'*') c = FormulaOperand(ROE) op2 = Operation(operation=u'+') formula = Formula() formula.append(a) formula.append(b) formula.append(op) formula.append(c) formula.append(op2) and then you can calculate it like this : formula.calculate(2008, 1, 'Google') Wow! Everything is there! In database, formula can be changed and calculate easily, and what's more, you can combine this with my Topology pattern, you can trace what formulas have to update. You can even build a formula GUI, (that's what I want to do, next) for manage formulas. That would be nice to change things so easily :P --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" 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/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
