Author Archive

FOW source code at hackndev.com

By farcaller November 5th, 2008

I’ve made FOW repository available for viewing and cloning. You can browse source in trac or use hgweb on Hack&Dev server to browse and clone repository.

FOW, running on real server

By farcaller November 3rd, 2008

Today I’ve thought that FOW is mature enough to be tested on my linux hardware, so I’ve got updated Cocotron and built FOW on linux.
I have to say lots of thanks to Johannes Fortmann, who has been answering all my stupid questions about GCC, Obj-C runtime and Cocotron.
Now, it is time to really publish some [...]

Bundle loader in FOWCore

By farcaller November 3rd, 2008

I’ve made a basic bundle loader in FOWCore, so now it’s absolutely usable.
What’s FOWCore? That’s an FOW-based application, that you can use if you don’t want to go low-level with FOW. You write handlers in bundles, and then FOWCore will dynamically load and register handling stuff.
Currently that works via config file. First you list all [...]

GET and POST. Session stuff

By farcaller November 1st, 2008

I’ve just implemented nearly all the GET/POST support code in FOWRequest. New implementaion is working better, faster and more secure. All the thread handlers are now wrapped with @try/@catch so server is not going to die on runtime exceptions anymore.
Now working on sessions implementation. Still considering between memcached and sqlite3, but seems that latter is [...]

Notes on ORM and templates

By farcaller October 20th, 2008

As usual, not much news here, but I’m still working on FOW ;) Here goes the summary of last updates:

Got HTTP server from Google Toolbox. It might be useful for testing the code;
ActiveRecord looked too complex for me. You can use anything you want for your ORM, but seems that there will be only some DB [...]

Servers are not the same

By farcaller September 8th, 2008

Today was the day when I finally stopped tweaking ugly builtin Apache config and installed lighttpd on my OSX. Bad news, I’ve coded rather big part of FOWRequest based on mod_rewrite-specific variables!
It took some time to re-implement old functionality, unit tests are still broken, but now I consider some of the advertised functionality as useless. [...]

[you write:server and:client codeIn:@"objective style"]

By farcaller September 6th, 2008

So Objective-J/Cappuccino is now available! You can browse through its tutorial here. I have to say that I’m very impressed, and looking forward to make a demo of both FOW and Cappuccino in action. But first I have to finish up my build instructions…

Building, playing

By farcaller August 30th, 2008

I’ve almost forgot what a pain is to build Cocotron’s Foundation on linux
Here are two HOWTO’s: one for gcc, and one for Cocotron. Seems that I’ll be rewriting cocotron’s build script in pure Makefile and get some diff’s to simplify installation.

It’s working!

By farcaller August 29th, 2008

I’ve got the first completely working code!
Screenshot shows FOW running a simple fastcgi server on OSX with Apache2.
What’s implemented:

lots of FOWRequest stuff
URL resolver
CTemplate wrapper in objective-c
FastCGI server controller

I’ll see if this thing can work in linux/cocotron in the morning.
If somebody is interested, here’s the controller code for the page above:

@implementation Handler
 
- (FOWResponse *)handle:(FOWRequest *)rq
{
FOWResponse *rs [...]

Status update

By farcaller August 22nd, 2008

There wasn’t much activity here for a pretty long time. I’ve been working on several iPhone projects, mastering Objective-C magic. That was a nice time and I have somewhat changed the way I look at Objective-C. Anyways that are good news for FOW.
I’ve got Cocotron building natively on linux without major problems. The only thing [...]