Giter Site home page Giter Site logo

template-engine's Introduction

== Welcome to TemplateEngine

I want you to take this existing, functional app and create a new template engine to use instead of ERB. Currently you can migrate the DB, enter some basic data for Hamburgers (the only model), and see the pages generated by ERB.

I don't want to use ERB anymore. In fact, I want you to build my very own template system.

I have created the model, controller, and template files. The new style of templates are named *.html.tpl. They are very similar to the existing ERB templates.

I want you to render all the pages using those template files and your new template engine.

I also want you to link the names of the Hamburgers from the index template to navigate to the show page for that Hamburger.

The method you use is up to you, but I expect logical and clean code that is backed by RSpec tests. Ideally, you will use TDD.

Let me know if you have any questions.

There is a simple solution to this problem and it should take no more than a couple hours to complete.

template-engine's People

Contributors

rbgraham avatar

Watchers

Hoat Le avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.