Anyone tried to convert an existing static site (say, built with Front
Page) to the Rails framework?
If so, any hints?
Thanks.
Anyone tried to convert an existing static site (say, built with Front
Page) to the Rails framework?
If so, any hints?
Thanks.
If it’s really something spit out of frontpage or some other end user
design
tool, I would pretty much start from scratch; but that’s just me.
If you really want a quick and dirty convert job …
Grab the stylesheet and images and stick them in their respective
public/
folders, save a ‘view source’ of the main page and copy that to
layouts/application.rhtml.
Edit to clean up image and stylesheet references to new pathing, add
your
dynamic layout tag to the application.rhtml.
You’ve now cloned the look of the old site … start on your models and
controllers.
Really though, just rewrite it
Thanks for the suggestion, Hank.
-Tom
Tom Browder
Niceville, Florida
USA
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs