Skip to content

elena-vi/Gin-n-Juice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍹 Gin-n-Juice

A web framework

What is it?

🍸 Gin

The router and controller, routes are declared like this:

route('/path', 'template name', function() {
  this.yourVar = "Declared variables can be interpolated into templates!";
});

🍊 Juice

The templater, takes your template and interpolates js using the dank syntax: #{yo= yourVar }

😷 Testing

Unit testing done using jasmine, the tests can be found in test/spec

Run the test in the browser by opening test/SpecRunner.html

😓 Still left to do!

  • Find a more effienct way of pulling in templates.
  • Possibly investigate async way of pulling in template (controlled with Promise if need to defer execution)
  • Add to juice:
  • var pasteurizer = new JuicePasteurizer();
    var peeler = new JuicePeeler();
    var sanitizedTemplate = pasteurizer.clean(peeler.find(templateName));
    

👥 Collaborators

Elena 😻 Vilimaitė

Andy "DevOps" Bell

Matt "why can't we use React" Butler

Daniel "Kanye" Chambers

About

Webframe work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published