Jump to content

Includes For Smaller File Size


Recommended Posts

The way I code, I like to make my code as tiny as possible, and to repeat myself as little as possible. Since my website has an identical head and footer for like 99% of every page I plan to make, what kind of solution do you think I should use? A long time ago I'd used php includes, but eventually I learned more about php and learned to immensely dislike it hahaha. Is there a similar way to do this with rails or another solution?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...