Try avoid creating 500 custom forms. Try instead implement the equations using some symbolic language so that forms can be automatically generated. Look into sympy for example. You could automatically generate an input field for each variable in the equation.
On Friday, 8 August 2014 17:36:25 UTC-5, Moustafa Mahmoud wrote: > > Hello all, > I am implementing a large project for a group of engineers , they are > aiming at producing an online engineering calculator for all engineering > fields, Civil Engineering , General Mathmatics , etc. I am looking for tips > about how I could handle something like that in web2py, more precisely: > > 1- I will have like more than 500 different equation that each require a > custom form , where is the best place to put views / controllers, I guess > putting them all in one controller can be problematic ? > > 2- What is the best way to architect a system like that ? > > 3- Any General Tips ? > > here is a similar site to that I will be trying to implement > > http://easycalculation.com/engineering/civil/civil.php > > Thanks alot in advance :) > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.