Facebook app Layout recommendations?


I am about to start work on a new facebook app that will integrate with
an existing site.

Has anyone got any recommendations / experience with doing this and
suggestions on the best way to lay the code out.

i.e. Do I either:
- Create alternative views that end in .fbml.erb and use the respond_to
block to render these
- Create a spate namespace and put fresh code in this directory (e.g.
Any other suggestions?


I have no experience on this matter but I would go with the respond_to
approach. I mean, why duplicate code unless you absolutely have to.