Socket
Socket
Sign inDemoInstall

grimm

Package Overview
Dependencies
90
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    grimm

HMVC Framework


Version published
Maintainers
1
Install size
12.9 MB
Created

Readme

Source

Grimm Framework

This is a Node.js HMVC framework. Right now it's just a placeholder. The framework is mostly complete, and should be uploaded in a week or two.

The H part means that there are many different MVC folders within the application. Each one contains its own controller, models, views, and even public directories.

Filesystem

Here is an example of the filesystem structure for a Grimm based application. Each sub MVC is located in the Controllers folder. The index.js file is the controller code for that sub MVC. As you can probably guess by the filename, it is loaded as a typical Node Module.

/Users/thunter/app/
|~config/
| |-dev.json
| |-prod.json
|~controllers/
| |~_errors/
| | |~views/
| | | |-404.html
| | | `-500.html
| | `-index.js
| |~prototypes/
| | |~public/
| | | |~images/
| | | |~scripts/
| | | | `-main.js*
| | | `~styles/
| | |   `-main.css*
| | |~views/
| | | `-index.html*
| | `-index.js
| `+root/
|~data/
| |-global.json
|+models/
|~node_modules/
| |+async/
| |+express/
| |+grimm/
| |+hbs/
| `+socket.io/
|~public/
| |+images/
| |+scripts/
| |+styles/
| |-favicon.ico
| `-robots.txt
|~views/
| |~layouts/
| | `-main.html
| `-index.html
`-server.js*

FAQs

Last updated on 20 Dec 2012

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc