Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat should I worry about Python template engines and web frameworks?
    primarykey
    data
    text
    <p>I am a C# and ASP.NET MVC developer. I've completed some Python console applications but I am new to use Python for web applications. I read a lot about Python servers and template engines.</p> <p>But I worry about :</p> <ul> <li>Which template engines suit which Python server/ Python web framework ? or should suit?</li> <li>Can be there security issues in template engines? or can I pick anyone that I like syntax.</li> <li>Can any template engine, integrate data <em>(my models, orm models)</em> with controller and itself? Can this integration cause any security, memory issue ?</li> <li>Does it matter to use Python 2.x or 3.x for any template engine ?</li> </ul> <p>I know there are <code>jinja2</code>, <code>pytenjin</code> <em>(seems very fast)</em>, <a href="https://github.com/luscoma/pyRazor" rel="nofollow"><code>pyrazor</code></a>. I've tried all and I feel very comfortable with pyRazor because of my ASP.NET MVC background.</p> <p>and final questions after my worries :</p> <ul> <li>Which template engines should I use ?</li> <li>What is the best development environment <em>(python web framework, template engine)</em> to start development with Tornado ? </li> </ul> <p>I know I've asked so many question but I have to be careful before I dive in to development for real projects.</p> <p><strong>Edit regarding comments</strong> : Ok, I feel I need to be more specific about what I am looking for. As many developers need in python web programming (at least coming from other platforms) , I need to figure out which development options I have. ( IDE , template engines, web servers, etc. ) And how to combine them in a proper way to decrease development time and increase productivity without breaking security.</p> <p><strong>Update 1 :</strong> I think we, the developers from VS and ASP.NET world , get used to having all in a box ready for developments.When it comes to use another technology because of project needs , we (at least I) get paranoid.Because we need to put all in a harmony. It's obvious to use IIS , .NET and VS ( with all advanced features) for .NET projects. </p> <p>Well, After so many search and investigation , I've decided to use PyCharm as an IDE with Django.I wish someday PyCharm will support web2py as the way they support Django.</p> <p>Ok , what about the server ? I will let the nginx or cherokee work for me.</p> <p>Ok , what about template engine ? I will use default Django template engine.( I don't like as much as I like pyRazor) But this way will be more easy to find help or request more feature.On later stages , I can try again jinja2 (In PyCharm you can change the template engine to use in Django).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload