Archive for the ‘Conceptual’ Category

Extended templating

By farcaller July 14th, 2008

Looks like CTemplate really does not fit FOW. I’m not going to drop it completely (as I’ve already have basic support for it), but I’m going to make more flexible template system available.
Currently I have an idea of building “pre-compiled” tree of plist-like structure. That seems to be pretty fast and there’s a great possibility [...]

Flexible templates

By farcaller July 7th, 2008

Continuing working with RoR. What looks very different from Django is high utilisation of html-generating methods. While this makes life of programmer simpler, it makes overall execution slower.
Some of such magic might go into FOW (pre-compiling templates and binding to SEL’s for faster execution). Anyways I find CTemplate somewhat restricted now. It’s not possible to [...]

Trac is up and running

By farcaller July 2nd, 2008

It has been a major PITA but I’ve managed to run Trac alongside with PHP/WordPress. Also I’ve done some basic (and pretty ugly) drawing of FOW logo and decided of “official” name. So, welcome the [F o:W] project Project trac is available at http://fow.farcaller.net/trac. Project mercurial repository would be available till the end of [...]

How it will be going

By farcaller June 24th, 2008

I’ve updated the About page, now it contains info about “How the FOW idea was born” and core design principles.
FOW will be based on Cocotron. I will try to make less use of non-ported Cocoa API where possible and port some of the code I use where Cocoa has similar API (methods like NSString’s stringByReplacingPercentEscapesUsingEncoding).
FOW [...]

Python, GIL and why it doesn’t scale well

By farcaller June 4th, 2008

You might already know about my other hobby project: L0st. It’s a file storage service (data is hosted locally) written in Django. Everything worked mostly well until I wanted to write some Jabber notification service. It was quite logical to use some XMPP library for python, logical until I remembered about GIL (aka Global Interpreter [...]

Request-response chain

By farcaller May 28th, 2008

How is the request processed? The server is capable of spawning several “worker threads” that are waiting for incoming requests. As soon as FastCGI pipe drops one more request it’s being fed into first free thread or moved to the queue. Thread itself is a black box having Request* on input and Response* on output. [...]

Tags vs. Categories

By farcaller May 27th, 2008

One more thing I’ve been thinking about are Tags and Categories. What is the real difference between these two concepts? Let me explain my own point of view on this issue.
Category is tree-like structure. I do have category “Ideas” here. I could create two subcategories - “Look&Feel” and “Client handling”. Then I would post everything [...]