The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Need advice upgrading from Python CGI programming, I have an existing site, hand-coded python for CGI. I understand ther
4dummies
post Aug 21 2016, 05:31 PM
Post #1





Group: Members
Posts: 1
Joined: 21-August 16
Member No.: 24,668



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Aug 22 2016, 06:03 PM
Post #2


.
********

Group: WDG Moderators
Posts: 7,615
Joined: 10-August 06
Member No.: 7



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 22nd August 2017 - 05:36 PM