Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Web Site Functionality _ Need advice upgrading from Python CGI programming

Posted by: 4dummies Aug 21 2016, 05:31 PM

My site is a hobby project about the board game Hex, at http://hex.kosmanor.com/hex-bin/board, all hand-coded for CGI. This makes it slow, and I gather it's far from state-of-the-art these days. I'd like to add AJAX, and improve it in a way that still uses Python but does not have to start python up from scratch for each page. and also change from a hand-coded database to SQLite. I could use advice about what framework/toolset to use, and where to learn more.

I own Adobe Creative Suite 5 (including Dreamweaver), but I'm not married to using it, especially because it predates HTML5.

Posted by: Christian J Aug 22 2016, 06:03 PM

QUOTE(4dummies @ Aug 22 2016, 12:31 AM) *

This makes it slow, and I gather it's far from state-of-the-art these days.

Why, because it's hand-coded or uses CGI? unsure.gif If anything, most of today's sites are the slow ones due to bloated javascript libraries and templates.

QUOTE
I'd like to add AJAX, and improve it in a way that still uses Python but does not have to start python up from scratch for each page.

Ajax can indeed speed up content loading, since you don't need to reload an entire page. But with a lean web page on a decent web server the speed difference is minimal.

QUOTE
and also change from a hand-coded database to SQLite. I could use advice about what framework/toolset to use, and where to learn more.

Ajax is just javascript, a text editor is the best tool. I haven't read https://developer.mozilla.org/en-US/docs/AJAX/Getting_Started but the MDN site is usually reliable.

Can't help with SQLite, sorry.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)