目前顯示的是 2017的文章

Connect SQL Server from FireDAC in Ubuntu

Now, We could connection database from Ubuntu to SQL Server use Delphi 10.2 FireDAC.

The SQL Server in AWS and Ubuntu version comparison.  For AWS version have support all feature like for Windows version. It's best solution!

If you would understand more about it. You can go to the URL:
Ubuntu(FireDAC)を使ってMS SQL Server(RDS)に接続する。[JAPAN]

Is there a "formal" design pattern to DataSnap?

English version: We learn REST DataSnap framework from technical documents in Embarcadero site.

Usually let us feel about:

Very slow!Unstable!
But, I tried 50000 clients concurrent calling EchoString process into myself DataSnap Service.

......Don't worry.

All process is normal end. It's fine!

My REST DataSnap is strong!

So...Why always have "unstable" infomation appear in many website.

Oh! Because "HTTP persistent connection"!

About "HTTP persistent connection", In wiki is:

HTTP persistent connection, also called HTTP keep-alive, or HTTP connection reuse, is the idea of using a single TCP connection to send and receive multiple HTTP requests/responses, as opposed to opening a new connection for every single request/response pair. The newer HTTP/2 protocol uses the same idea and takes it further to allow multiple concurrent requests/responses to be multiplexed over a single connection.

Although "HTTP persistent conn…

Linux 後端開發初體驗,使用Delphi 10.2 Tokyo

掩飾不住內心的喜悅,今天一裝完 Delphi 10.2 Tokyo,馬上就來試試看 Linux 最可能的應用:Web Application 開發!

在 PAServer 安裝好後,在 Target Platforms 上增加了 【64-bit Linux】編譯選項,環境部署也只不過是數秒的時間。

體驗完 Hello World in Linux Console Mode,接著就是實作一個 Web Broker吧!

但單純只出現一個【Hello WebBroker】實在不能表達我現在的喜悅。

那麼,就搭配 JQuery Mobile 來個前端整合試試看!


在 Linux 上實現 Debug WebBroker。成功!

掩飾不住內心的喜悅,在 Linux 上終於有了解決方案,Delphier 總算是一吐局限在 Windows 平台的悶氣了!

為 Delphi 10.2 練手,IntraWeb 和 EasyUI 的結合實作

我一直以為 IW 只有 Application Mode 和 (Integrated) Page Mode。

在 IW14 版,新增了 Content Handlers 特色後,當時還不是很了解這功能可以帶來什麼好處。

但在看了【IntraWeb 之 EasyUI 篇】後,才恍然大悟,原來前端可以這麼簡單開發:



後端及資料庫: Delphi 10.1 + IntraWeb 14.1.4 + Firebird 2.5
前端: EasyUI (JQuery components) 1.5.1

DIY 修正 JSON.ToString 的處理

在 Delphi 初期支援 JSON 版本,JSON相關類別有個【ToString】的函式,對於異質平台間的轉換需求上,替我們省下了不少時間。

But!人生最重要的就是這個 But!

IntraWeb 未來也要支援 Linux 了!

IntraWeb 在 14 版之後的異變相當大,尤其是 Page Mode 設計上。

在 Delphi 10.2 準備正式發佈時,IntraWeb 官網上也馬上提出新的 Roadmap,除了宣告最低支援開發工具版本之外,還要增加對 Linux 的支援。

Delphier 可以服務的地方就更多了,不再僅是支援 Windows-base。


see also:
IntraWeb 16 Roadmap

10.2 出現後,這個訊息註定讓 Delphier 幾家歡樂幾家愁啊

早在 XE4 時期,在線上手冊就出現這麼一段話:

當時 FireDAC 並不完全成熟,還在想何時才能完全取代 dbExpress 還是未知數,更何況 BDE 現在還活得頭好壯壯啊!

Delphi 10.2 正式名稱為【Tokyo】!

【Delphi 終於正式要重新支援 Linux 】了!

上一次支援 Linux 的產品叫【Kylix】(199x - 2002),CLX Framework,和 VCL framework 可以相容,採 re-compile 方式編譯同一個專案以達到跨平台,那時主打【DataSnap】和【dbExpress】三層架構和資料庫連結技術。

Delphi 對 Linux Server 重啟支援:開始之前

Delphi 10.2 開始對 Linux Server 進行支援,也就是說,FireUI 在這個版本還沒有辦法支援 Linux 圖形介面。

Open dbExpress update - 2017.01.17 version

In version 2017.01.17, the corrections are as follows:

Has been excluded from the installation of BPL, the IDE appears to lead to [Duplicates not allowed] error.At the same time to solve the Run-time must be loaded dbxconnections.ini, dbxdrivers.ini problems.Fixed DEMO program can not compile problem.

In the [Open dbExpress update, RAD Studio 10.1 Berlin is supported!] Mentioned installation will jump out [Duplicates not allowed] error message, and then [Setup an ODBC connection to a MS Access DB under Data Explorer in XE2 Enterprise that does not use A DSN] is a bug in Open dbExpress.

The main reason is that the "'" is already used by RAD Studio's built-in ODBC (AddCommandFactory), causing the later Open dbExpress to re-add the same name, resulting in this error.DEMO program did not join the SOURCE directory, so the compiler will not find the PAS file, the problem has been corrected correctly compiled.
Download Open dbExpress 2017.01.17 supported RAD Studio 10…

Open dbExpress update, RAD Studio 10.1 Berlin is supported!

Please see " Open dbExpress update - 2017.01.17 version "
I have always thought, Open dbExpress is a very cool product, using ODBC to reach a variety of connection database, and the open source code, allowing more people to maintain.

Do not worry about this product like DBX4MySQL, terminate the support of the incident.

However, Open dbExpress after 2014, also in a tragic situation of unmanned maintenance. Until 2016, support for RAD Studio is limited to XE2.

Continued in the discussion area to see whether people continue to ask whether the continuity of the Open dbExpress support.

Now, I'm happy to announce that Open dbExpress has been revived to support RAD Studio 10.1 Berlin.

Please note! XE3 ~ Seattle not yet supported.

Test MS SQL Server and MS Access can connect and get the data.

Known Issues:

1. Install dbxoodbc240.bpl, click IDE DataExplorer in the tree-node for dbExpress, will output [Duplicates not allowed.] Error message. Thi…