Project Efendi Update
The blog engine is well underway, with login and session management fully and securely implemented, somewhat customized for the project. The styling and functionality of the node editor is also there, so the first few of the remaining steps will be plug-and-pray, for the most part.
Werkzeug offers a session management library (sessions are the mechanism used to stay logged in to a website for a period of time through the use of browser cookies), but it’s somewhat unattractive for my use case and feels a little heavy. I took the (as far as I know) unique approach of only allowing one cached session on the server side. For a single user scenario, this works great and avoids all the trash cleanup required when you manage multiple sessions at once. It’s also a bit more secure, simply because there is less data flying around.
Once CRUD (Create, Read, Update, Delete) is implemented for both nodes and comments, we have a workable blog engine that’s ready for real data and real use. This may be when antesonic.org actually moves over to the new teddy server, since the wiki is already moved. Most stuff I do is file-based, so porting will primarily be a file copy operation. Efendi uses SQLite, so it’s file-based as well.
I’m deciding to use “engine” instead of the more common “framework” because Efendi is not a framework; it is actually a tool. If you sell someone a bag of sand and some landscape timber you have sold them a playground framework. If you build them a sled you have built them a downhill travel engine.