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

racket-mvc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

racket-mvc

  • 0.6.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Racket - The noisy Rack MVC framework

Build Status    Code Climate    codecov.io    Gem Version

Say what?

Yes. It is yet another framework built on rack. Using MVC. Doing silly stuff while you look the other way.

Why? I though there were a gazillion frameworks that did the same thing already...

You are correct. There are lots of Rack frameworks out there. This one does not pretend to do anything special that you could not get from any of them.

So, I have to ask again. Why did you create this monstrosity?

Well, when my web host suddenly started insisting on using Phusion Passenger on all of their servers I needed to replace my old Ramaze setup without to much hassle. I tried several other Rack framework, but none of them seemed capable of replacing my apps without some major rewrites.

So you just though writing a whole new framework would be easier than using Rails?

Yes. Writing Rack frameworks is easy! And since I am able to decide exactly what features I want I don't need to adopt to a large ecosystem of concepts I do not like.

So, is it any good?

Let us just say it is good enough for my needs at the moment. I plan to add more features/make stuff faster whenever I am finished porting most of my old apps from Ramaze.

Where are the tests?

Have a look in the spec directory. The code base have tests covering (almost) 100 per cent of the code and I am planning on keeping it that way. At the moment the code is tested on the following platforms (using Travis CI):

  • 2.0.0
  • 2.1.10
  • 2.2.6
  • 2.3.3
  • 2.4.0
  • jruby-9.0.5.0
  • jruby-9.1.6.0

I am using bacon and rack-test for testing. Run the tests by typing rake testin the root directory. Code coverage reports are provided by simplecov. After the tests have run the an HTML report can be found in the coverage directory.

If you are not interested in running the tests yourself you could have a look at the test status at Travis CI and the code coverage at Codecov. Their stats get updated on every commit.

Alright, I want to try using this stuff. Where are the docs?

At the moment there is not much documentation available, but I have started working on the wiki.

The code itself is documented using Yard. The docs are not generated automatically, you need to run rake doc in the root directory to generate them. After running the rake task the documentation will be available in the doc directory. Online documentation is also available from rubydoc.info, both for the latest gem and master.

Why is the code licenced under the GNU Affero General Public License? I want a more liberal licence!

Because I think it is a Good Thing™ to share code. The GNU Affero General Public License licence is very liberal unless you plan on beeing egotistical. I you feel you cannot work with that, please choose something else.

FAQs

Package last updated on 30 Dec 2016

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