Retrieve and Modify Images with MobileTogether


Inevitably mobile developers will need to build an app that needs to interact with their users’ camera and gallery.  MobileTogether Designer makes this task easy by providing a set of controls that allow developers to add this functionality to apps in record time.  The video tutorial below is a continuation of our series aimed at working with databases in MobileTogether; it covers steps needed to solicit images and, if necessary, resize those images to fit a user’s device.

 

 

 

If you’re new to MobileTogether Designer, please take a moment to view the MobileTogether Demos page where we have provided links to additional video tutorials and demo apps.

Tags: , , , ,

How to Debug XSLT and XQuery


Nothing’s more frustrating than getting unintended results from an XSLT or XQuery transformation and having to spend hours tracking down the issue – especially if you’ve inherited the project from another developer or haven’t looked at the code in a few months.  Of course, XMLSpy has long included an XSLT debugger and XQuery debugger for setting break points and stepping through transformations to identify problems.

For a more interactive debugging process, XMLSpy also includes XSLT/XQuery back-mapping.

With back-mapping enabled, you can simply click on or hover over the portion of your output document you want to zero in on, and XMLSpy will immediately highlight the source XML and XSLT or XQuery instruction that is responsible. Let’s see how it works.

Debug XSLT with back-mapping

Read more…

Tags: , , , , , , , ,

Learn About XQuery Update Facility


XQuery Update Facility is an extension of the XQuery language that allows you to make changes in an XML instance using “update expressions” that insert, delete, replace, or rename nodes. This extension provides a convenient way to make intelligent updates to XML documents, and XMLSpy has a unique implementation that makes it even easier. Let’s see how it works.

News about XML find / replace

Read more…

Tags: , , ,

Querying and Editing Database Records with MobileTogether


The heart of any app is its ability to view and modify bits of data. By using MobileTogether Designer, developers can build apps which show a broad picture of all data and enable users to easily drill down and edit individual records. This video tutorial will guide you through enhancing the Books sample app by adding the ability to view and edit records.

If this is your first time using MobileTogether, please take the time to view both our getting started video along with part one of our series on working with databases in MobileTogether Designer. Each of these videos will help you become familiar with the interface, phraseology, and provide you with techniques to efficiently build mobile apps.

Tags: , , , ,

Early Software Testing Validates Design


“Test early and often,” is a strategy from agile software engineering that has evolved to become a mandate for software developers in every field. Early software testing is especially important for developers working on cross-platform apps, who must support mobile devices with varying physical characteristics and operating system functionalities.

MobileTogether includes features to incorporate early software testing into the development process without time-consuming compile, deploy, and debug cycles for each mobile platform. The Altova Web site describes the MobileTogether Simulator early software testing feature, and we have blogged about the ability to record and re-run specific sets of actions in test cases.

This post describes Trial Run on Client. It’s built into the MobileTogether Designer to let developers instantly examine app designs and validate logic and functionality across any supported mobile device or platform – Android, iOS, and Windows Desktop or Windows Phone.

Read more…

Tags: , , ,

Steps and Tips to Migrate a Windows MobileTogether Server to Linux


The MobileTogether app development framework includes MobileTogether Server, the back-end hub that powers your mobile and desktop apps.  Available for Windows, Linux, and Mac OS, MobileTogether Server acts as a gateway between end-users and back-end data sources such as databases.

Migrating an existing Windows MobileTogether Server to an Ubuntu box is easy when no database connections are required.  But, if you have database connections, MobileTogether Designer can do all the heavy lifting for you.

As an IT administrator who works with physical and virtual hardware as well as desktop and server software, it has made life easier to create many scripts to help manage repetitive tasks.  Though I’m more of a ‘citizen developer’ with no formal developer training, using MobileTogether Designer to migrate a server with database connections was fast and easy.   Below is a look at how I was able to save my company the cost of a Windows server license by moving solutions to an Ubuntu platform.

computer room

Read more…

Tags: , , ,

Node Functions Simplify Mapping Hierarchical Data Structures


MapForce node functions simplify mapping hierarchical data such as XML nodes or CSV, JSON, EDI, or database fields by permitting users to define a data processing function at the node level and apply it recursively to all descendant items.

Similarly, default values can also be assigned to nodes and automatically applied to descendants.

Defaults and node functions are particularly useful when a data mapping and transformation task requires the same processing logic for multiple descendant items in a structure, for example:

  • Replace null values with some other value, recursively for all descendant items
  • Replace a specific value (for example, “N/A”) with some other value recursively for all descendant items
  • Replace all database null values when reading from a database table
  • Trim all trailing spaces for all values from a source database
  • Append a custom prefix or suffix to all values written to a target file or database
  • Formatting of output values
  • And many others

Defaults and node functions simplify mapping hierarchical data by eliminating need to copy-paste the same function multiple times into a mapping. Repeating the same function unnecessarily clutters the mapping layout and makes it more difficult to understand or revise.

Let’s look at an example.

Read more…

Tags: , ,