Last week I've focused on making the library naming consistent and also thinking about how the api should be exposed and organized. I've also started working on a new blog entry with graphs about how everything is organized. Unfortunately I have not been able to spend enough time coding to get the new fastcgi plugin to work with configuration, but I've pushed all changes to the core and plugin api that this work has resulted in.
# Handler functions The api I've worked on is only the functions required to get information about requests and serve responses to those requests. I've decided to call this part of the api `handler` functions, while all other functions are exposed are `utility` functions. During the week I've renamed `handler` functions used for getting information about requests to `mk_request_*()` while functions used for producing response to requests are renamed `mk_response_*()`. This should make the organization of things clearer, but I'm still thinking about if the renaming is necessary. This may change in the future. A lot of my previous blog entries are no longer consistent with the code as of this change. I will try to either link to a specific git commit or modify the blog entries. # Ways to deliver content Monkey master has three different ways of delivering content, internally on some static files, by plugin api if plugin choose to handle path and also by the lib interface. During my gsoc I've moved the static file handling into a plugin, and I'm now thinking about if it's possible to use one api for content delivery across monkey. There would be some benefits to doing this, such as code reuse and maintainability. I have looked into this and it seems very possible and actually necessary if multiple protocols should be supported by the monkey lib. # Fastcgi howto I've written a entry on how to setup monkey with the fastcgi plugin shipped with the latest release. [How-to Monkey FastCGI](https://lotrax.org/howto-monkey-fastcgi.html) [Blog](https://lotrax.org/gsoc/gsoc-2013-status-future-protocols-week-8.html) [Code](https://github.com/ksonny/monkey/tree/plugin_next) -- Sonny Karlsson
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
