<div dir="ltr">Django and Flask are both good, but for what you are doing (porting) I'd go with Flask as it makes less assumptions about how to layout your system.<div><br></div><div>Deployment wise, my recommendation would be to use nginx as the webserver talking to uwsgi as the python wsgi service container.</div><div><br></div><div>There's plenty of tutorials and documentation online.</div><div><br></div><div>Crispin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 22, 2016 at 1:37 PM, nitin chandra <span dir="ltr"><<a href="mailto:nitinchandra1@gmail.com" target="_blank">nitinchandra1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Kevin,<div><br></div><div>I am not much of the frame work type .... and haven't used any till now .... as a suggestion 'Flask' framework is supposed to be light to work with.</div><div><br></div><div>Apart from CGI the other thing which works with Python is wsgi. Mod_wsgi on Apache, is well supported by some of the known frame work existing. As far as mod_wsgi is concerned, the author, Graham Dumpleton, in all his patience provides great support apart from people on mod_wsgi mailing list.</div><div><br></div><div>I just finished a small project scripting python/cgi with sqlite. As it was a small project, I did not use any frameworks.</div><div><br></div><div>Keeping in mind that it is a hobby project, maybe jQuery can be integrated to work with hexagonal's and extended further as desired.</div><div><br></div><div>My 2 cents on the topic.</div><div><br></div><div>Thank you</div><div><br></div><div>Nitin Chandra<br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 22 August 2016 at 08:36, Kevin O'Gorman <span dir="ltr"><<a href="mailto:kogorman@gmail.com" target="_blank">kogorman@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>I have a web site I wrote in the '90s as a hobby project, before I ever heard the word "framework" in reference to the web, before I heard of SQLite, and while learning Python. It needs work. It shows the outcomes of some known games of Hex. See it at <a href="http://hex.kosmanor.com/hex-bin/board" target="_blank">http://hex.kosmanor.com/hex-bi<wbr>n/board</a>.<br><br></div>The Python code is run as CGI scripting, which I gather is old technology, and is certainly slow. I'd like to do better. It would make sense to stay with Python, but it's not essential. The database is my own C code wrapper around gdbm, as a Python module. It has to be rebuilt from scratch on any update, and that's gotten expensive in time (about a week.) SQLite should should make the coding fairly easy.<br><br></div>Can somebody point me at free tools (it's still a hobby) that could do a better job on running the page itself? It's currently hosted on Xubuntu and apache, and I'll certainly stick with Xubuntu.<span><font color="#888888"><br clear="all"><div><div><div><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>Kevin O'Gorman<br></div>#define QUESTION ((bb) || (!bb)) /* Shakespeare */<br><br><div><span style="line-height:normal;font-variant:normal;font-size:10pt;font-style:normal;font-weight:normal"><span style="line-height:normal;font-variant:normal;font-size:10pt;font-style:normal;font-weight:normal"></span></span><table width="448" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td width="25"><img src="cid:XVHDKDFDBURW.IMAGE_60.gif" height="21" width="25"></td>
<td width="423"><span style="FONT-FAMILY:Verdana,Geneva,sans-serif;COLOR:rgb(0,153,0);MARGIN-LEFT:5px;FONT-SIZE:10px">Please consider the environment before printing this email.</span></td></tr></tbody></table><br></div></div></div>
</div></div></div></font></span></div>
<br></div></div><span class="HOEnZb"><font color="#888888">--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/ubuntu-users</a><br>
<br></font></span></blockquote></div><br></div>
<br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br></div>