Categories
DataBase

MongoDB FireDAC C++ Sample

I created a simple sample that shows some basic FireDAC functionality with MongoDB in C++ (Works with C++Builder or RAD Studio 10 Seattle)

MongoDB FireDAC C++

This is similar to a one of the Object Pascal / Delphi MongoDB sample. It shows how you can query a MongoDB database using the new TFDMongoQuery component and display it in a grid. It also shows how to handle nested document objects (like Address) and arrays / DataSets (Address.Coords and Grades).

In addition to using the match property of the query, it also allows the specification of a sort and a projection. The projection is used to change which fields of the document you retrieve.

For more information on MongoDB, check out my MongoDB Skill Sprint and register for CodeRage X (Oct 13 – 15)

FireDAC MongoDB NoSQL

 

Categories
News

Anders Hejlsberg on Programming Languages

Anders Hejlsberg at Microsoft Development Center Copenhagen (MDCC) talking about Where are Programming Languages Going? He comes in at about 3:07 and opens with a demo of Turbo Pascal to celebrate it’s 25th anniversary this month.

I love the stats he opens with about where programming languages were when Turbo Pascal came out 25 years ago. A great talk!

Covers DSL, Functional Programming, LINQ, etc.

[Source] [Hat tip Olaf Monien via Twitter]