SlideShare a Scribd company logo
1 of 35
Download to read offline
Ruby と
       業務システムと
       帳票開発、
       そして ThinReports



                                                          日高 克也


Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.
目次


  自己紹介

  Rubyによる帳票開発の現状

  ThinReports のご紹介




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.   2
自己紹介
自己紹介


  日高 克也
   Katsuya Hidaka

  2003年 株式会社 マツケイ入社


                                                          株式会社マツケイ
                                                             島根県松江市

                                                             主な業務
                                                              ○ データセンター事業

                                                              ○ システム開発、運用

                                                              ○ データエントリー




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.                     4
自己紹介


  主な経歴

            ○ PHP による業務システム開発に従事

            ○ 2007年度 IPA公募事業「高額合算システム」へ参加
              (松江市様向け)

            ○ 以来、Ruby による業務システム開発に従事

                      • ~現在までに、6つの業務システム開発に関わる
                               ※現在進行中のプロジェクトも含む




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.   5
Rubyによる帳票開発の現状
業務システムと帳票


  重要な機能の一つ

  特別な機能ではない(あって当然)

            ○ 複雑なレイアウト

            ○ 多種多用な用紙サイズ

            ○ 外字、バーコード、印影など

            ○ パフォーマンス




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.   7
ツールの条件


  専用エディタがある

  日本語に対応

  シンプルが良い




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.   8
Rubyにおける選択肢


  有償ツール

            ○ 多くはないが、あるにはある

            ○ 高額になる傾向あり




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.   9
Rubyにおける選択肢


  OSSツール

            ○ 実用的なものは非常に少ない

            ○ 日本語の壁か

            ○ シンプルではない(場合がある)

                      • 複数のツール、ライブラリの組み合わせや設定

                      • 環境に依存




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.   10
まとめ

                                                          決定的なツールが存在しない


                                                          開発者        エンドユーザ


                                           不安                   負担    コスト




                                            Rubyの業務システム適用を妨げる一因




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.                       11
ThinReports のご紹介
ThinReports とは?                                           Thin Reports

  読み「シンレポーツ」

  Webアプリにおける帳票ソリューション

  当社独自開発のソフトウェア

            ○ 2010 年 9 月中旬リリース予定

            ○ しまね産業振興財団様による 2009年度研究事業として着手




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             13
目指すこと                                                                  Thin Reports

                                                   帳票開発のあらゆる負担を


                                                          減らす
                                                          - thin -



                                                    Rubyの業務システム適用を促進




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.                          14
仕様                                                        Thin Reports

  専用レイアウトエディタ
         ThinReports Editor

  専用ライブラリ
         ThinReports Generator for Ruby




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             15
仕様                                                        Thin Reports

  ThinReports Editor

            ○ デスクトップアプリ

            ○ まずは、Windows 向け

                      • 順次 各OSへ対応




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             16
仕様                                                                                 Thin Reports

  ThinReports Editor                                                         Editor

                                                          Editor Core
            ○ 全て OSS で構成
                                                                       SVG 1.1
                                                                       HTML5
                                                                       CSS3
                                                                       JavaScript
                                                                         ○ Google Closure Library


                                                          Editor Platform

                                                                       Webkit ( QtSDK )
                                                                       独自拡張




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.                                             17
仕様                                                        Thin Reports

  ThinReports Generator for Ruby

            ○ Editor で作成したレイアウトと動的データの結合

            ○ RubyGems

                      • 名称未定

                      • Ruby 1.8, 1.9 へ対応予定




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             18
5の特徴                                                      Thin Reports

 1. 非 PDF

 2. シンプル

 3. ドキュメント重視

 4. エンタープライズ重視

 5. オープンソース




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             19
5の特徴                                                                                               Thin Reports

 1. 非 PDF

            ○ 帳票は SVG で表現

            ○ SVG ( Scalable Vector Graphics )

                      • ブラウザ上で表現可能なXML
                        形式の画像フォーマット

                      • Microsoft IE9 がサポートを表
                        明、注目される

                                                          Source: http://www.croczilla.com/bits_and_pieces/svg/samples/tiger/tiger.svg




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.                                                                              20
5の特徴                                                      Thin Reports

 1. 非 PDF

            ○ Viewer として PXDoc が必要

            ○ ブラウザでの帳票閲覧・印刷
              には、まだまだ課題あり

            ○ PXDoc
                     http://www.pxdoc.com/


                      • SVG を正確に表現、印刷

                      • 国産のフリーソフト

                      • PDF の Adobe Reader に相当


Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             21
5の特徴                                                      Thin Reports

 2. シンプル

            ○ 動作環境がシンプル

                      • 基本的に、Ruby + Generator があれば動く

            ○ 実装がシンプル

                      • 生成処理は、テキスト加工で完結(SVG の恩恵)

                      • 終始 Ruby

                      • 他の言語やツールに頼らない




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             22
5の特徴                                                      Thin Reports

 3. ドキュメントを重視

            ○ 特に、日本語ドキュメントを充実




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             23
5の特徴                                                      Thin Reports

 4. エンタープライズを重視

            ○ 業務システムへの適用

                      • 一覧表作成機能

                      • 多種多様な用紙サイズ対応

                      • 外字                 等


            ○ サポートサービスの提供




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             24
5の特徴                                                                    Thin Reports

 5. オープンソース

            ○ プロジェクトサイトの公開

                      • ソース、バイナリの公開

                      • 開発状況、ロードマップ等の公開

            ○ ライセンス(予定)

                      • Editor                            GPLv3

                      • Generator                         MIT License




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.                           25
作ってみる                                                     Thin Reports

  例: 見積り管理システム

            ○ Ruby on Rails

            ○ 登録内容を見積書として印刷




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             26
作ってみる                                                     Thin Reports

 1. 帳票レイアウトの作成

            ○ Editor でレイアウト作成

                      • マウス操作

                      • 図形、静的テキスト描画

            ○ 動的な値を埋め込む箇所に、
              名前付きブロックを設定




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             27
作ってみる                                                                    Thin Reports

 2. アプリの印刷機能作成

            ○ Generator のインストール

                      • gem install xxxxx

            ○ 作成したレイアウトファイルを
              所定の場所へ保存

            ○ DB等の動的データを埋め込む処
              理を記述
                                                          ※ 現時点の仕様です。実際のものと異なる可能性があります。




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.                                   28
作ってみる                                                     Thin Reports

 3. 印刷

            ○ アプリを起動、印刷実行

            ○ PXDoc が起動し、プレビュー

            ○ PXDoc から印刷




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             29
ロードマップ                                                    Thin Reports

 2010.9 0.6 Preview release

 2011.3 0.6 release


 2011.X 0.7 release(予定)




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             30
ロードマップ                                                    Thin Reports

 2010.9 0.6 Preview release
            ○ デビュー

            ○ プロジェクトサイト公開

            ○ 実験的バージョン

                      • プロジェクトサイトにて、バグ・要望の収集




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             31
ロードマップ                                                    Thin Reports

 2011.3 0.6 release
            ○ 0.6 正式バージョン

            ○ 安定性向上を重視

                      • 0.6 Preview のバグ対応

                      • 既知の課題への対応

            ○ サポートサービスの開始




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             32
ブランチ                                                      Thin Reports

  大量帳票印刷への挑戦

            ○ しまね産業振興財団様による 2010年度研究事業として採択
                  2010年7月 ~ 2011年6月

            ○ ThinReports をベースとした大量帳票印刷基盤の研究事業

                      • コマンドラインによる非同期バッチ印刷機能

                      • PDF出力機能も

            ○ 成果は、0.7 へフィードバック




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.             33
展望                                                                                                         Thin Reports

  関連ツール、ライブラリの拡充

                                                                      ThinReports

                                  Viewer
                                    (構想)              ○ ブラウザだけで動作
                                                      ○ SVG, HTML5, CSS3, JavaScript


                                  Generator for Ruby                                   Batch
                                                      ○ RubyGems                               ○ 大量印刷基盤
                                                                                               ○ コマンドライン


                                  Editor                                                   ウェブアプリ組込み版
                                                          デスクトップアプリ版
                                                                                              (構想)




Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.                                                              34
ご清聴ありがとうございました。



ThinReports Official Site
  http://www.thinreports.org/
Matsukei Open Source Center
  http://osc.matsukei.net/
株式会社マツケイ
  http://www.matsukei.co.jp/

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Rubyと業務システムと帳票開発、そしてThinReports

  • 1. Ruby と 業務システムと 帳票開発、 そして ThinReports 日高 克也 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved.
  • 2. 目次  自己紹介  Rubyによる帳票開発の現状  ThinReports のご紹介 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 2
  • 4. 自己紹介  日高 克也 Katsuya Hidaka  2003年 株式会社 マツケイ入社 株式会社マツケイ  島根県松江市  主な業務 ○ データセンター事業 ○ システム開発、運用 ○ データエントリー Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 4
  • 5. 自己紹介  主な経歴 ○ PHP による業務システム開発に従事 ○ 2007年度 IPA公募事業「高額合算システム」へ参加 (松江市様向け) ○ 以来、Ruby による業務システム開発に従事 • ~現在までに、6つの業務システム開発に関わる ※現在進行中のプロジェクトも含む Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 5
  • 7. 業務システムと帳票  重要な機能の一つ  特別な機能ではない(あって当然) ○ 複雑なレイアウト ○ 多種多用な用紙サイズ ○ 外字、バーコード、印影など ○ パフォーマンス Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 7
  • 8. ツールの条件  専用エディタがある  日本語に対応  シンプルが良い Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 8
  • 9. Rubyにおける選択肢  有償ツール ○ 多くはないが、あるにはある ○ 高額になる傾向あり Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 9
  • 10. Rubyにおける選択肢  OSSツール ○ 実用的なものは非常に少ない ○ 日本語の壁か ○ シンプルではない(場合がある) • 複数のツール、ライブラリの組み合わせや設定 • 環境に依存 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 10
  • 11. まとめ 決定的なツールが存在しない 開発者 エンドユーザ 不安 負担 コスト Rubyの業務システム適用を妨げる一因 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 11
  • 13. ThinReports とは? Thin Reports  読み「シンレポーツ」  Webアプリにおける帳票ソリューション  当社独自開発のソフトウェア ○ 2010 年 9 月中旬リリース予定 ○ しまね産業振興財団様による 2009年度研究事業として着手 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 13
  • 14. 目指すこと Thin Reports 帳票開発のあらゆる負担を 減らす - thin - Rubyの業務システム適用を促進 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 14
  • 15. 仕様 Thin Reports  専用レイアウトエディタ ThinReports Editor  専用ライブラリ ThinReports Generator for Ruby Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 15
  • 16. 仕様 Thin Reports  ThinReports Editor ○ デスクトップアプリ ○ まずは、Windows 向け • 順次 各OSへ対応 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 16
  • 17. 仕様 Thin Reports  ThinReports Editor Editor Editor Core ○ 全て OSS で構成  SVG 1.1  HTML5  CSS3  JavaScript ○ Google Closure Library Editor Platform  Webkit ( QtSDK )  独自拡張 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 17
  • 18. 仕様 Thin Reports  ThinReports Generator for Ruby ○ Editor で作成したレイアウトと動的データの結合 ○ RubyGems • 名称未定 • Ruby 1.8, 1.9 へ対応予定 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 18
  • 19. 5の特徴 Thin Reports 1. 非 PDF 2. シンプル 3. ドキュメント重視 4. エンタープライズ重視 5. オープンソース Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 19
  • 20. 5の特徴 Thin Reports 1. 非 PDF ○ 帳票は SVG で表現 ○ SVG ( Scalable Vector Graphics ) • ブラウザ上で表現可能なXML 形式の画像フォーマット • Microsoft IE9 がサポートを表 明、注目される Source: http://www.croczilla.com/bits_and_pieces/svg/samples/tiger/tiger.svg Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 20
  • 21. 5の特徴 Thin Reports 1. 非 PDF ○ Viewer として PXDoc が必要 ○ ブラウザでの帳票閲覧・印刷 には、まだまだ課題あり ○ PXDoc http://www.pxdoc.com/ • SVG を正確に表現、印刷 • 国産のフリーソフト • PDF の Adobe Reader に相当 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 21
  • 22. 5の特徴 Thin Reports 2. シンプル ○ 動作環境がシンプル • 基本的に、Ruby + Generator があれば動く ○ 実装がシンプル • 生成処理は、テキスト加工で完結(SVG の恩恵) • 終始 Ruby • 他の言語やツールに頼らない Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 22
  • 23. 5の特徴 Thin Reports 3. ドキュメントを重視 ○ 特に、日本語ドキュメントを充実 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 23
  • 24. 5の特徴 Thin Reports 4. エンタープライズを重視 ○ 業務システムへの適用 • 一覧表作成機能 • 多種多様な用紙サイズ対応 • 外字 等 ○ サポートサービスの提供 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 24
  • 25. 5の特徴 Thin Reports 5. オープンソース ○ プロジェクトサイトの公開 • ソース、バイナリの公開 • 開発状況、ロードマップ等の公開 ○ ライセンス(予定) • Editor GPLv3 • Generator MIT License Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 25
  • 26. 作ってみる Thin Reports  例: 見積り管理システム ○ Ruby on Rails ○ 登録内容を見積書として印刷 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 26
  • 27. 作ってみる Thin Reports 1. 帳票レイアウトの作成 ○ Editor でレイアウト作成 • マウス操作 • 図形、静的テキスト描画 ○ 動的な値を埋め込む箇所に、 名前付きブロックを設定 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 27
  • 28. 作ってみる Thin Reports 2. アプリの印刷機能作成 ○ Generator のインストール • gem install xxxxx ○ 作成したレイアウトファイルを 所定の場所へ保存 ○ DB等の動的データを埋め込む処 理を記述 ※ 現時点の仕様です。実際のものと異なる可能性があります。 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 28
  • 29. 作ってみる Thin Reports 3. 印刷 ○ アプリを起動、印刷実行 ○ PXDoc が起動し、プレビュー ○ PXDoc から印刷 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 29
  • 30. ロードマップ Thin Reports 2010.9 0.6 Preview release 2011.3 0.6 release 2011.X 0.7 release(予定) Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 30
  • 31. ロードマップ Thin Reports 2010.9 0.6 Preview release ○ デビュー ○ プロジェクトサイト公開 ○ 実験的バージョン • プロジェクトサイトにて、バグ・要望の収集 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 31
  • 32. ロードマップ Thin Reports 2011.3 0.6 release ○ 0.6 正式バージョン ○ 安定性向上を重視 • 0.6 Preview のバグ対応 • 既知の課題への対応 ○ サポートサービスの開始 Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 32
  • 33. ブランチ Thin Reports  大量帳票印刷への挑戦 ○ しまね産業振興財団様による 2010年度研究事業として採択 2010年7月 ~ 2011年6月 ○ ThinReports をベースとした大量帳票印刷基盤の研究事業 • コマンドラインによる非同期バッチ印刷機能 • PDF出力機能も ○ 成果は、0.7 へフィードバック Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 33
  • 34. 展望 Thin Reports  関連ツール、ライブラリの拡充 ThinReports Viewer (構想) ○ ブラウザだけで動作 ○ SVG, HTML5, CSS3, JavaScript Generator for Ruby Batch ○ RubyGems ○ 大量印刷基盤 ○ コマンドライン Editor ウェブアプリ組込み版 デスクトップアプリ版 (構想) Copyright © 2010 MATSUKEI Co., Ltd All Rights Reserved. 34
  • 35. ご清聴ありがとうございました。 ThinReports Official Site http://www.thinreports.org/ Matsukei Open Source Center http://osc.matsukei.net/ 株式会社マツケイ http://www.matsukei.co.jp/