> That's a GREAT tip. I missed that in the docs. > > Wondering something about the Mako templating though... > - are templates served from memory or processed through the data/ > templates dir on every request ?
A good tip indeed - although I can't quite figure out where to set TemplateLookup's filesystem_checks variable? Can I set that somewhere in config.init_app in environment.py or is there a configuration file option I can set? To pipe in on the performance/productivity note - I have a number of sizeable applications I have developed for customers using pylons and roughly the same amount of php apps. I dream all day long of migrating everything to pylons. I mean it. Maintaining the php apps is incredibly painful in comparison to pylons code. I have far more experience developing php/mysql than python, which I started learning 8 months ago. I cannot get over how much more I can get done, and when needed, how easy it is for me to find bottlenecks in my code which I can optimize as required. In general, I write everything using the orm functionality of sqlalchemy, and only revert to the sql-style syntax for places where it is really needed. As a sites popularity goes up, I also know I have a lot of headroom for optimizing if it is justified, or being able to scale across processors. Pre-emptively optimizing is a bad idea - and to me, writing everything in php is premptive optimisation. The only reason I am not (yet) migrating all of my php to python is partly because of clients requirements, but partly because I cannot justify the cost/time of rewriting apps, even though it is quite possible that it would pay off in the long run. I may still do it one day when less busy, possibly for free or for very cheap, simply because it will make my life easier, and result in a more robust application which, in turn, will make my clients happier. Many of the php applications I maintain now have pylons applications running in the background which are slowly taking over. My 2cents, Damian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
