Currently the only public place to discuss Akshell is this mailing
list, so I agree that a wiki would be useful. It would be terrific if
you could put something together.
If you don't want to start from scratch, there is a version of a basic
wiki for Akshell 0.2 (previous version) that I wrote the source to
which you can find here:
http://old.akshell.com/apps/wikis/code/
It depends on the following two libraries which you may need to port to 0.3:
http://old.akshell.com/apps/markdown/code/ - no dependencies, should
be easy to move across
http://old.akshell.com/apps/store/code/ - used to provide a simple
storage mechanism, depends on Proxy, the location of which has changed
but the functionality is much the same, it's also available at
https://github.com/akshell/kv
Also, glad to see you managed to resolve the issue you were having
with static files. If you want to look at its internals, the MVC
framework is open source and you can find it here:
https://github.com/akshell/ak/blob/master/rest.js
The MVC framework runs on top of the standard CommonJS JSGI interface,
so the most basic Akshell app is actually:
require('ak'); // this won't be needed in the near future
exports.app = function(env) {
return {
status: 200,
headers: {},
body: ["Hello World!"]
};
}
Oleg
> --
> You received this message because you are subscribed to the Google Groups "akshell" group.
> To post to this group, send email to aks...@googlegroups.com.
> To unsubscribe from this group, send email to akshell+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/akshell?hl=en.
>
>
One note: The eval tool... at the moment its a little limited, it
would probably be much more powerful if it has a bit more "shell" like
capability with extensible builtin functions or commands. Looking at
Firebug for inspiration, it would be great to have console output from
running apps, perhaps creating a seperate "console" from "eval"? Right
now the output from eval is also pretty limited, mostly returning
[Object object] when evaluating the value of pretty much anything. Any
suggestions here, am I missing something?
Also, since the file system is read only, I have been putting together
an interesting method of allowing uploads of arbitrary files like
images, by creating another module library that stores the file data
in the DB in Binary format (with size/quota limitations of course).
Looking through the docs, I really don't see any limitations in
AkShell that would prevent some lower level handling of HTTP, in fact,
it looks like you guys designed it with that flexibility. Good stuff!
--
You received this message because you are subscribed to the Google Groups "akshell" group.
To post to this group, send email to aks...@googlegroups.com.
To unsubscribe from this group, send email to akshell+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akshell?hl=en.