On Wed, May 20, 2009 at 9:16 AM, Krishnakant <[email protected]> wrote:
>
> Hello all,
> I am new to tg and right now thinking of using tg2 on a very high volume
> mission critical financial software which is supposed to work as an
> accounting and inventory system.  At the same time banks or other
> organisations will also be using it for things like micro finance etc.
>
> So my first and formost question is should I go for tg2 for such a
> sensitive application?

why not? the framework is robust. And you should work on the added security.

> As it is the core logic is in an xmlrpc server and the client app in tg
> is supposed to make calls to this app through the control layer and the
> templates should render the data.
>
that's totally doable. Although json is better ;)

> Having said that, I have herd from many places that mako is *faster*
> then genshi.

yes, the lack of check for XML wellness is the improvement.

> So I owuld like to know some tips on integrating mako.  I
> hav read the documentation and know how to enable mako in tg2, but since
> the basic wiki tutorial is using genshi, I wanted a similar example for
> mako.

I'm afraid that is not avaliable at least not in the default docs.

>  Can any one give some hints as to how do I write the same wiki
> example with mako?  Specifically, I want to know the things I must
> change in the xhtml based views to use genshi instead of mako.
>

Well you should really learn both engines And you can simply translate
from one idioms to the other by looking at their respective
documentation. In practice they are very similar ones you know both.
http://genshi.edgewall.org/ http://www.makotemplates.org/docs/

I guess the only think you need to think about different is that
genshi thinks in terms of tags for example <li py:if> while in mako
it's simply a huge stream of text.


> thanks
> Happy hacking.
> Krishnakant.
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to