Big refactoring is pending
FOW is officially suspended until I do some refactoring to code and make the repo more structured than it is now.
Posted in Uncategorized • No Comments »
FOW is officially suspended until I do some refactoring to code and make the repo more structured than it is now.
Posted in Uncategorized • No Comments »
Primary FOW repo has switched to git. You can see it via web here and clone from this url:
git://git.hackndev.com/farcaller/fow.git
Mercurial repo is kept in sync.
Posted in Uncategorized • No Comments »
I’ve did a port of SQLitePersistentObjects to Cocotron, and now it’s part of libFOW (enabled via BUILD_SQLITEPO option).
Cocotron’s Obj-C runtime doesn’t support properties introspection, so for each descendant of SQLitePersistentObject you must define following selector:
+ (NSArray *)getPropertiesList;
It must return an array of all properties in form of NSArrays with two items: property name and encoded [...]
Posted in Uncategorized • No Comments »
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 [...]
Posted in Uncategorized • 4 Comments »
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 [...]
Posted in Uncategorized • No Comments »
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 [...]
Posted in Uncategorized • No Comments »
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. [...]
Posted in Uncategorized • No Comments »
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 [...]
Posted in Uncategorized • No Comments »
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 [...]
Posted in Uncategorized • No Comments »
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 [...]
Posted in Uncategorized • No Comments »