= ns_service_pack 实现REST架构(ROA)中Service层部分基础代码抽取 == 功能列表: * 支持自定义json格式的资源crud操作 * 提供全局字典常量/转换管理 * 提供数据库层-业务层字段自动转换 == TODO TASK LIST * 添加一个默认controller用于展现interface等信息 * 规划文档和内容调整 * 写完整测试 * index默认查询条件加入,传入条件的merge(目前已提供传入条件的精确搜索) #==NS Service Pack使用指南 *1 在rails3项目中使用,命令行执行: gem install ns_service_pack ns_service_pack install bundle install *2 为某资源生成有service支持的scaffold,命令行: rake g ns:scaffold *3 提示: 常量的使用:GlobalConst.ns_statuses[key_or_value] == Contributing to ns_service_pack * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it * Fork the project * Start a feature/bugfix branch * Commit and push until you are happy with your contribution * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally. * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it. == Copyright Copyright (c) 2011 caory. See LICENSE.txt for further details.