Board index » delphi » Is DataSnap Tutorial or Example ???

Is DataSnap Tutorial or Example ???


2007-03-20 12:37:32 AM
delphi108
Is there any DataSnap(MIDAS) Tutorial or Sample for Borland Develope Studio
2006 ?
even manual, anything will be greate...
thanks
Matt.
 
 

Re:Is DataSnap Tutorial or Example ???

Hi Matt,
Quote
Is there any DataSnap(MIDAS) Tutorial or Sample for Borland Develope Studio
2006 ?
I've published some articles in The Delphi Magazine, and have also some
free articles online:
builder.com.com/5100-6371-5031887.html
www-128.ibm.com/developerworks/db2/library/techarticle/0212swart/0212swart.html
For DataSnap and SOAP, you can use my dynamic article generator at
www.drbob42.com/soap42.htm (select Delphi 7 for the steps that
will work in Delphi 2006 as well)
Quote
even manual, anything will be greate...
DataSnap is also covered in my Delphi 2005 VCL Database Development
courseware manual, see www.eBob42.com/courseware for details.
Quote
thanks
Matt.
Groetjes,
Bob Swart
--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
Blog: www.drbob42.com/blog - RSS: drbob42.com/weblog.xml
New Delphi 2006 Courseware e-books at www.eBob42.com/courseware
 

Re:Is DataSnap Tutorial or Example ???

Matthew writes:
Quote
Is there any DataSnap(MIDAS) Tutorial or Sample for Borland Develope
Studio 2006 ?
even manual, anything will be greate...
thanks
Matt.
Try searching codegear.com using the Google advanced search page. There
are quite a few articles there.
--
Bill Todd (TeamB)
 

Re:Is DataSnap Tutorial or Example ???

Or look under ($delphi folder)\Demos\Midas\ *
There are many here.
The best way to use Midas is
1. install scktsrvr.exe,
2. start a new application and select Remote Data Module.
3. If you use Interbase or Firebird, drop an IBDatabase set the database
connection properties. Make sure the connection string has 127.0.0.1:C:\etc,
in front of it, so it is remote.
4. Drop an IBTransaction, set stop action to saCommit, connect it to the
database.
5. Drop an IBQuery, connect it to the transaction, set the SQL, test it by
adding the fields in the fields editor. Set Unidirectional to True.
6. Drop a Dataset Provider, connect it to the Query.
Use an IBdataset for inserts, query for everything else.
7. Compile the application, this is your server. Run it to register it.
8. Create a new application, drop a datasnap socket server, set the address
to 127.0.0.1. connect it to the Server using Servername property.
9. Drop a Client dataset, connect it to the socket server using the
RemoteServerProperty. Right click it and select FetchParams then add the
fields in the fields editor.
10. Attach a DBGrid to the client dataset.
Thats it, you have a midas application.
Hope this helps.
Mark Horrocks