Help - Search - Members - Calendar
Full Version: Need advice upgrading from Python CGI programming
HTMLHelp Forums > Web Authoring > Web Site Functionality
4dummies
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.
Christian J
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/AJ...Getting_Started but the MDN site is usually reliable.

Can't help with SQLite, sorry.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.