Skip to content

Boston 11/12/13 - Meet and Eat with Al Mannarino and David Price

Boston - Meet and Eat with Al Mannarino and David Price
Today, Tuesday, November 12, 2013 @ 12:00pm-2:00pm

Register here: http://forms.embarcadero.com/AMUSCA13Q4RADXE5Tour-Boston

Boston Public Library,  700 Boylston Street, Boston, MA

Please Join us for a meal and see Embarcadero’s new Android and iOS mobile development technology in action. In this session you will learn how to move from desktop to mobile development delivering true native Android and iOS apps.

At this technical and interactive session, attendees will:

  • See Android and iOS true native apps built from a single code base
  • See multi-device, true native development tools in action
  • Talk with development experts on how you can make the move to mobile today
  • Enjoy lunch compliments of Embarcadero

Who should attend:

  • Mobile app developers
  • Project team leaders
  • Software development managers
  • Technical development directors

Boston Public Library
700 Boylston Street, Boston, MA
Register here:  http://forms.embarcadero.com/AMUSCA13Q4RADXE5Tour-Boston

Using the new REST Client library components to connect to Web & Cloud services (Part 2)

This REST BaaS (Backend as a Service) client tutorial shows how to use the Embarcadero REST Library for accessing REST-based web services (REST stands for Representational State Transfer). The library is available for all platforms that are supported by Delphi. The REST Library framework focuses on JSON as the representation format. XML is not explicitly supported.

In Part 1, we discussed the sample "RESTDemos.exe" (built from sample project C:\Users\Public\Documents\RAD Studio\12.0\Samples\Delphi\RESTDemo).

In this Part 2, we’ll walk through the steps to create a REST Client to use BaaS, using the new REST Client Components in Delphi XE5.

1. Create a new FireMonkey (FM) Desktop HD application.  Set Form.Caption = "XE5_REST_BasS_Client". Save All.  Saved project as:  C:\Users\embt\Documents\RAD Studio\Projects\XE5_REST_BasS_Client\

2. Drop "TRESTClient", "TRESTRequest" and "TRESTResponse" components.

Notice that they are automatically connected together (RESTRequest has "Client" and "Response" properties).

3. In the Object Inspector:

a. For the RESTClient component, for the "Base-URL" enter "http://api.discogs.com/" into the "RESTClient1.BaseURL" property.

b. For the TRESTRequest component, for the "Resource-URI" enter "artist/{NAME}" into the "RESTRequest1.Resource" property.

Notice that "Params" property in the Structure View now contains "NAME" param.

Because of the special {} delimiters it’s a replaceable parameter, we can add the Parms.

4. Select "NAME" param in the Structure View, so it is selected in the Object Inspector.   In the Value property for RESTRequest1.Params[0], enter "Kelly Clarkson" as the "Artist-Name".

So that’s all we need to do!  These three components are automatically hooked up by the designer.  Request references the Client and the Response component is for what we get back from the REST Provider.

5. Right-click on the "RESTRequest1" component in the form designer and select "Execute" to execute the request.

If the request was executed OK, we should see the "Response 200 - HTTP/1.1 200 OK" message:

Click OK to close it.

6.In the Object Inspector,  select "RESTResponse1" component and verify that the "Content" property contains JSON text with information about the artist.

7. To see the data, let’s use Live Bindings.  Right click the "RESTResponse1" component and select "Bind Visually".

The three components have these default members.

8. In the Visual LiveBindings designer, right click on the "RESTResponse1.Content" property and select "Link to New Control". Select TMemo from the "Bind to new Control" list.  Check "Add control label".

Click OK.

9. Reposition and resize the Memo1 component.

10. In the Object Inspector, set the "MemoContent.WordWrap" property to "True". The TMemo displays the RAW JSON results:

11. In the Visual LiveBindings designer,  right-click on the RESTRequest1 "Params.NAME" property, click on "Link to new control" and select "TEdit"

Click OK

12. Move "EditParamsNAME" control on the form out the memo, and more to the top of the form,  like this:

13. Add a "TButton" to the form.  In the Object Inspector, set Button1.Text = "Execute".

14. Double-click on the button and in the OnClick event enter this line of code to execute the request:

RESTRequest1.Execute;

15. Run the project (F9), click on the button to see the response from the service.   RAW Response for Kelly Clarkson gets returned.

16. Change the artist name to something different (i.e. Michael Jackson), click again and observe different response displayed in the memo.

17. Stop the application.  We might be interested in displaying just a subset (some specific content returned) of the JSON response.

18. In the Visual LiveBindings designer change the "MemoContent" "Text" link from "RESTResponse1.Content" to "JSONValue" property.   Now we can drill down into the JSON Value.

19. On the Form, select the RESTResponse component.  In the Object Inspector, RESTResponse has a RootElement property.  JSON has a path, like "resp.artist.profile".   This will go down the hierarchy of the JSON and give us the Profile information.  So this is more useful information, that just seeing RAW JSON returned.

In the Object Inspector, for the "RESTREsponse1" component, enter into its "RootElement" property "resp.artist.profile" and observe that the content in the memo has changed.

This ends this Part 2 tutorial showing how to create a Client using the new Delphi XE5 REST Library components to access BaaS.

In Part 3, we’ll discuss the "RESTDebugger.exe" app (built from C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\source\data\rest\restdebugger) as a tool for making ad hoc requests.

Tagged , ,

Delphi XE5 - Using the new REST Client library components to connect to Web & Cloud services (Part 1)

This REST BaaS (Backend as a Service) client tutorial shows how to use the Embarcadero REST Library for accessing REST-based web services (REST stands for Representational State Transfer). The library is available for all platforms that are supported by Delphi. The REST Library framework focuses on JSON as the representation format. XML is not explicitly supported.

Part 1:

1. Run "RESTDemos.exe" (built from  sample project C:\Users\Public\Documents\RAD Studio\12.0\Samples\Delphi\RESTDemo).

The TABS have REST Service Providers, like Discogs, Twitter, Facebook and DropBox.

A REST Request is a HTTP Request, same as you use in a Browser, except we get a JSON result, instead of HTML mark-up.  JSON, or JavaScript Object Notation, is a text-based open standard designed for human-readable data interchange.

Here we are looking at the Discogs Service.  The URL has a BASE-URL and the Parameters for the URL, are in the RESOURCE-URI.  For the {NAME}, it’s a parameter that can be replaced.  In this example, we replaced it with the name "Kelly Clarkson" string.

This app was built using the new RAD Studio XE5 REST client components.

2. To EXECUTE the app, click on the "fetch artist-details" button and observe the JSON text as the response in the bottom part of the form.

The result is JSON Markup Language Response.  JSON is a hierarchical Markup Language.

This ends Part 1.  For Part 2, we’ll create a Client App to use BaaS, using the new REST Client Components in Delphi XE5.

Tagged , ,

CodeRage 8 starts today!

You exist to build great apps and you’re not alone. Join Embarcadero and software development experts from around the world at CodeRage – the totally free, totally technical, online conference dedicated to technology and development.

CodeRage Delphi starts today October 15, 2013

Register now!

registernow-btn

Why attend CodeRage?

  • Check out all the FREE technical sessions led by industry and Embarcadero product experts
  • Boost your development skills by learning from your peers on their best tips, tricks and processes for software development and management.
  • Learn everything you need to know about Android and iOS mobile development.
  • Gain knowledge about optimizing your use of the world’s leading software development and database management tools.
  • Hang out with other software development professionals around the globe, working hard on the same technologies you do!
  • Scope out the virtual exhibit hall – see all the new HOT products out there

It’s easy to register! Simply click the button above to sign up for any or ALL of the education and training session days.

There’s so much you have to know, so much you have to do, and you’re constantly being challenged to keep up with less – less time, less money, less training, and even less staff. CodeRage strips away the marketing and serves up meaty, real-world technical sessions designed to provide you with information you can put to work immediately in your environment. Plus, CodeRage delivers it to you in the most efficient manner possible – online. Attend the live sessions and interact with session leaders and your peers, or if you miss a session, you can return any time for a video replay version at your convenience.

Tagged , , ,

Android and iOS Meet & Eat - Austin, TX

Thursday, September 12, 2013 @ 12:00pm-1:30pm
Ruth’s Chris Steak House, Austin, TX

Register now for this exclusive session where you will learn how to move from desktop to mobile development delivering true native Android and iOS apps.

Be one of the first to see an exclusive preview of the upcoming release of new Embarcadero Android and iOS mobile development technology and how you can get early access to these tools.

At this technical and interactive workshop, attendees will:

  • See Android and iOS true native apps built from a single code base
  • See multi-device, true native development tools in action
  • Learn about the five mistakes that developers make when moving to mobile and how to avoid them
  • Talk with development experts on how you can make the move to mobile today
  • Enjoy lunch compliments of Embarcadero

Who should attend:

  • Professional developers
  • Project team leaders
  • Software development managers
  • Technical development directors
Tagged , , ,

Android and iOS Meet and Eat!

Toronto, ON
Wednesday, September 4, 2013 @ 12:00pm-1:30pm
Ruth’s Chris Steak House, Toronto, ON

Register now for this exclusive session where you will learn how to move from desktop to mobile development delivering true native Android and iOS apps. 

Be one of the first to see an exclusive preview of the upcoming release of new Embarcadero Android and iOS mobile development technology and how you can get early access to these tools.

At this technical and interactive workshop, attendees will:

  • See Android and iOS true native apps built from a single code base
  • See multi-device, true native development tools in action
  • Learn about the five mistakes that developers make when moving to mobile and how to avoid them
  • Talk with development experts on how you can make the move to mobile today
  • Enjoy lunch compliments of Embarcadero

Who should attend:

  • Professional developers
  • Project team leaders
  • Software development managers
  • Technical development directors

http://forms.embarcadero.com/AMUSCA13Q3RADXE5Tour-Toronto

Multi-Device App Development - iOS, Windows and Mac

On-Device Rapid Prototyping

Bring your next great app to life in less time than you ever imagined

Wednesday, May 22, 2013
6:00AM PDT / 9:00AM EDT / 13:00 UTC
11:00AM PDT / 2:00PM EDT / 18:00 UTC
5:00PM PDT / 8:00PM EDT /
11:00AM 23-May Australia EDT

Register:  http://forms.embarcadero.com/forms/AMUSCA1305RapidPrototypeWebinar5-22

You’re invited to an informative webinar about on-device rapid prototyping to learn how you can use Embarcadero RAD Studio and Delphi to rapidly create real app prototypes with live data or prototype data and deploy to actual target devices (PC, phone, tablet) running iOS, Windows and Mac OS X.

Attend this free rapid prototyping webinar to learn how to:

  • Create a real working prototype, incorporate feedback and get your app to market fast
  • Use the power of components to quickly prototype and deploy multi-device applications
  • Collaborate with users, incorporate their feedback, and deliver richer apps
  • Quickly go from prototype to production without wasted effort

The tips and tools you learn about in this webinar and RAD Studio from Embarcadero will help you save development time and effort. This is must-know information for software developers, mobile app developers and development managers.

Take part in our global webinars on May 22 and then continue the On-Device Rapid Prototyping discussion locally with us on the Friday, May 24 during Developer Direct sessions happening all over the world.

Tagged , ,

Delphi and RAD Studio development for iOS

Registration page  http://forms.embarcadero.com/forms/AMUSCA1303RADStudioMobileWebinar3-14

Thursday, March 14, 2013

6:00AM PDT / 8:00AM CDT / 9:00AM EDT

11:00AM PDT / 1:00PM CDT / 2:00PM EDT

Embarcadero has two exciting solutions for Mobile Development:

1. The new Delphi development solution for iOS is coming soon.  It is the ultimate mobile native development environment, and is the first (and only) native language, cross-platform solution for both iOS (in beta now) and Android (future).

2. HTML5 Builder is a rapid visual development IDE using today’s HTML5 Web technologies to target Web, iOS, Android, BlackBerry and Windows Phone apps.

In addition, Embarcadero offers a technology called DataSnap that enables rapid application development (RAD) of multi-tier web applications. For example, you can place your business logic code and your database calls in the DataSnap service, and then you can use HTML5 Builder or Delphi for iOS to create client-side web or mobile applications that connect to the DataSnap middle-tier layer, access your business logic functions and/or database calls to access your remote databases and return the results to your mobile device and/or your web client.

Lastly, Embarcadero plans to release, in sync with Delphi for iOS, its InterBase database, as an embedded database for iOS and Android.

If you’re interested in developing mobile apps, now is a great time to get started on the path toward multi-device application development using Delphi for iOS and/or HTML5 Builder!

Tagged , , , ,

Delphi and C++Builder Developer Workshop: Migrating VCL Applications to FireMonkey

Thinking about migrating your existing VCL applications to FireMonkey?

Migrating VCL Applications to FireMonkey - Developer Workshop Wednesday, July 25, 2012

BONUS – FREE VCL TO FIREMONKEY CONVERSION TOOL JUST FOR REGISTERING
Register for the webinar and you get a FREE download of the Mida VCL to FireMonkey Converter, Embarcadero Edition for XE2. This timesaving tool will do a lot of the conversion work for you for forms and even database access.

Now is your chance to join the scores of developers and companies who are using FireMonkey to take their applications to the next level. Attend this new technical workshop to learn how, and get a free copy of the Mida VCL to FireMonkey converter tool to help you on your way.

What if you could…?

- Compile your apps to 32-bit Windows, 64-bit Windows* and Mac OS X by just selecting the target platform from a drop-down menu in the IDE – you can with XE2 and FireMonkey!

- Enhance your applications with HD and 3D vector graphics and effects that leverage the power of the GPU for high performance – you can with XE2 and FireMonkey!

- Create iPad and iPhone apps that reuse business logic and code from your existing Delphi VCL apps and develop those mobile apps with Delphi – you can with XE2 and FireMonkey!

Don’t miss out on this chance to learn how you can take your applications to the next level and serve more users on more platforms.

You can do this all even if you don’t currently have XE2!

If you haven’t tried Delphi, C++Builder or RAD Studio XE2 yet then you can attend the workshop, download a 30-day trial of XE2, and use the conversion tool along with your trial to see how it works and experience what your applications can be like with FireMonkey.

* 64-bit available now for Delphi and coming soon for C++Builder

Tagged , ,

Developing for Multiple Mobile Platforms using Web Technologies in RadPHP XE2

Over the past decade, the mobile landscape has changed rapidly. Smartphones have been dominating the market and mobile phones and tablets have become the go-to devices for consumers and business customers alike.

Platforms like iOS and Android have been showing double digit growth year over year, and mobile application development has presented a viable business opportunity for individual developers and enterprise companies alike.

When the iPhone was first introduced to consumers in 2007, it changed the mobile landscape forever. It provided a totally new, interactive mobile experience unlike anything the industry had ever seen before.

With the introduction of the iOS SDK for mobile application development in early 2008, and the launch of the Apple App Store a few months later, a new tech craze was born. Developers around the world could now create mobile app versions of their popular desktop applications. Hundreds of thousands of new applications were developed, allowing users to be productive, creative, and to have fun on their mobile devices. However, back then developers were limited to Apple’s tools and only able to code their applications in Objective-C using Xcode.

In 2011, Apple loosened its restrictions and allowed developers to build iOS apps and sell them through Apple’s App Store without using Objective-C and Apple’s development tools. This spurred new technologies, including mobile web app development frameworks that allow users to create applications for multiple mobile platforms including iOS, Android and BlackBerry using standard web programming languages such as HTML, Javascript and CSS.

Mobile applications built on web technologies can access device sensors and services using platforms such as PhoneGap and can be packaged as native applications. Several Javascript libraries have moved to the forefront of web and mobile web application development. One of those Javascript libraries is jQuery. JQuery has long been a popular JavaScript library for creating rich, interactive websites and web applications. However, since it was designed primarily for desktop browsers, it does not have many features specifically designed for building mobile web applications. JQuery Mobile is a project that addresses this shortfall. It is a framework built on top of JQuery that provides a range of user interface elements and features for you to use in your mobile applications.

PhoneGap is an application platform based on HTML5 that enables developers to build native mobile applications with access to device sensors and services such as the camera, GPS and accelerometer using the aforementioned web technologies. PhoneGap leverages web technologies that developers already know such as HTML, JavaScript and CSS and allows them to build applications with a native look and feel or a common UI across all the target platforms. Applications built with PhoneGap using web technologies can be distributed on the most popular mobile marketplaces, like the Apple App Store and Android Marketplace.

With the release of RadPHP XE2, Embarcadero introduced visual mobile web application development using jQueryMobile and PhoneGap making it easy to work with those technologies. RadPHP XE2 wraps JQuery Mobile features into mobile components, and provides a wizard for PhoneGap. You can create mobile web applications directly from RadPHP, use JQuery Mobile components to create touch-friendly interfaces and PhoneGap components to interact with mobile device hardware, and deploy your applications to Android, iOS and BlackBerry devices.

RadPHP XE2 for Mobile App Development allows you to:
Build mobile-optimized touch-friendly web applications for most mobile devices in the market using new jQuery Mobile components
Visual Mobile Designer to see how apps will look on the real device
Convert PHP apps into standalone mobile apps for iOS, Android and BlackBerry
Interact with the mobile device hardware, like GPS, accelerometer, camera, etc.
Expanded Zend Framework component set with email, barcode, Google, RSS and more
Give your mobile apps access to device features like cameras, accelerometers and GPS in an easy component-based way

RadPHP is unique for mobile app development since it’s the only visual Rapid Application Development (RAD) environment for PHP.  Other development environments may include a visual HTML designer but only RadPHP provides a visual designer that incorporates HTML and HTML templates with visual PHP components that you can drag and drop to create user interfaces and database connectivity. It also has an integrated component class library that lets developers quickly and visually create PHP web applications and integrate PHP open source packages, source code and components.

The RadPHP Visual Component Library (RPCL) adds mobile components and wizards to leverage your PHP skills to create native mobile optimized Android, iOS and BlackBerry applications.

RadPHP XE2 includes dozens of jQuery Mobile components.  The RadPHP IDE lets you quickly create mobile web apps directly from the IDE and use the jQuery Mobile components to create touch friendly interfaces.

You can simulate iOS (iPhone, iPad and iPod Touch), Android and BlackBerry devices and you can add new devices, such as Android tablets.

And the code is 100% pure PHP, JavaScript and HTML code!

After we create our Mobile app in the RadPHP IDE, we’ll use the Wizard for PhoneGap to generate all the files we need to create our native iOS, Android and/or BlackBerry mobile app based on web technologies.

With RadPHP, you build your mobile app once, and the Wizard for PhoneGap creates the native mobile apps for iOS, Android and BlackBerry.

Concluding Remarks
Embarcadero® RadPHP™ XE2 provides the fastest way to build Web, Facebook®, and mobile applications with the only visual PHP framework and IDE that supports Web and mobile deployment. RadPHP XE2 offers over 200 drag-and-drop components for building UIs, displaying and interacting with data and services such as Google maps and Facebook, along with integrated coding, debugging, performance profiling, and database connectivity. To learn more about RadPHP XE2, or to download a trial, visit www.embarcadero.com/radphp
Tagged , , , , , , ,

Bad Behavior has blocked 1 access attempts in the last 7 days.