pedro-ramirez-suarez / ContosoUniversityRaw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

## Contoso University sample application built with RAW framework

Running the application.

The first time you run the application the database structure will be created, you need to create the database and modify the web.config file accordingly.

Original idea.

The original contoso university application is a sample app and tutorial from Microsoft, the tutorial is located here

Approach

The RAW framework was developed with the Database First approach in mind, we encourage a good and clean design of the database, we think that the code first approach is good for quick creation of prototypes but not well suited for existing applications, applications that require complex schemas and most important, code first approach wastes DB computational power and features.
Continuously testing is also part of the framework, any change performed and saved in the code automatically runs all the unit tests and automatically deploys the new version to IIS Express, if you need more control to debug the code you can run the website directly from visual studio.

Technology stack

The framework was built with C# and Ruby, the framework generates code for Asp.Net MVC 5 applications, it generates models, repositores, controllers and views, but most important is how the code is generated, to generate the code, the framework uses templates so it's easy to modify them and suit your needs.

These are the libraries used by the code generated by the RAW framework:

  • Needletail DataAccess
  • jQuery
  • Knockout JS
  • Require JS
  • Boostrap+ Bootstrap validator
  • NSpec+ Spec Watcher

Pre requisites

Before you can start coding and generating code with the framework, here is a list of prerequisites that you need.

The framework was built with C# and Ruby, the framework generates code for Asp.Net MVC 5 applications, it generates models, repositores, controllers and views, but most important is how the code is generated, to generate the code, the framework uses templates so it's easy to modify them and suit your needs.

Requirements

These are the libraries used by the code generated by the RAW framework:

  • IIS Express
  • Ruby 2+ 32bit, also compatible with Ruby 1.9.2
  • rawinit gem (install it if you don't have it like this gem install rawinit)
  • rawf gem (install it if you don't have it like this gem install rawf)
  • Nokogiri gem (install it if you don't have it like this gem install nokogiri); If you have problems installing nokigiri, it's very likely that you have a buggy gem version, update your gems and try again.
  • Warmup gem (install it if you don't have it like this gem install warmup)
  • Jasmine (install it if you don't have it like this gem install jasmine)
  • Growl (to continuously check the status of the unit tests)

Notes

If you're sharing your project with the world please considere to include the badge RAW Framework

About


Languages

Language:JavaScript 65.4%Language:C# 21.9%Language:Ruby 10.3%Language:HTML 2.2%Language:Batchfile 0.1%Language:CSS 0.0%Language:ASP 0.0%