Angular, REST and Rocket U2

Web developers today are building increasingly sophisticated front end clients that need to be backed by a heady mixture of ease of use and high performance business logic. Speed and scalability are everything in the drive to bring engaging and proactive experiences to your customers. Websites must compete for our attention and we, as consumers, expect only the best.

The platforms and conventions that have risen to this challenge reflect a very different world view to the hegemony of the relational protocols of only a few years ago. MultiValue platforms, such as the Rocket U2 family, with their rich heritage, strong business language and complex data model are perfectly placed to take advantage of these opportunities.

Angular, from Google, lies at the forefront of this revolution. Angular has evolved into a mature and exciting framework allowing teams to build and test hugely scalable web sites that behave more like desktop applications than traditional web pages. The old AngularJS has been wholly replaced with a component-driven model offering data binding, deep routing, and a template-driven approach that takes away much of the pain of writing and maintaining Single Page Applications.

In this series, I will be walking through just one of the many development stacks available to modern U2 developers: Angular with Bootstrap; REST APIs and the U2 application development platform. The U2 model is nothing if not flexible and open, and so we will look at two very different approaches to exposing U2 functionality through REST; using the built-in U2 RESTful Services and taking a multi-tiered approach using .NET Web API.

In this first post Blog – Angular, REST and U2 Part 1, we will set up an Angular project to run using Visual Studio 2017 and explore the workings of the Angular model. This will give you the basic building blocks to understanding the Angular framework and introduce TypeScript, the highly typed JavaScript derivative used for declaring and writing Angular components. We will learn how Angular components interact to form a Single Page Application.

This series is pitched at those U2 developers new to Angular, TypeScript and REST. Some knowledge of the U2 model and languages is required. If you need to discover more, please download my free tutorial ‘Writing your First U2 Application’ from http://www.brianleach.co.uk. This steps you through the process of building a simple .NET application for U2 from first principles.

Brian Leach 5 Posts

With a degree in Old English and Medieval Studies and a qualification in Traditional Chinese Medicine, it was perhaps inevitable that Brian Leach became a MultiValue developer. He served his time working for a PICK-based software house becoming product manager for a number of local government finance solutions. Soon after one of his clients took the first copy of UniVerse to leave the shores of the US, he became the first hire for ADG, the original Master Distributor for UniVerse in the UK and Europe. Through this subsequent work as a head of development with ADG, MMT and Microgen, Brian focused on cutting edge MultiValue techniques, client/server and web development, tools and middleware solutions, as well as building a portfolio of consultancy and training. A founding board member and past president of the U2 User Group, in 2008 he was recognized as an inaugural IBM Information Champion. Today, Brian works as an independent MultiValue consultant, trainer and tool developer specializing in bringing the latest technologies and best practices to the platform. He is passionate about MultiValue in the modern world, actively contributes to the user communities and publications and has authored a number of books on UniVerse. Most recently he has been leading MultiValue developers in adapting Agile principles and automated testing to improve code quality and has worked with some of the largest – and smallest – MultiValue sites. Brian lives in rural Oxfordshire, UK, where he writes and directs the village pantomime each year. A former Cathedral Chorister he has returned to his other joy – singing – now that his girls have grown up and moved beyond earshot.

1 Comments

  • Marcos Alonso Vega Reply

    June 15, 2017 at 1:30 am

    Very interesting. Thank you very much.

    Marcos Alonso Vega.

Leave a Comment

Your email address will not be published.