Agus,
There are couple of dependencies to keep in mind while choosing where to
use this function. For example:
1. Your software is designed for multi database tenancy (Oracle, SQL
Server, MySQL and etc) or single.
2. Your algorithm is using some or a lot of data to produce output final
result
3. Algorithm required to use OS related functions /functionality.
There are many more design points to consider but these are major.
Most likely the reason you want to use function in DO because your
algorithm is data related (item 2 above). In most of my cases of the
same nature I ended up creating database function rather than server
script due to performance gains. And then call that function from DB
view or dataobject. But my case is based on single database tenancy. If
there is a requirement of using OS related functions withing your
algorithm then most likely you have to put your function in php unless
you're using SQL Server.
Thanks,
Andrew
> --
> You received this message because you are subscribed to the Google
> Groups "Openbiz Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
openbiz-cubi...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.