#1 2020-10-14 07:17:17

charlesqin
Member
Registered: 2020-10-14
Posts: 7

Newbie questions : CRUD in VCL clients with data-aware components

hello,
  i'm read the SAD many times and search in this forum, but can't find examples for use HTTP Client/Server with RAD approach.

  i'm use dateset, dbgrid, TEdit ect... in clients for data Presentation and edit, update to database.   

  but i don't want to use ORM,  it's an new ERP application and has a lot of tables.  i'm think is difficult to use ORM.

  anybody can give me some help?  thanks.

  sorry for my bad english.

Last edited by charlesqin (2020-10-14 07:25:12)

Offline

#2 2020-10-14 07:52:06

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: Newbie questions : CRUD in VCL clients with data-aware components

Check https://tamingthemormot.wordpress.com/2 … databases/

And then fill the UI components - which may not be DB components with the returned data.
For a fast VCL grid, see mORMotUI.pas.
For a TDataSet component from JSON - as returned by mORMot REST endpoints using RawJSON - see mORMotVCL.pas.

Offline

#3 2020-10-14 08:20:34

charlesqin
Member
Registered: 2020-10-14
Posts: 7

Re: Newbie questions : CRUD in VCL clients with data-aware components

hi ab,
  thanks for quick reply.

  but how to apply the dataset modifications to server then to database.

  Sample 17-TClientDataset Apply Updates use TSQLDBConnectionProperties,it's not fit this case.

Offline

Board footer

Powered by FluxBB