Archive for July, 2008

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 [...]

Examining RoR

By farcaller July 6th, 2008

I’ve started coding Ruby on Rails today. This would be my first programming experience in RoR (and in Ruby at all). I have several webapps that I’ve been planning to code in Django, but I’ll give RoR a try to see other way of developing web applications (that might be implemented later in FOW).
Currently what [...]

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 [...]

Regular expressions: part 2

By farcaller July 2nd, 2008

“ObjPCRE is a well documented PCRE wrapper written in 100% Objective-C/C. It can be easily implemented into any Cocoa application. (MIT License)” (from cocoadev).
The code is just two files: objpcre.h and objpcre.m. They are easily compiled “in-tree”, and don’t look like some big ugly crap that I have to carry around. “-lpcre” is ok for [...]

In-tree libraries vs. hard-to-compile dependencies

By farcaller July 1st, 2008

I’ve tried to make an in-tree copy of RegexKit. It mostly compiles well failing on:
Linking CXX shared library libFOW.dylib
Undefined symbols:
“.objc_class_name_NSShadow”, referenced from:
literal-pointer@__OBJC@__cls_refs@NSShadow in RKRegex.m.o
“_NSShadowAttributeName”, referenced from:
_NSShadowAttributeName$non_lazy_ptr in RKRegex.m.o
“_NSUnderlineColorAttributeName”, referenced from:
_NSUnderlineColorAttributeName$non_lazy_ptr in [...]