You may have seen and experienced quite a number of the advancements in the Uniface 10 product. I presented a Uniface 10 Deep Dive discussing the following:
Containers (vs triggers)
Drag and drop
Viewable inheritance of ProcScript
Modelled components and properties.
Uniface 10 also introduces palettes, templates and snippets:
Palettes are development objects that can contain templates of objects and libraries of snippets.
Palettes and templates provide a formal mechanism to capture your organization’s standards and leverage your existing expertise in both business logic and presentation technology. Practices such as defining field characteristics and behavior can now be encapsulated into a single development object and dropped onto a structure. This greatly increases your productivity as a developer.
Rather than discussing palettes and templates it probably makes more sense to show exactly what can be done with them. I have put together a small workshop that walks you through, step-by-step the process of creating a palette, creating some templates and snippets and then using them to build some samples. The workshop will help you create Windows Forms components, Bootstrap based DSP’s and a sample RESTful implementation that can then be shared internally or to the community.
This and all subsequent materials will be posted in the Uniface Git repositories. This is the place where you can find new and interesting Uniface functionality but also and more importantly contribute to the Uniface community.
We hope you have had a chance to browse around the Uniface samples on GitHub. This blog post will give you some background information and some useful tips for getting started.
Objectives of Using GitHub:
Provide an open public globally accessible area for Uniface code samples and examples
Encourage participation in Uniface projects
Ease configuration and setup of Uniface and Uniface examples
We are using GitHub.com to host our publically available repositories.
In using GitHub.com as the code hosting platform you have the opportunity to work with project authors and on your own projects from anywhere. The GitHub platform is widely adopted, very well understood including many samples and guides (https://guides.github.com/activities/hello-world/) and has a variety of tooling on various platforms to interface with the repositories.
How to get to the Repositories
You can obtain access to the projects by navigating to the GitHub Uniface page https://github.com/uniface and select a Repository. In this example I chose the Project-Startup repository. Once selected the following page will appear:
If you choose ‘Open in Desktop’ it will attempt to use ‘GitHub Desktop’ available here : https://desktop.github.com/. Alternatively, you can just select ‘Download ZIP’ to download an archive of the project, extract and use as a sample.
We have created a series of Repositories that include:
Basic project structure with support for the Project Setup Tool.
Tooling to support development with Uniface including:
· Uniface Meta Tools
· Project Setup Tool
· Signature Wizard
· Version Control setup
User interface implementations:
· Outlook UI
· Uniface Tunes (uTunes)
· Manipulating Windows specific functionality
· Utilizing 3GL in Uniface
· Implementing a REST Api
· Calling REST
· Sharing data across Windows Applications
· Interfacing with a GeoIPDB
The Uniface uClaim application
Detailed usage of:
· Using POSTMESSAGE across your applications
Uniface web basics:
· Basic web framework
In utilizing GitHub you have the opportunity to FORK( https://help.github.com/articles/fork-a-repo/) the project or projects and add their functionality or techniques to your own project. Additionally, you can request that your additions/changes be incorporated into the master. There is no guarantee that your changes will be accepted, just like every other open-source initiative.
Simple setup and execution
Those Uniface projects that require some basic setup utilize the Project Setup Tool to configure the application for your environment, importing sources, creating shortcuts and compiling the application.
While no attempt is made to provide detailed instructions for using Git and GitHub there are numerous sites that provide instructions and tooling on how to use Git and GitHub. Please take advantage of those resources. As this is the beginning of this initiative please feel free to comment and make suggestions.
Welcome to the online Uniface Community. The Uniface community site is a global communication channel for professional users of Uniface Enterprise Application Development