Download - 【U-22】Delphi / C++Builder / RAD Studio 概要
© 2017 Embarcadero Technologies, Inc.
All rights reserved. Proprietary and confidential.
Delphi / C++Builder / RAD Studio 概要
2© 2017 Embarcadero Technologies, Inc. All rights reserved. Proprietary and confidential.
RAD Studioの製品構成
RAD Studio
• Delphi / C++Builderが両方付く
• Pro版からモバイル開発可能
Delphi
• Delphiのみ使用可能
• モバイルパックを追加購入
C++Builder
• C++Builderのみ使用可能
• モバイルパックを追加購入
※別IDEでHTML5 Builderを利用可能
3© 2017 Embarcadero Technologies, Inc. All rights reserved. Proprietary and confidential.
RAD Studio(Delphi / C++Builder)作れるもの
Windowsアプリケーション
• GUIアプリ
• コンソール
• サーバサイド (ISAPI)
• DLL、サービスを含む
• Desktop Bridgeアプリ
macOSアプリケーション
iOSアプリケーション
Androidアプリケーション
Linuxアプリケーション
• サーバーサイド(Apache)
4© 2017 Embarcadero Technologies, Inc. All rights reserved. Proprietary and confidential.
RAD Studioの基礎
5© 2017 Embarcadero Technologies, Inc. All rights reserved. Proprietary and confidential.
効率的な開発を支える2種類のコンポーネントフレームワーク
Windows向けクロスプラットフォーム
Windows APIをカプセル化し、Windowsの機能を最大限活用
単一のコードでマルチデバイス開発が可能
6© 2017 Embarcadero Technologies, Inc. All rights reserved. Proprietary and confidential.
VCL(ビジュアルコンポーネントライブラリ)の仕組み
Widows APIをカプセル化しコンポーネントとして利用
• OSバージョンの差もVCLが吸収
• 必要ならAPI呼び出しなどの低レベルコードも記述可能
Delphi / C++言語
VCL
Windows API
Wintel Platforms
7© 2017 Embarcadero Technologies, Inc. All rights reserved. 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。
FireMonkey:なぜ一つのコードで複数のOSに対応可能?
マルチデバイスデザイナのマスターUIで異なる解像度、配置を吸収
各OSのUIパーツは独自に自前で描画
FireMonkeyがOS毎に異なる動作を吸収・抽象化
各プラットフォーム向けのコンパイラが最適な実行ファイルにビルド
Delphi / C++言語
FireMonkeyフレームワーク
FireUIマルチデバイスデザイナ
8© 2017 Embarcadero Technologies, Inc. All rights reserved. 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。
RDBMS
Win / macOSデスクトップ
アプリケーション
Windowsデスクトップ
クライアントサーバー
アプリケーション
macOSデスクトップ
Windowsクライアント
macOSクライアント
Androidスタンドアロン型
iOSスタンドアロン型
iOS / Android
単体アプリ
9© 2017 Embarcadero Technologies, Inc. All rights reserved. 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。
中間サーバー
IoTデバイス
モバイルクライアント
ビッグデータ
デスクトップクライアント
HTTP(S)
REST
JSON HTTP(S)
REST
JSON
HTTP(S)
REST
JSON
クラウドサービスRAD Server
RAD Studioで開発可能な全体像
レガシーシステム
独自のプロトコルで接続
RDBMS
Windowsクライアント
典型的なC/Sシステム
10© 2017 Embarcadero Technologies, Inc. All rights reserved. Proprietary and confidential.
モバイルデバイス開発環境セットアップ方法
エンバカデロWeb: https://www.embarcadero.com/jp/
• [製品 ] – [ RAD Studio ] – [ビデオ ]
• 「インストール」セクションにビデオ説明と関連ブログ掲載
• iOSデバイス、macOS向けアプリ開発の環境設定を行う
• Android向けアプリ開発の環境設定を行う
エンバカデロブログ
• 【入門】iOSアプリ開発をDelphi/C++Builderで始めるためのファーストステップ [JAPAN]
• https://community.embarcadero.com/blogs/entry/ios-delphi-c-builder-japan
• Android向けアプリ開発の環境設定を行う [JAPAN]
• https://community.embarcadero.com/blogs/entry/howto-configure-android-app-development-japan
スライドシェア
• https://www.slideshare.net/ssuser194f49/
• https://www.slideshare.net/ssuser194f49/u22delphi-cbuilder-rad-studio
Twitter : @kazaiso
© 2017 Embarcadero Technologies, Inc.
All rights reserved. Proprietary and confidential.
Delphiワークショップ
12© 2017 Embarcadero Technologies, Inc. All rights reserved. Proprietary and confidential.
本日作るもの
RAD Studioの丸くて赤い[RX]のアイコンをクリックして起動
作るアプリ:Windows上で動作するアンケートアプリ
学ぶもの:• ドラッグアンドドロップで行えるアプリの画面設計• 各パーツの表示内容などの情報設定• アプリが操作されたときどう動くか「イベント」をプログラム• プログラミング言語基礎
• 文字列操作• 変数宣言と代入• 判断分(If文)
• デバッグ方法(時間があれば)
13© 2017 Embarcadero Technologies, Inc. All rights reserved. Proprietary and confidential.
開発環境の画面説明
ツールパレット:
コンポーネントはここからドラッグアンドドロップ
コード/デザインタブ:コードと UIデザイン画面の切り替え
ウエルカムページ&開発中の画面タブ:初期ウエルカムページの表示タブ と 開発中画面のページの切り替え
ファイルメニュー:最初のVCLフォームの
作成や、保存などはこの「ファイル」メニューから
プロパティ・イベントタブ:プロパティ(設定)やイベントハンドラリストはここで切替
14© 2017 Embarcadero Technologies, Inc. All rights reserved. Proprietary and confidential.
開発環境の入手の方法
RAD Studio(開発環境)を使用できるの3つの方法• U-22プログラミングコンテストサイトで、申請する→ コンテスト応募用に10月末日まで使用できる開発環境提供http://www.u22procon.com/guideline/cloud/
• トライアル版を使用→エンバカデロのトライアル版をダウンロード。1か月の試用期間のみhttps://www.embarcadero.com/jp/products/rad-studio/start-for-free
• Starterエディションを利用→無料でずーっと使える機能限定版。Windwosアプリの開発のみhttp://qiita.com/kazaiso/items/1c0df8ff902405d1c214