#571 Web Framework

tcolar Tue 5 May 2009

Also i was wondering:

  • Is there a web framework for Fan (ala ruby rails or scala lift) ?
  • Is that gonna be a "core" feature ?
  • Is anybody working on one (separate) ?
  • Would you be interested to have one ?

Thanks

tactics Tue 5 May 2009

tcolar Tue 5 May 2009

agreed on rails. I love the convention over config. but not the actual implementation.

so it's builtin, cool will check it out some more.

any webapp example code avail ?

tcolar Tue 5 May 2009

how i see webapp is what to look at, thanks.

andy Tue 5 May 2009

Welcome to fandev tcolar. Currently we have two main components to our web framework, web and webapp. The web pod is designed to be a low-level clean interface to the underlying web server (Fan comes with a built-in HTTP server called Wisp). This is where you would build your own web framework off of if desired.

The other is webapp, which for the sake of discussion is meant to be "Fan-on-Rails". Its pretty simplistic at the moment, but I expect it to get flushed out a bit over the next year with our new work.

And lastly as tactics has pointed out is webappClient which is our Fan-To-JavaScript compiler and client-side browser APIs. I wrote some documentation on this under docLib, which will be available in the next build. This is pretty new stuff, so it is still evolving as I build it out.

brian Tue 5 May 2009

Also see examples/web for example code you can run using wisp (you don't need any extra installation beyond the basic Fan distro).

Login or Signup to reply.