Watch, Follow, &
Connect with Us

JT @ Embarcadero

Modernizing your apps with new VCL features in XE7

Marco provides a nice, long technical post on how to add taskbar menus and interactions to update and modernize your existing VCL app to Windows 7 and Windows 8.1

Posted by J T on September 24th, 2014 under Uncategorized | Comment now »


Castalia IDE plug-in is part of the XE7 Bonus Pack

Castalia is an amazing IDE productivity tool. If you haven’t checked it out, you should. And now you can as part or your RAD Studio or Delphi XE7 purchase by September 30th. Marco shares some excitement about it on his blog: http://blog.marcocantu.com/blog/2014_september_free_castalia_xe7.html.

Posted by J T on September 19th, 2014 under Uncategorized | Comment now »


Dynamic Arrays in RAD Studio XE7

Marco discusses a significant new language feature for Dynamic Arrays.

http://blog.marcocantu.com/blog/2014_september_dynamic_arrays_delphixe7.html

Posted by J T on September 18th, 2014 under Uncategorized | Comment now »


New in XE6! Packages for C++ 64-bit Windows

In case you missed it, XE6 delivers package support for the 64-bit compiler for Windows. As an example, in this post I will rebuild the C++ samples package and add one of the controls to a 64-bit C++ Windows VCL applications. First, we’ll open the project group found under C:\Users\Public\Documents\Embarcadero\Studio\14.0\Samples\CPP\VCL\Controls

Now that we can build this package with the 64-bit compiler, we can comment out the compiler output #error for Win64.

Next, we add the 64-bit platform to our project target.

Select 64-bit Windows as the target, and build:

Success! Ok, now we can use it in a project.

Posted by J T on May 9th, 2014 under Uncategorized | 1 Comment »


Windows XP End of Support Survey

With the End of Support scheduled for tomorrow, we thought we’d post a quick survey to understand your plans (if any) to migrate your apps off of Windows XP. It’s only five questions and should just take a few minutes and we would appreciate your input. Click here to take survey.

Posted by J T on April 7th, 2014 under Uncategorized | Comment now »


Windows XP End of Support is on April 8th, 2014

I just fired up a VM with Windows XP for some quick testing of some old code and look what I found?

Have you thought about your migration path off of XP and modernizing your XP applications? If not, check out the replay Marco Cantu’s recent webinar: http://forms.embarcadero.com/ModernWindowsApps3-19

Posted by J T on March 21st, 2014 under Uncategorized | 2 Comments »


AndroidWear video := coolness

Posted by J T on March 18th, 2014 under Uncategorized | 1 Comment »


No time to rest: Endless possibilities with REST for VCL and FM

REST is awesome. There I said it. And, like many of you, I’ve lived through several generations of remoting technologies over the years.

What I like most about REST is its simplicity and inherent flexibility AND the fact that everyone is exposing their services this way AND it’s relatively painless to integrate regardless of the language used. Basically, REST is everywhere and there countless services exposed that will add value to your apps.

In RAD Studio XE5, we’ve introduced components for VCL and FireMonkey to easily integrate REST services and although there have been a few other blogs about it, I wanted to share a simple example that illustrates how REST works really well. For this example, I will wire together a VCL app to gather surf forecast information.

REST is made up of a couple of key concepts: the server, the request, and the response. Additionally, it would nice if the data exchange format, called JSON (which is basically a tuple of strings) could be turned into an compatible dataset to integrate into our UI controls.

So, as I mentioned, the basic REST components are RESTClient, RESTRequest, RESTResponse, and RESTResponseDataSetAdapter. There are of course other components provided in the framework to deal with authentication, with OAuth, for example, but these are the basics.

First up is the API server. Most services will use a convention like api.domain.com. In this example, the service is provided by spitcast.com and they provide the API server api.spitcast.com. So the first thing I need is a TRESTClient component and to set its base URL.

Now, that we are pointing to the API server, let’s setup our first request. REST requests are formatted like an URL off of the BaseURL, using standard HTTP requests, like GET, PUT, DELETE, etc. So, since a big swell is coming in this weekend I would like to see what the top spots are using the resource /api/top/spots.

We are ready to get a response now. REST responses usually come back as a string based data packet called JSON. First, let’s take a look at the JSON through the web browser.

Great, now let’s add a Tesponse component to grab this JSON. And now, let’s execute the request within the IDE and populate the Resonse component.

The request is good.

Now, we should see that JSON packet in our component Content property.

Now, we could parse this simple format but there is a VCL/FM component that can turn this into a compatible dataset that we could easily integrate with LiveBindings. For that we will use a TRESTResponseDataSetAdapter.

After we make them both Active we can add fields and bind the data visually using the Live Bindings Designer to get them into a ListBox.

Ok, everything is setup now and I can see my results live in the designers. Like I said, Awesome!

Now, look at that 3 out 5 top spots are here in Santa Cruz. Choices, choices. :)

So, now that you have a flexible REST client components set for VCL and FM in XE5, go forth and integrate.

And don’t forget to take advantage of our current promotions before December 31st to get REST with RAD Studio XE5. Current offers include "Coding in Delphi" book by Nick Hodges and the InfoPower XE5 VCL Grid and Components in addition the the InfoPower for FireMonkey. And a 45% off upgrade offer for previous owners of any version of RAD Studio, Delphi, or C++Builder.

http://www.embarcadero.com/radoffer

Posted by J T on December 19th, 2013 under C++, C++11, C++Builder, Delphi | Comment now »


Hello iOS 7!

Embarcadero extends congratulations to Apple on shipping iOS 7 today. Now that we have the public shipping bits we are doing some final testing our iOS 7 Style (which should be available to registered XE5 developers shortly). To whet your appetite, here is a screenshot of the FM Controls samples app we built this early afternoon.

~/jt

Posted by J T on September 18th, 2013 under Uncategorized | Comment now »


Delphi Brings ARC to Android

From Marco’s Blog: http://blog.marcocantu.com/blog/delphi_arc_android.html

Delphi mobile compilers use Automatic Reference Counting. While ARC is commonly used on iOS, Android developers generally rely on a Garbage Collector.

Posted by J T on August 30th, 2013 under Uncategorized | Comment now »




Server Response from: BLOGS1