Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grimm

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grimm

HMVC Framework

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 20 Dec 2012

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc