Need advice upgrading from Python CGI programming, I have an existing site, hand-coded python for CGI. I understand ther |
Need advice upgrading from Python CGI programming, I have an existing site, hand-coded python for CGI. I understand ther |
4dummies |
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. |
Christian J |
Aug 22 2016, 06:03 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
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? 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. |
Lo-Fi Version | Time is now: 24th April 2024 - 10:53 AM |