GithubHelp home page GithubHelp logo

specs-1's Introduction

Rails Engine Group

这是一个专门编写 Rails 应用常见功能的小组,致力于为快速开发实现各种类型的 Rails Engine Gem,以便我们在做外包,起创业项目的时候,能基于已有的方案快速实现原型,同时又能有良好的可扩展性、可定制性,以便使用者在后期有更多需求的时候,还能基于目前的方案自定义来实现。

About Rails Engine

Engines can be considered miniature applications that provide functionality to their host applications. A Rails application is actually just a "supercharged" engine, with the Rails::Application class inheriting a lot of its behavior from Rails::Engine.

http://guides.rubyonrails.org/engines.html

什么应该做? / 不应该做什么?

  • 设计好数据库接口;
  • 可配置的选项,以便适应更多的项目;
  • Generator 生成默认配置信息,可选性的生成 Controller, Views, Helpers, Models 甚至 Assets
  • 完整实现的功能,不一定要非常复杂,但得是完善的;
  • 应该包含基本的 CSS 样式,以及自己的前端 JS 实现(如果确实需要的话);
  • 支持 ActiveRecord,不要用 PostgreSQL 的特性,以便 MySQL 用户都能用;
  • 标准的 Rails Way 实现;
  • 在 View 或 CSS 里面用 Bootstrap 作为默认的前端组件, 用 jQuery,不要包含复杂的前端 Framework,比如所见即所得编辑器,这个留给用户自己实现;
  • 同上,Views 不一定要非常复杂,这些事情应该留给用户自己实现,因为往往每个项目都有不同的需求;

可实现方向

欢迎参与

如果你有兴趣,可以参考 notifications, homeland 的实现方式,选择一个实用的方向做一个新的库。

当然,在你的项目里面使用 rails-engine 里面的库,并给我们反馈或提交改进、Bug 修复也是参与!

specs-1's People

Contributors

huacnlee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.