发新话题
打印

[Rails插件] ActiveScaffold.com.cn上线

本主题由 admin 于 2008-3-16 16:10 移动

ActiveScaffold.com.cn上线

http://activescaffold.com.cn/
http://code.google.com/p/activescaffold-ext/

http://www.activescaffold.com/


http://dry.4thebusiness.com/companies是个很好的例子,customize, print_html, print_pdf, export_tool等等都是activescaffold的第三方扩展,还没用过,在中文网站上也没有介绍。感兴趣的话可以研究一下:http://wiki.activescaffold.com/wiki/published/ThirdPartyPlugins


邮件发送需要做一些扩展开发,在我们的项目中已经证明可行。但是商业代码不便公开,有时间的话会把它也做成第三方扩展。

activescaffold扩展了rails的scaffold,使得对模型管理的开发更DRY。但它也不是万能的,像工作流怎么实现这样的问题显然超出了这个插件所能承担的范围,你应该去找建模方面的知识。



含带访问控制(页面级资源),资源与岗位绑定,页面待美化
http://code.google.com/p/dtonrails/wiki/summsary


http://code.google.com/p/activescaffoldlistfilters/

TOP

gem install fastercsv

activescaffold
activescaffoldexport

mongrel无法启动问题解决方法:

The problem is that the enviroment.rb requires:
require 'helpers/view_helpers'
require 'helpers/controller_helpers'

these cause rails to load the helpers from any folder in path instead of
active_scaffold folder. Resulting in csv export plugin's helper extensions
being loaded before activescaffold loads its own files.

Using the following code instead should fix the problem.

require "#{File.dirname __FILE__}/lib/helpers/view_helpers"
require "#{File.dirname __FILE__}/lib/helpers/controller_helpers"
复制内容到剪贴板
代码:
    #csv下载
    config.actions.add :export
    config.export.columns = [ :id, :name, :description]
    config.export.default_deselected_columns = [ :description]
    config.export.default_delimiter = ','
    config.export.default_skip_header = false
    config.export.force_quotes = true
    config.export.show_form = true  
http://www.restatesman.com/static/calendar/
calendar_date_select 皮肤

environment.rb:
CalendarDateSelect.format = :hyphen_ampm

application.html.erb:
        <%= calendar_date_select_includes %>

        <script type="text/javascript">
            _translations = {
                "OK": "OK",
                "Now": "現在",
                "Today": "今日"
            }
            
            Date.weekdays = $w("日 月 火 水 木 金 土");
            
            Date.months = $w("1 2 3 4 5 6 7 8 9 10 11 12");
            
        </script>


http://dry.4thebusiness.com/?section=1
ruby script/plugin install http://dhtml-calendar.googlecode.com/svn/trunk


svn checkout http://activescaffoldtools.googlecode.com/svn/trunk/ activescaffoldtools-read-only


RecordSelect
http://www.railslodge.com/plugins/832-record-select

http://code.google.com/p/recordselect/wiki/Install

TOP

http://www.assembla.com/wiki/show/activescaffold_japanese_l10n


ActiveScaffold Japanese L10N は、Ruby on Rails のプラグインである ActiveScaffold を自動的に日本語化する Ruby on Rails プラグインです。Urekat 氏の日本語化方法を基にしています。

日本語または英語での参加を推奨します。
活動は基本的に Subversion と Assembla のプロジェクトページ(ここ)で行います。
Trac もありますが、現在は利用しません。Assembla で Subversion を利用する際におまけで付いてきただけです。

インストール方法:

script/plugin install http://svn2.assembla.com/svn/activescaffold_japanese_l10n




mssqlserver solution:

http://groups.google.com/group/activescaffold/files

http://d.hatena.ne.jp/Setekh/20061012

TOP

发新话题