Quantcast
Channel: Latest blog entries - Embarcadero Community
Viewing all 1683 articles
Browse latest View live

Speaking at Delphi Conferences in Italy and Poland in June

$
0
0

While most of the Delphi conferences in Europe happen in the fall (September and October are generally fairly crowded months), there are also a few regular events in the late spring timeframe.

Delphi Day, Italy, June 7th

The Delphi Day in Italy is a conference I helped organized for many years and that generally attracts a crowd of about a hundred Delphi professional developers. This year it is taking place on June 7th, with in-depth seminars the day before. The location is Piacenza, which is the city where I live, so I really couldn't miss it!

At Delphi Day I'll present a keynote on the status of Delphi, and a technical session on building REST services with RAD Server. I'll also host a chat with other remote Embarcadero speakers. The list of speakers is quite impressive, as usual and includes partners like Bruno Fierens and Michael Philippenko, MVPs like Stefan Glienke and Primoz Gabrijelcic, well-known experts like Yuriy Kotsarenko, plus many Italian speakers.

For all of the information and to sign up see  https://www.delphiday.it/

Zlot Programistow Delphi, Poland, June 19th

Later in June I'll attend a conference in Zegrze, Poland. This is an event organized by the local Embarcadero partner, that is now becoming a tradition -- I was there last year for the first time. This is a two days event, packed with technical information, and many session in Polish, some in English.

At this conference I'll give a keynote and present a technical session on Modern Windows 10 development with the VCL library. Among the other speakers, MVPs include Stefan Glienke (again!) and Brian Long, while the only person I know among the Polish speakers is Bogdan Polak.

The conference web site for information and signup is  http://delphi.pl/zlot/zlot2018/

See You There

See you at one of the events, if you live in those countries or nearby. If you want to have a personal meeting to discuss anything related with Delphi and Embarcadero business, let me know and we can certainly schedule it.


Read More

6月にイタリアとポーランドで開催される Delphiカンファレンス

$
0
0

この記事は、Marco CantuによるSpeaking at Delphi Conferences in Italy and Poland in Juneの抄訳です。

ヨーロッパのDelphiカンファレンスのほとんどは秋に行われます。とくに、9月10月に集中して開催されるのですが、今春の晩期には定期的なイベントがいくつかあります。

 

6月7日イタリアにて Delphi Day

イタリアのDelphi Dayは、私(Marco Cantu)が何年も主催してきたカンファレンスです。毎年、約100人ほどDelphiのデベロッパーが集まります。今年は6月7日に開催され、その前日には詳細なセミナーが行われます。場所はピアチェンツァで、私が住んでいる街なので、本当にそれを見逃すことはできません!

Delphi Dayでは、Delphiのステータスに関する基調講演とRAD ServerでRESTサービスを構築するためのテクニカルセッションを行います。また、他のリモートのEmbarcaderoスピーカーとのチャットを開催します。講演者のリストは、Bruno Fierens や Michael Philippenkoのなどのパートナー・Yuriy Kotsarenko 有名な専門家・Stefan Glienke や Primoz Gabrijelcic などのパートナー、そして多くのイタリア語のスピーカーを含む、いつものようにかなり印象的です。

情報については、https://www.delphiday.it/ を参照してください。

 

 

6月19日 ポーランド Zlot Programistow

6月後半には、ポーランドのゼーグ(Zegrze)で開催される会議に出席(Marco Cantu)する予定です。これは現地のエンバカデロパートナーが企画したイベントです。このイベントは今や伝統となっています。私は去年初めて参加しました。これは技術情報が満載された2日間のイベントであり、ポーランド語セッションもありますが、多くのセッションは英語で行われています。

今回のカンファレンスでは、基調講演では、VCLライブラリを使いモダンなWindows 10開発に関する技術セッション行いますスピーカーは、MVPであるStefan Glienke(again!)とBrian Longが参加します。ポーランドのスピーカーの中で私が知っている唯一の人はBogdan Polakです。

情報とサインアップのためのウェブサイト http://delphi.pl/zlot/zlot2018/ です。

カンファレンスで会いしましょう!

これらの国や近隣に住んでいる方、イベントでお会いしましょう!そして、Delphiエンバカデロ・テクノロジーズのビジネスに関することについて議論するために個人的な会議を開催したい場合は、私に知らせてください。

 


Read More

Real-world CMake and C++Builder applications on github

$
0
0

Last week, we ran a popular webinar Fast Builds and Integrating Libraries: Using CMake and Ninja for C++ Builder 10.2.3.  The replay is now available on Youtube.

In it, I demonstrated two items building with C++Builder and our CMake support: a real-world FireMonkey application, and Google Test.  These are available on github:

  • Mazes: I wrote this for CodeRage XII in 2017 and the same application is available for both Delphi and C++Builder, written in duplicate.  If you are a Delphi user interested in C++, you may find it interesting for that reason, or vice versa.  The C++ application contains a CMakeLists.txt file and is an app I use often to demonstrate our CMake support.  It's small but non-trivial, ie is a real-world application, and is worth checking out if you want to see a real application building with CMake.
  • Google Test and Google Mocks: this is an example of a common third party C++ library that was not written with specific C++Builder support.  An intern here, Nikolay Avramov, has been doing great work going through common libraries and making sure they work with C++Builder, and one of those libraries is Google Test.  Typically, you find that C++ libraries have a couple of things you need to fix: it assumes if it's Windows, it's using MSVC (not true, could be us or MinGW): this requires you fix macros in a header; or it makes similar assumptions about headers or RTL method names: here you need to append or remove a _ for some RTL methods, or add or remove a header.  Both types of fixes are straightforward, you just build, track down the incorrect logic, and fix -- and ideally submit a pull request back :)

CMake support opens up C++Builder to the wide world of C++ and the ability to add third party C++ libraries to your applications is very valuable.  We've had a lot of very positive feedback about this, and we look forward to what we'll do next in this area.

 


Read More

GitHub上のReal-worldなCMakeとC++Builder アプリケーション

$
0
0

この記事は、David MillingtonによるReal-world CMake and C++Builder applications on githubの抄訳です。

先週、C++Builder 10.2.3 とCMake+Ninjaを使い高速ビルドとインテグレーションライブラリ(Fast Builds and Integrating Libraries: Using CMake and Ninja for C++ Builder 10.2.3)の内容をポピュラーなウェビナーを行いました。そのリプレイYoutubeで見ることができます。

その中で、私(David Millington)はC++BuilderとCMakeの2つの項目を実演しました。real-worldなFireMonkeyアプリケーションとGoogle Testです。 これらはGitHubから利用できます:

  • Mazes: 2017年のCodeRage XIIにも書いています。このアプリケーションは、DelphiC++Builderの両方で使用できます。C++に興味があるDelphiユーザーであれば、面白いかもしれません。逆もまた同様です。C++アプリケーションにはCMakeLists.txtファイルが含まれており、CMakeのサポートを実証するために頻繁に使用するアプリケーションです。これは、小さくても簡単ではない現実のアプリケーションであり、CMakeを使って実際のアプリケーションを見たいかどうかチェックする価値があります。
    • Mazes C++はGitHubに公開しています。(サイト上1つ上の階層でDelphiのバージョンを探すこともできます)
    • また、Jamis Buckの Mazes for Programmersという2つのアプリケーションに使用されているMazesに関する本もご覧ください。素晴らしい本なので、読むことをお勧めします。 

 

  • Google Test and Google Mocks: これは、C++Builderサポートで書かれていない一般的なサードパーティのC ++ライブラリの例です。Nikolay Avramovは、共通ライブラリを使ってC++Builderで動作することを確認しています。これらのライブラリの1つはGoogle Testです。通常のC++ライブラリは、いくつかの修正を必要とする場合もあります。Windowsの場合MSVCを使用していると仮定します。(MinGWかもしれません)この場合、ヘッダーにマクロを修正する必要があります。ヘッダーやRTLメソッド名についても同様の前提があります。ここでは、いくつかのRTLメソッドに対して _ を追加または削除するかヘッダーを追加または削除する必要があります。どちらのタイプも簡単です。一旦ビルドし、誤ったロジックをトラックダウンして修正します -- または理想的なpull request backを送ってください。

 

CMakeのサポートは、C++BuilderをC++の幅広い世界に広げサードパーティのC++ライブラリをアプリケーションに追加する機能は非常に貴重です。私たちはこれについて多くの非常に肯定的なフィードバックをしており、この分野で次に何をするのか楽しみにしています。

 

 

 


Read More

CodeRage DE 2018: Termin, Anmeldung, Infos und Vorstellung der Präsentatoren

$
0
0

Am Dienstag, 26. Juni, findet die Dritte Deutsche CodeRage Deutschland statt. Anmeldung und weitere Infos (Sessionplan) hier:

http://forms.embarcadero.com/coderage-germany

Die Konferenz deckt Entwicklungsthemen über allgemeine Programmierthemen, Delphi und C++Builder ab. Für Anfänger, Fortgeschrittene und interessierte Delphi und C++Builder Entwickler.

Bekannte Sprecher sind dieses Jahr Dr. Holger Flick, Olaf Monien, Volker Hillmann, Bernd Ua, Uwe Raabe, Frank Lauter, Joachim Dürr und Matthias Eißing. Erfahren Sie kompakt die neusten Technologien, Tipps & Tricks, Paradigmen und Best Practices für Delphi und C++Builder.

Die Sprecher möchte ich hier kurz vorstellen:

Olaf Monien

Olaf Monien arbeitet seit vielen Jahren für internationale Firmen als IT Berater. Seine Spezialgebiete sind Software Architektur, Datenbank Design, Internet Anwendungen und mobile Geräte. Olaf Monien ist Diplom Informatiker mit über 20 Jahren Erfahrung im Bereich Softwareentwicklung. Olaf Monien ist ein Embarcadero MVP und  Embarcadero Technology Partner.

Olaf hält den Vortrag

  • Einheitliche Login-Verwaltung in iOS und Android Apps

Bernd Ua

Bernd Ua ist Gründer und Geschäftsführer von probucon Business Consulting einem Beratungs- und Trainingshaus, das eine breite Platte von unterstützenden Dienstleistungen bei der Softwareentwicklung anbietet, angefangen von Trainings bis zu Architektur, Projektleitung, Codereviews und Umsetzung. Bernd Ua arbeitet seit mehreren Jahren als Softwarearchitekt und Entwickler sowie als Trainer im Bereich nativer Anwendungen mit Embarcadero Delphi und im .net Umfeld mit C#. Daneben ist er als Autor unter anderem für das Entwickler Magazin tätig und regelmäßig als Sprecher auf nationalen und internationalen Veranstaltungen anzutreffen.

Bernd hält den Vortrag

  • Delphi/Azure

Dr. Holger Flick

Dr. Holger Flick studierte Informatik an der Universität Dortmund und promovierte an der Fakultät Maschinenbau der Ruhr-Universität Bochum. Bereits seit 1996 programmiert er mit Delphi. Holger ist Sprecher auf Fachkonferenzen und ein erfahrener Trainer für verschiedenste Delphi Themen. Sein jahrelanges Engagement und seine umfassenden Kenntnisse im Bereich der Delphi Programmierung im Themenbereich der objektorientierten Programmierung mit Delphi und anderen Programmiersprachen (z.B. C#, Objective-C), führte im Jahr 2016 zu seiner Ernennung zum Embarcadero Delphi MVP.

Seit 2013 ist Dr. Holger Flick als Mitarbeiter der Korfmann Lufttechnik GmbH in Witten für die gesamte Software- und Hardwarearchitektur der Firma verantwortlich und entwickelt unter anderem unternehmensspezifische Softwarelösungen mit Delphi.

Holger hält den Vortrag

  • Einführung in TMS Web. Grundlagen, Architektur und die erste Anwendung.

Joachim Dürr

Dipl.Ing.(FH) Joachim Dürr ist ein Software-Urgestein. Er machte vor fast 30 Jahren seine ersten Schritte in der Softwareentwicklung mit Turbo Pascal und hat im Laufe der Jahre mit einigen anderen Sprachen gearbeitet. Von 2000 bis 2015 war er über die Stationen Extended Systems, Sybase und SAP das „Gesicht“ des Advantage Database Servers und verfasste mehrere Bücher und Fachpublikationen zu diesem Thema. In diese Zeit fielen auch unzählige Vorträge bei diversen Softwarekonferenzen in ganz Europa, den USA und Kanada. Seit 2015 arbeitet Joachim als selbständiger Softwareberater. Als Delphi MVP kümmert er sich vor allem auch um die Belange von ADS Anwendern.

Joachim hält den Vortrag

  • Informationssicherheit DSGVO

Frank Lauter

Frank Lauter ist seit vielen Jahren in der Delphi Welt zu hause.  Mit der Programmierung beschäftigt er sich seit 1981 und nach dem Einstieg in Eumel/Elan, Basic und die Programmerung in Z80 Assembler (FL-DOS für MZ-800) ist er über UCSD Pascal zu Turbo Pascal 1.0 für CP/M gekommen. 1986 gründete er seine Softwarefirma deren Hauptarbeitsfeld die Erstellung von Branchenlösungen war und ist. Mit Erscheinen von Delphi XE2 und der ersten Version von Firemonkey, erkannte er frühzeitig, dass hiermit, die über viele Jahre erworbenen Fähigkeiten in der Programmierung, erstmalig einen Einstieg in die Programmierung von iOS- und nach Erscheinen des Android-Compilers auch in die Android-App-Programmierung entstanden ist. Er ist seit 2017 Embarcadero MVP und bietet bundesweit Schulungen und Consulting für Delphi an.

 

Frank hält den Vortrag

  • Fluiddesign und andere Techniken um sich den Programmieralltag zu erleichtern.

Uwe Raabe

Seine ersten Erfahrungen mit Pascal machte Uwe Raabe während seines Studiums in München, bevor er in den späten 70ern mit UCSD Pascal anfing professionell zu programmieren. Nach Turbo Pascal 2 bis 7 kam der Wechsel zu Delphi 1 mit dem Tag seinens Erscheinens. Im Laufe der Jahre hat er sich fundierte Kenntnisse in CAD/CAM Programmierung, Ansteuerung von CNC Maschinen und der Automatisierung von Software Entwicklungsprozessen angeeignet. Er ist Embarcadero MVP der ersten Stunde und neben dem Schreiben einiger Artikel in seinem Blog tritt er auch schon mal als Sprecher auf Veranstaltungen mit Delphi-Schwerpunkt auf.

 

Uwe hält den Vortrag

  • Effizient arbeiten mit MMX Code Explorer

Volker Hillmann

Volker Hillmann ist Geschäftsführer der adecc Systemhaus GmbH. Vielen Entwicklern ist er auch als Buchautor, Trainer und Sprecher auf vielen Roadshows (better office, Borland, Codegear, Embarcadero) bekannt. Er programmiert seit 1988 in C und seit 1991 in C++. Er kennt die Embarcadero (Borland / Codegear) C/C++ Entwicklungsumgebungen seit 1988 (Version Turbo C 1.5). Er beherrscht aber auch eine Reihe anderer Programmiersprachen und hat sich mit vielen Entwicklungsumgebungen beschäftigt. Die Basis hierfür bildet sein Studium als Diplom Mathematiker mit der Spezialisierung Datenbanken und Datensicherheit an der Universität Rostock. Im Auftrag des Markt&Technik Verlags hat er 1994 das Buch "Objektorientierte Programmierung mit C++. Das ganz andere C++- Buch" geschrieben. Er ist auch der Autor des White Papers für den Embarcadero C++ Builder 2010. Die theoretischen Grundlagen werden durch die vielen praktischen Erfahrungen aus Projekten im Finanz- und Versicherungsbereich bereichert. Auch hier basierte der Erfolg auf eher untypischen Ansätzen. Hier war er als Entwickler, Architekt und Projektleiter erfolgreich, bevor er sich 2001 mit seinem Geschäftspartner selbständig machte. Seit 2013 ist Volker Hillmann auch Embarcadero MVP für den C++ Builder und die Programmiersprache C++. Die adecc Systemhaus GmbH ist seit 2007 Partner von Embarcadero in Deutschland und betreut zahlreiche Kunden aus unterschiedlichen Wirtschaftszweigen in Deutschland, Österreich und der Schweiz. Neben Schulungen gehören hier auch Beratungsleistungen und die Beteiligung an Projekten dazu.

Volker hält die Vorträge

  • Abstraktionsschnittstelle zu den Datenbanken
  • Mit Funktionen und Tupeln ein Programm bauen

Matthias Eißing

Matthias Eißing ist Senior Sales Consultant der Embarcadero Germany GmbH. Mit über 20 Jahren Erfahrung im IT-Umfeld, als Sprecher auf zahlreichen nationalen und internationalen Konferenzen und Seminaren gilt Matthias Eißing als ausgewiesener Spezialist im Umfeld der Entwicklungs- und Datenbankwerkzeugen. Seine Schwerpunkte liegen in der Analyse, Beratung und Unterstützung von Kunden bei der Auswahl von Werkzeugen, sowie bei der projektbegleitenden Durchführung.

Ich selber werde den Tag moderieren und diesen Vortrag halten:

  • Neuigkeiten im RAD Studio 10.2 Tokyo

Ich freu mich auf Euch!

 


Read More

Creating great UIs with C++Builder and FireMonkey: app templates

$
0
0

FireMonkey is an advanced UI toolkit, capable of great layouts and designs. We'd like to show you what it's capable of, and how easy it is to make great interfaces using it. We've just introduced eighteen example UI templates using FireMonkey and C++ that really show how easy it is to create great-looking apps.

These are freely available on GetIt, our package manager, and you can download them and use them for your own inspiration and layouts.

What have we added?  Three examples each of:

  • Login screens
  • Home screens
  • User profile screens
  • Settings pages
  • Sign up screens
  • Contact screens

These all demonstrate FMX styles to customize your app's look and feel; the layout and controls you can use to create each screen; and each was created by a designer for layout and imagery.  They make use of freely available images (usage details in the readme).

Do you use C++Builder? You can use these and be inspired!

Are you new to C++Builder? These are the kinds of UIs you can create easily, across multiple platforms including iOS and Android, designed once rather than in multiple languages and UI applications.


One of three sign up screens in C++Builder's FireMonkey designer,
and running built as a Windows app - it can also be iOS and Android 


One of three profile screens


One of three settings screens

One of three app home screens,
here for a fitness app  

One of three login screens


Sarina DuPont has a great blog post going into detail about these templates and the UI mechanisms they use.  For example, one might use a slide-in drawer using a hamburger menu, and she will explain why.

If you're new to C++Builder, you can use these by downloading a free trial. Once installed, go to Tools menu > GetIt, our package manager, and look in the Sample Projects category for 'screens'.


Read More

既存システムをWeb化するために考慮したい2つのポイント

$
0
0

従来、一般的に「クライアントサーバー型」のシステムが普及していました。自社内専用アプリケーションをシステム管理部が複数PCにインストール後、ようやく利用者が扱うことができます。システムのバグや機能エンハンスメントはそれと同じくシステム管理者がセットアップします。利用する側やシステム管理部はPCに対したくさんの配慮が必要でした。世間では、MEAPやBYODが普及していく中「クライアントサーバー型」のシステムではやはり限界がきています。

Delphi / C++Builder を使った企業内アプリケーションでもVCLで構築された「クライアントサーバー型」システムがたくさん採用されています。昨今ではWindows 10に対応するため引き続きDelphi 10.2.xを採用されている場合も多くみかけます。しかし多くのビジネスパーソンがスマートフォンやタブレットを利用しており、また Gmail や Google Map, Office 365, Salesforce などのクラウドベースのサービスを業務やプライベートで使用しています。このため業務をオフィス内でしか行えない状況は減りつつあり、既存の業務システムについてもWebブラウザでアクセスしたいという要望が高まっています。

そこで、既存のシステム(特に「クライアントサーバー型」) のWeb化を考える際に考慮したいポイントが2つあります。


Read More

ACCESSING GOOGLE FIREBASE CLOUD FIRESTORE


How to customize URL in Datasnap REST servers

$
0
0

In this post I discuss how to customize the URLs generated by the Datasnap REST server.

Challenge

A major challenge in building APIs when using Datasnap is to generate URIs so that documentation, understanding, and versioning is easy.

I've always been particularly bothered by the "datasnap / rest / TServeMethodName" automatically generated by Datasnap servers, because when we share this to other languages it is immediately identified how we generate our server.

Video

After exchanging ideas with Kelver Merlotti and Marcelo Varela, I decided to create this video and show how to solve this problem by customizing the URI generated by the Datasnap server.

Watch the original post (video in Portuguese)


http://vivaitaocara.com.br/landersongomes/embarcadero/delphi/customizando-url-em-datasnap-rest-servers

To the next!


Read More

C++ FireMonkeyで綺麗なUIを作成する:アプリテンプレート

$
0
0

この記事は、David MillingtonによるのCreating great UIs with C++Builder and FireMonkey: app templates抄訳です。

FireMonkeyはアドバンスドなUIツールキットで、美しいレイアウトとデザインが可能です。このフレームワークを利用することで、美しいインターフェースを作るのがいかに簡単にかをご確認いただけると思います。FireMonkeyC++を使って18個のExample UIテンプレートを紹介しました。これらで、great-lookingなアプリを簡単に作成できます。

これらのUIテンプレートは、[GetIt パッケージマネージャー]で入手できます。ダウンロードして自身のインスピレーションやレイアウトに使用することができます。

追加したテンプレート:

  • Login screens(ログイン画面)
  • Home screens(ホーム画面)
  • User profile screens(ユーザープロファイル画面)
  • Settings pages(設定ページ)
  • Sign up screens(セットアップ画面)
  • Contact screens(コンタクト画面)

 

ユーザーアプリの、ルック&フィールをカスタマイズためのFMXスタイルと各画面の作成に使用できるレイアウトとコントロールなど。これらのデモは、デザイナがレイアウトとイメージを提供しています。(詳細はreadmeを見てください)

C++Builder利用者は、これらが使用できインスピレーションを得ることができます!

C++Builderをこれからご利用の方は、複数の言語やUIアプリケーションを使わず、iOSやAndroidなどの複数のプラットフォーム共通設計し簡単に作成できる種類のUIです。

 

C++Builder FireMonkeyデザイナ、サインアップ画面の1つです。

Windowsアプリとしてビルドしています。 ー これはiOSとAndroidでもかまいません。

 

 


One of three profile screens

One of three settings screens

One of three app home screens,
here for a fitness app

One of three login screens

  

Sarina DuPontは、これらのテンプレートなどを使用する場合のUIメカニズムについて詳しく説明するブログ記事をポストしています。 たとえば、バーガーメニューを使用してスライドインのドロアーを使用する場合などの解説をしています。

C++Builderを初めてお使いの方は、無料トライアル版をダウンロードしご使用頂けます。 インストールが完了したら、[ツール|オプション|GetIt パッケージマネージャ]でダイアログが表示されますので、[Sample Projects]カテゴリで「screens」を[検索]してください。

 

 

 

 


Read More

Get Kids Coding with IoT

$
0
0

Get Kids Coding with IoT

Across all industries, coding is quickly becoming a crucial skill for the 21st-century workplace. Finding ways to teach kids how to program without becoming bored can be a challenge for parents. That's where the Internet of Things (IoT) comes to the rescue.

On June 13, 2018, two of Embarcadero’s Software Consultants; Al Mannarino and Mary Kelly, delivered a webinar that explained what IoT is, ways to make IoT projects kid-friendly, how to set up a family hour of code and walked through two interesting demonstrations of Bluetooth LE IoT programming projects that you can use to teach your kids coding at home.

As a follow-up to the webinar here are links for whitepapers and demonstration project source code (both Delphi and C++Builder) that were used on the webinar:

Whitepapers:

Get Kids Coding Whitepaper - Building Connected Apps with Bluetooth LE and BaaS using Zephyr HxM Smart Heart Rate Monitor

Get Kids Coding Whitepaper - Access Bluetooth LE using TI SensorTag(CC2541)

Project Source Code:

Get_Kids_Coding_IoT_TI_SensorTag_Delphi

Get_Kids_Coding_IoT_TI_SensorTag_Cpp

Get_Kids_Coding_IoT_CPP_BluetoothLE_and_KinveyBaaS (using Zephyr HxM Smart Heart Rate Monitor)

Get_Kids_Coding_IoT_Delphi_BluetoothLE_and_KinveyBaaS (using Zephyr HxM Smart Heart Rate Monitor)

Embarcadero’s RAD Studio is the complete software development solution for rapidly building native applications for Windows, Mac, iOS and Android from a single codebase.  For a free trial download, please visit:  https://downloads.embarcadero.com/free/rad_studio

There is no limit to the new and exciting Internet of Things (IoT) solutions with distributed, connected apps you can build using Embarcadero® RAD Studio!   ENJOY!

 


Read More

Jump start your IoT solution with ready-to-use components

$
0
0

Whether your interest in IoT is for fun projects at home, or you’re trying to harness IoT capabilities to capitalize on the growing industry, it can be intimidating to get started.

Building multi-device applications that leverage devices that have standard and non-standard profiles, services and characteristics usually requires a significant amount of upfront research and development. With RAD Studio, and our library of IoT device components (which we call ‘ThingConnect’), we make the process of connecting to an IoT component extremely easy.


Read More

IoTでキッズ向けコーディング

$
0
0

この記事は、Al MannarinoによるのGet Kids Coding with IoT抄訳です。

すべての業界で、コーディングは21世紀の職場にとって急速に重要なスキルになっています。 子供に退屈させずに、プログラムを教える方法を見つけることは、両親にとってチャレンジです。 しかし、Internet of Things (IoT) を利用することで解決できます。

2018年6月13日、エンバカデロのソフトウェアコンサルタントのAl MannarinoとMary Kellyは、IoTのアイデアを説明したWebセミナーIoTプロジェクトを子供にやさしく説明でき、家族の時間を設定する方法、そしてBluetooth LEのIoTプログラミングプロジェクトの2つの興味深いデモンストレーションを行いました。子供たちに家庭でのコーディングを教える方法です。

このWebセミナーへのフォローアップには、Webセミナーで使用されたホワイトペーパーとデモプロジェクトのソースコード(DelphiとC ++ Builderの両方)へのリンクがあります。

ホワイトペーパー:

子供向けコーディングホワイトペーパー - Building Connected Apps with Bluetooth LE and BaaS using Zephyr HxM Smart Heart Rate Monitor

子供向けコーディングホワイトペーパー - Access Bluetooth LE using TI SensorTag(CC2541)

 

プロジェクトソースコード

Get_Kids_Coding_IoT_TI_SensorTag_Delphi

Get_Kids_Coding_IoT_TI_SensorTag_Cpp

Get_Kids_Coding_IoT_CPP_BluetoothLE_and_KinveyBaaS (using Zephyr HxM Smart Heart Rate Monitor)

Get_Kids_Coding_IoT_Delphi_BluetoothLE_and_KinveyBaaS (using Zephyr HxM Smart Heart Rate Monitor)

Embarcadero RAD Studioは、Windows、Mac、iOS、Androidのネイティブアプリケーションを単一のコードベースから迅速に構築するための完全なソフトウェア開発ソリューションです。 無料トライアルのダウンロードについては、https://www.embarcadero.com/jp/products/rad-studio/start-for-free  をご覧ください。

Embarcadero® RAD Studioで分散接続できるアプリケーションを構築できます。そして新しくエキサイティングなInternet of Things(IoT)ソリューションには、の楽しさは無限大です! 

 


Read More

Sencha Architectでウォーキングロガーを作ろう

$
0
0

Sencha Architect はドラッグ&ドロップ機能を使用してHTML5アプリケーションをビジュアル開発できるツールです。定型のコードを入力する必要がないため、開発者の時間を節約できます。自動コード生成は、デスクトップとモバイルのWebフロントエンド開発を加速できます。RAD Studioと同じくUIコンポーネントのプロパティと設定を変更するだけで、手作業によるコーディングでよく発生する人為的なエラーを排除できます。

そのSencha Architectを使ってWebアプリ「ウォーキングロガー」を作ってみました。「ウォーキングロガー」とは簡単な健康管理アプリで、その日に歩いた歩数をカロリー計算しグラフ表示するためのWebアプリです。このWebアプリは、サーバーなどの複雑な通信は考えず単純にSencha Architectのみで作成しています。実行確認もブラウザのみです。ブラウザのみで実行されていますので、ブラウザが終了しますとどこにも保存されません。歩いた記録を保存するにはサーバー構築が必要になりますが、Sencha Architectでの開発の仕組みは理解できるかと思います。

 

「ウォーキングロガー」プロジェクトをSencha Architectで表示した画面です。

デザイン画面上部がグリッドで、下部がチャートです。2つは、いずれも標準コンポーネントです。

上記の、ウォーキングロガーWebアプリ体験できるガイドを用意しております。

Senchaで始めるWebアプリケーション開発

エンバカデロ・テクノロジーズ

Senchaは、エンタープライズWebアプリケーションを開発するための完全なソリューションです。強力なJavaScriptフレームワークが、高度なWebアプリケーションユーザーインターフェイスの構築をサポートします。この文書は、Sencha Ext JSのトライアル版を使って、Senchaの特長的な機能を体験するためのガイドを提供します。

ダウンロードはこちら

技術セミナー「Delphi / C++ C/SアプリをWeb化! Sencha活用セミナー」も継続して開催しております。

https://www.embarcadero.com/jp/events/seminar/delphi-cpp-web-app-seminar/

 

 

 

 


Read More

IoTコンポーネントですぐにスタート

$
0
0

この記事は、Sarina DuPontによるのJump start your IoT solution with ready-to-use components抄訳です。

IoTへの関心がある方は、自宅で楽しいプロジェクトやIoT機器を試していますが、成長産業でスタートさせることで圧倒させることができます。

マルチデバイスアプリケーションの構築で、レバレッジデバイス・プロファイルが(非)標準・サービスそれぞれの特性を活用します。その分、たくさんの調査が必要となり初期研究開発に費用がかかります。しかし、RAD StudioとIoTデバイスコンポーネントのライブラリ(ThingConnect)を使用すれば、IoTコンポーネントへの接続プロセスを非常に簡単にします。

たとえば、心拍数モニターアプリを作成したいとしましょう。Bluetooth対応HRモニターデバイスに接続してデータを収集するには、心拍数GATTプロファイルに関する情報が必要です。

GATTプロファイルは、アプリケーションで標準サービスを使用する方法を定義する高水準の定義です。 心拍数GATTプロファイルは、フィットネスまたは健康アプリケーションに使用されます。 心拍センサを備えたサーバ装置は、標準的な心拍数サービスを公開して、Bluetooth LEクライアントがそのサービスを発見し、例えばbpm(1分当たりの拍数)のようなデータの収集を開始する。 GATTプロファイルは、サービス+特性の組み合わせです。

これらの仕様は、すべて調べることができます。または、事前に構築したIoT心拍センサー・コンポーネントを使用して先に進むこともできます。

RAD Studio 10.2では、Bluetoothコンポーネントをすぐに提供できるだけでなく、ホームオートメーションからフィットネス機器、医療機器、環境センサーなど、多くの一般的なデバイス向けに50以上のIoTデバイスコンポーネントを提供しています。

これらは、RAD Studio 10.2 Tokyo[ツール| GetIt パッケージマネージャ]の「GetIt パッケージマネージャ」からダウンロードできます。BLEZ-Waveコンポーネントの両方が含まれています。

たとえば、ジェネリックThingConnect心拍数サービスコンポーネントまたはデバイス固有のIoTコンポーネントのいずれかを使用して、独自のフィットネスアプリケーションを素早く構築できます。 私たちは、GetItの各IoTコンポーネントのすぐに使えるサンプルアプリケーションを提供しています。

Bluetooth LEベースのデバイス用のIoTフレームワークは、TBluetoothDeviceDiscoveryManagerを使用して、一般的なBluetooth LEベースの接続メカニズムとしてIoTデバイスとの接続を管理し、各デバイスをコンポーネントとしてラップします。 たとえば、TWahooTICKRHeartRateMonitorコンポーネントは、Wahoo TICKRハートレートモニターをラップします。

TBluetoothDeviceDiscoveryManagerコンポーネントは、Bluetooth LEベースのデバイスに接続するための基本的なメカニズムを提供します。 TBluetoothDeviceDiscoveryManagerコンポーネントでは、タイムアウトとこれらのデバイスに接続するための再試行回数を定義できます。

 

ThingConnectアプリケーションを構築するには、以下のコンポーネントが必要です。

  • TBluetoothDeviceDiscoveryManagerコンポーネントは、デバイスとの接続を設定するために使用されます。

TPolarHeartRateMonitorコンポーネントを使用すると、Polar H7心拍センサーに接続し、HR測定データの更新を読み取り身体センサーの場所を取得したりするなど、心拍サービスの監視を開始するのは簡単です。

ここでは、RAD Studioを使用して独自の心拍数追跡アプリケーションを構築する方法に関するステップバイステップのチュートリアルを見つけることができます。

RAD Studioでは、完全にカスタマイズ可能なユーザーインターフェイステンプレートを提供しています。 FireMonkey UIテンプレートを使用すると、視覚的に見やすいフィットネスアプリケーションを構築できます。これにより、スタート時点で優れたUI画面が得られます。

FireMonkey UIテンプレート - Home Screen 3、「GetIt パッケージマネージャ」でダウンロード可能。

安静時の心拍数、最後に記録された心拍数および現在の心拍数を表示するために、心拍レイアウトの高さをタップすれば拡大できるようにUIをカスタマイズしました。 これにより、ユーザーは1つの画面上ですべての関連するフィットネスデータを見ることができます。 安静時の心拍数を計算する方法の詳細については、Polarの記事を参照してください。

 

 

 

 


Read More

The Case for C++ in the IoT World

$
0
0

The Internet of Things or IoT is an extremely popular field in technology right now. With all the new tech that fills so many different consumer demands, the wide variety of choices for programming languages are getting some serious attention and I decided to give a nod to C++.

The Internet of Things is all about the connectivity between you and devices or sensors and the internet. IoT turns modern day appliances and gadgets into reliable data loggers that collect and transmit data to be used as information for analytics or to really just to make our lives easier. IoT fills the role of automating aspects of our lives with embedded sensors and user-friendly software.

Selecting the language you want to use for your IoT projects can be difficult and finding one that provides you with speed and processing power required to run and maintain these devices is nightmarish. So when in doubt, the first language I check out is C++.

C++ in IoT

There are many languages that you can use to develop IoT devices and applications.  C++ ranks in the top 6 of popular choices. C++ is an extension of the C language, known for its’ embedded and low-level project capabilities. A middle-level language with object oriented and generic programming capabilities that allows for low-level memory manipulation. Designed for embedded programming, constrained devices and large systems programming, software built with the language excels in speed, performance and efficiency.

Popularity

C++ is everywhere we turn. Database software, operating systems, medical applications, and games are just a few examples real world application using C++. As processors have gotten more powerful and the application landscape has taken on additional challenging requirements, C++ has seen an increase in its usage for IoT solutions. C++ provides greater flexibility, with less energy consumption, making it ideal for small devices that can’t maintain high activity levels due to limited power capabilities.

More complex processing tasks than C

Since C++ is “C” with additional features like data abstraction, objects, and classes, this makes C++ a preference for IoT code on Linux systems. Its similarity to C, allows the advantage of using its processing power, making it a great alternative to C when working on complex tasks. These tasks can be devices that serve multiple functions or have multiple sensors, such as thermostats or sensor tags that detect temperature or moisture in their environments.

In fact, many IoT devices available now are actually programmed in C or C++ because these devices don’t have the processing power required to run a lot of higher level languages and most operating systems available for IoT platforms already have support for C or C++.

Embedded Programming - Hardware specific programming

The “Things” in IoT are considered embedded devices or systems. This means that the hardware consists of sensors, modules and so on that are attached to a computer.

While not always the first choice for embedded programming, the modernization of C++ in recent years has seen a rise in its usage.

C++ is great for writing hardware-specific code and it works really well in Linux, which is the number one IoT operating system. C++ is made to handle the hardware and complex processing at the same time, making it ideal for running on embedded systems that have little memory.

What IoT projects are you building with C++?

As for me, I am currently working on a LEGO Mindstorms application. I recently presented on a webinar called Get Kids Coding and was enamored by the amount of toys available to kids that incorporate the Internet of Things. With Bluetooth LE components in C++Builder and a few 3rd party open-source libraries, I can make an app to control my little LEGO robots!

Building IoT solutions requires data to flow between devices, your connected applications, and the internet. C++Builder streamlines your IoT application development by providing easily to use components for Bluetooth, WIFI, and REST communication protocols.


Read More

Connect to All the Data with FireDAC Enterprise Connectors

$
0
0

Move, integrate, and analyze data with ease utilizing FireDAC Enterprise Connectors, powered by CData. These components allow you to integrate 80+ Enterprise applications, simplifying connectivity into a standard model using SQL. Everything from Salesforce & eBay to Google Sheets & Twilio. In this webinar learn how to leverage your SQL skills and the powerful FireDAC framework to access all the data with Enterprise Connectors

[YouTube Replay]


 

 

More downloads to come!


Read More

Use the Source!

$
0
0

One of the great things about Delphi is not only is it written in Delphi (mostly), but it ships with the VCL, RTL, & FMX source code. You can use this source code in lots of different ways, which I’ll cover in a bit, but sometimes it is a matter of finding the source file with the code you want. There are over 2,234 Delphi source files in the source folder, so it can take a while to find the right file if you don’t know where to look. Not to mention the 1,711 C files, and a few thousand other assorted files.

Source Folder Files

I used to use various GREP and full text searching tools to find the code I was looking for, but then I realized Windows 10 (and earlier versions) has a search function built into it, but you need to make a few configuration changes to use it effectively. So I thought I would outline those for you.

Your source folder is usually located in
C:\Program Files (x86)\Embarcadero\Studio\19.0
but it might be different depending on your installation. I usually Pin it to Quick Access, which makes it easy to access since I find I’m there a lot.

Source Folder

Windows Search and Indexing Options

The next thing to do is configure your Indexing Options. This is what makes it quick to search for files you need. You can find Indexing Options in Control Panel, or just runcontrol.exe srchadmin.dll.

control.exe srchadmin.dll

There are two steps to get the most out of Windows search for your source code. The first is you need to activate Windows search for the file extensions you want, and the second it to tell it to index your folders.

Indexing Options

To add PAS files to indexing click Advanced and go to File Types. You can just type PAS in the list of file types and it will find it for you. You don’t need to add a new extension. PAS files are already listed, but just not indexed by default. Just put a check next to it, and change the “How should this file be indexed?” to “Index Properties and File Contents” that will index all the text contents of the file

Indexing File Types

By default all your user folders are indexed, but Source is in your Program Files folder, so you need to explicitly add it. From the main Indexing Options window click Modify and from there you can add any folder you want to search.

Indexed Locations - Source

It takes a while a while to build and update the index after this change. You just gave it 2,000 more files to index. It has to read all the text out of them, which takes a while. Once it is done then just go to your source folder and use the search box to quickly find the code you are looking for.

Search Results

Everything Search

Everything Software IconAnother great tool to use, to search by file name is the Everything desktop search engine by Voidtools. The thing I love about using Everything is it searches all the file names on your system quickly. The difference between it and Windows Search is Everything only searches the file names, but it searches all the file names.

Everything Search

I find I usually remember the name of a file, but not exactly where I left it. This makes Everything indispensable for me.

Using the Source

So how useful is it that Delphi, RAD Studio and C++Builder includes all this source code? What all can you do with it?

  • Finding that function – You know how I said I can remember the name of a file, but not where I put it? I do the same things with classes and functions. I can remember the name of the method or class, but not which unit it is in. Being able to search all of the source instantaneously to find the source file you need is a huge help.
  • Learning – Just reading source isn’t the best way to learn to program, but having access to the source code is a great way to gain a deeper understanding.
  • Debugging – Sometimes your program doesn’t behave the way you expect it to. When all you have is a blackbox then you are unable to figure out what is happening behind the scenes. When you have the source code you can not only see how that method is implemented, but also debug into the source code, using all the great debugger features.
  • Adding New Features – Maybe there is a new API that was just released, or you need to access an obscure API or 3rd party feature. Since you have access to all the source you can see how other similar APIs are accessed and use that as a roadmap.
  • Fixing or Changing Functionality – One man’s bug is another man’s feature. Sometimes there are bugs you need to fix in the shipping source code, other times you just want to change the way things work. For small changes I just copy the source file out into my project directory. Then my code will use my modifications instead of the original implementation. While you can’t redistribute changed source code, you can compile the code into your program. If you do need to share your changes or fixes you can share a change-set that only contains your changes.

What else do you use the source for?


Read More

モダンライフサイクルに対応した業務アプリケーション

$
0
0

2018年01月にWindows CentralでDaniel Rubino氏が次世代Windows「Polaris」について書いていました。この「Polaris」はWindows Core OS(OneCore+CShell)を基盤とし、レガシーコンポーネントを削除しモジュール化するビッグプランです。一方、Windows 7が2020年1月にサポート終了します。さらに、2015年に最初にリリースされたWindows 10は昨年サービス終了しました。これは、モダンライフサイクルポリシーに準拠しています。2015年のWindows 10と、最新のWindows 10 (1803)は別物ということになります。

 

今年5月の、AdDuplexレポートではWindows 10 1803が50パーセントのシェアで1709が43パーセントでした。これを見てもわかるように、90%以上がCreaters Update以降の新しいWindows 10であることが確認できます。

利用者は、1803にアップデートしていることや、その存在にも気づいていないこともあります。

 

アプリ開発に関してはどうでしょうか?Delphi / C++Builderの場合、バージョン2007を含むそれ以前の旧バージョンでは文字列やVCLのテキスト表示は古いマルチバイト(CP932)です。Windowsが、いつまでこのCP932で表示できるのかはわかりません。XE8, 10 Seattle, 10.1 BerlinはWindows 10に対応していますが、Creators Update(1709)やAnniversary Updateには対応していません(※3)。最新のWindows 10でのアプリ開発には、10.2.3 Tokyo以降の開発環境が必要です。開発ツールは、常にWindows 10のモダンライフサイクルに対応していくことになります。

 

業務アプリケーションも同じく、Windows 10のモダンライフサイクルポリシーを考え、開発をすすめる必要があるでしょう。そして、このライフサイクルに対応できて、はじめてWindows 10対応といえます。しかし、日本の業務アプリ開発手法の多くは、いまだにウォーターフォールモデルです。開発が完了し、納品後システムは十数年使い続け、やがて塩漬けとなります。モダンライフサイクルに対応する開発手法と、開発者が常にシステム再構築できる環境を、整えていくことが業務アプリケーション開発でも重要な課題となるでしょう。

その他、旧バージョンからマイグレーションする場合のDelphi/C++Builder アップグレード支援コンサルティング・ヒアリングシートを用意しております。このフォームは、無料で診断を受けることができます。

 

Windows 10時代のVCL活用指針

VCL(Visual Component Library)は、Delphiのファーストバージョンから続くコンポーネントライブラリです。Windows APIをカプセル化し、簡単なドラッグ&ドロップ操作で、高機能なWindowsアプリケーションを構築できるため、広く活用されてきました。モバイルをはじめとする多様なプラットフォームが普及した現在、VCL はその役割を終えたのでしょうか?その答えは明確に「ノー」です。本書では、Windows向けのアプリケーションを構築する開発者が、今後のテクノロジーの変化を見据えた上で、どのようにコンポーネントライブラリを選択し、アプリケーションを構築してゆけばよいのか、その指針を解説します。

ホワイトペーパー

 

※3 The following information pertains to running the IDE on Windows 10 Creators Update, not to running compiled apps on Windows 10 Creators Update (except when many runtime packages are used).

There are known issues with the way DLLs and runtime packages are loaded and relocated in memory in Windows 10 Creators Update. These issues cause a significant slowdown in the debugger, but also at runtime. While we are investigating, consider holding off moving to Windows 10 Creators Update as your development environment. 

 

 


Read More

ソースを活用しよう!

$
0
0

この記事は、Jim McKeethによるのUse the Source!抄訳です。

Delphiについての素晴らしい点の1つは、Delphi(主に)で書かれているだけでなく、VCL・RTL・FireMonkeyのソースコードがすべて含まれ出荷されていることです。このソースコードをさまざまな方法で利用することができます。これについては少しカバーしますが、コード上で必要なソースファイルを見つけたい場合もあります。sourceフォルダには2,234個以上のDelphiソースファイルがあります。どこにあるのか分からないので正しいファイルを見つけるまでに時間がかかります。 1,711のCファイル、および数千の他のファイルもあります。

以前までは、GREPや全文検索ツールなどさまざまなツールを使ってコードを探していましたが、Windows 10(and earlier versions)には検索機能が組み込まれています。それを、使用するにはいくつかの設定を変更する必要があり、効果的です。それらの方法を概説します。

 

通常インストールした場合のフォルダは「C:\Program Files (x86)\Embarcadero\Studio\19.0」

インストールによって異なります。 私(Jim)は通常、[クイックアクセス]に登録しています。この方法だとアクセスが簡単です。そこにたくさんの登録が確認できます。

 

Windows検索とインデックスのオプション

次に、[インデックスのオプション]を構成することです。 この方法で、必要なファイルをすばやく検索できます。 コントロールパネルで[インデックスのオプション]を見つけるか、[control.exe srchadmin.dll]を実行してください。

ソースコードのWindows検索を最大限に活用するには、2つの手順があります。 必要なファイル拡張子のWindows検索をアクティブにすること、次にフォルダのインデックスを作成するように指示します。 

PASファイルをインデックスに追加するには、[詳細設定]をクリックし、[ファイルの種類]タブに移動します。 リストに「PAS」とタイプするだけで見つけることができます。 [新しい拡張子を追加]する必要はありません。 PASファイルは既にリストされていますが、デフォルトでは索引付けされていません。PASリストにチェックを入れ、 「このファイルのインデックス作成方法」を [プロパティとファイルのコンテンツのインデックスを作成する]に変更します。ファイルとすべてのテキストコンテンツ。

デフォルトでは、すべてのユーザーフォルダのインデックスが作成されますが、ソースはProgram Filesフォルダにあります。したがって、明示的に追加する必要があります。 [インデックスのオプション]メイン画面に戻り、[変更]をクリックすると検索するフォルダを追加できます。

変更後に、インデックスを作成しますので、更新にはしばらく時間がかかります。 インデックスを作成に、2,000個のファイルを追加しました。 すべてのテキストを読まなければなりません。 完了したら、元のフォルダに移動し、検索ボックスを使用して、探しているコードをすばやく見つけることができます。

 

 

Everything サーチ

ファイル名で検索するもう一つの素晴らしいツールは、Voidtoolsの Everything desktop search engine です。 システム上のすべてのファイル名をすばやく検索でき、私(Jim)は好んで利用しています。Windows Searchとの違いは、Everythingはファイル名のみを検索しますが、すべてのファイル名を検索します。

通常、ファイルの名前を覚えていますが、どの場所に配置しているか正確にはわかりません。 なので、これは私(Jim)にとって不可欠なものです。

 

ソースを活用しよう!

RAD Studio Delphi / C++Builderは、このソースコードがすべて含まれていることがどれほど有益でしょうか? 何ができるの?

  • functionを見つける - ファイル名を覚えているが、どこに配置されているのか? クラスとFunctionについても同じことです。 メソッドやクラスの名前は覚えていますが、どのユニットに入っているのかはわかりません。すべてのソースを瞬時に検索できるので、必要なソースファイルを見つけることができます。
  • 学習 - ソースを読んでプログラムを学ぶのは最善の方法とは言えませんが、ソースコードにアクセスすることは、より深い理解を深めるための素晴らしい方法です。
  • デバッギング - プログラムは期待通りの振る舞いをしない場合があります。しかし、持っているものすべてがブラックボックスである場合、あなたは何が起こっているのかを把握することができません。 ソースコードを入手すると、そのメソッドがどのように実装されているかだけでなく、すべての優れたデバッガ機能を使用してソースコードにデバッグすることができます。
  • 追加された新機能 - リリースされたばかりの新しいAPIがあるか、あいまいなAPIやサードパーティの機能にアクセスする必要があるかもしれません。 すべてのソースにアクセスできるので、他の同様のAPIにどのようにアクセスしているのかを見ることができ、それをロードマップとして使用できます。
  • 機能変更修正One man’s bug is another man’s feature. 出荷ソースコードで修正する必要があるバグや、作業のやり方を変更したいときがあります。 小さな変更については、ソースファイルを自分のプロジェクトディレクトリにコピーします。 次に、私のコードは、元の実装の代わりに私の変更を使用します。 変更されたソースコードを再配布することはできませんが、プログラムにコードをコンパイルすることはできます。 変更や修正を共有する必要がある場合は、変更内容のみを含む変更セットを共有できます。

ソースを活用しますか?

Original link

 

エンバカデロ・テクノロジーズ製品に関するお問い合わせは、下記URLまでお願いします。
https://www.embarcadero.com/jp/company/contact-us-japan

 

 


Read More
Viewing all 1683 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>