Unlocking the Power of Low-Code: Bridging Freedom and Lock-In

Written by wavemaker | Published 2023/09/18
Tech Story Tags: low-code | low-code-platforms | wavemaker | low-code-development | is-low-code-any-good | code-vs-low-code | good-company | code-behind-approach

TLDRRead how low-code enables code access for developers, lends flexibility to customize, and transforms the application development landscape with enhanced performance.via the TL;DR App

In recent years, low-code development platforms have surged in popularity, promising to revolutionize the way we create applications. These platforms offer an enticing prospect: the ability to design and deploy applications with minimal coding knowledge or experience. By abstracting away much of the complexity traditionally associated with coding, they empower individuals and organizations to rapidly bring their software ideas to life.

However, the allure of low-code development also comes with a set of challenges, particularly when tackling complex applications that demand custom logic, intricate integrations, and exceptional performance. Such sophisticated systems often push the boundaries of a low-code platform's capabilities, probing the depths of its feature richness, security, scalability, and adaptability.

So, why do developers still find themselves reaching for the keyboard and writing code? In this exploration of low-code development, we will delve into the scenarios where developers wield their coding skills to supplement the capabilities of low-code platforms and address the intricate needs of modern software development.

The Intersection of Code and Low-Code

At the core of low-code development lies the idea of simplifying the software creation process by offering pre-built components and visual interfaces. These components serve as building blocks, enabling users to construct applications with minimal manual coding. However, when it comes to complex use cases, custom integrations, and the pursuit of peak performance, developers often find themselves at the forefront of the development process.

  1. Custom Logic and Integrations

    Complex applications frequently require custom logic tailored to their unique functionalities. Whether it's implementing intricate authentication mechanisms, conducting data validations, performing pre or post-processing of data, crafting customized user interactions, or adhering to specific branding guidelines for the perfect user interface, developers step in to code these specialized elements. These scenarios push the boundaries of what low-code platforms can handle out-of-the-box.

  2. Integration with External Systems

    In today's interconnected digital landscape, most modern applications interact with external databases, APIs, or services. While low-code platforms offer an array of out-of-the-box connectors and integrations with popular systems, there are situations where developers need to write code to facilitate seamless data exchange between the low-code platform and external systems, particularly when dealing with legacy software.

  3. Performance Optimization

    Performance optimization remains a paramount concern in software development. When an application's performance is mission-critical, developers dive deep into the underlying code to fine-tune it. They optimize specific aspects of the application to enhance efficiency, reduce latency, and manage large volumes of data gracefully. The pursuit of peak performance often necessitates direct code intervention.

  4. Advanced Customer-Facing Apps

    While low-code platforms excel at streamlining in-house processes and automating business workflows, they may fall short when it comes to building intricate customer-facing applications. These apps often involve complex user journeys, integrations with external systems, and specialized features beyond the scope of typical low-code capabilities. Developers play a pivotal role in coding these advanced or niche features.

The Quest for Open Standards

One notable distinction among low-code development platforms is their approach to code generation. While some platforms follow a code-behind strategy, generating code based on open standards, others operate within proprietary frameworks. The choice between these two approaches can significantly impact developers' freedom to code and the potential for vendor lock-in.

  1. Code-Behind Approach

    Low-code platforms adopting a code-behind approach provide developers with the best of both worlds. They leverage visual development tools for frontend and logic creation while generating backend code from models, databases, or APIs. This generated code is accessible and modifiable as needed, granting developers fine-grained control over the application.

  2. Code Export Capability Certain low-code platforms offer developers the ability to export generated code, either in part or in full. This functionality proves invaluable when integrating with existing systems, implementing advanced customizations, or migrating applications to different environments. The availability of code export options is a crucial factor in determining the extent of code freedom.

    Balancing Expectations with Realities When developers and enterprises embrace low-code platforms, they come with a set of expectations shaped by the promises and potential of these tools. Let's explore these expectations in detail:

    1. Rapid Application Development

      Low-code platforms are celebrated for their ability to accelerate the coding, testing, and deployment of applications. The promise of quicker time-to-market remains a compelling reason to adopt these platforms.

    2. Visual Development Visual interfaces and drag-and-drop functionality enable users to intuitively design applications, create user interfaces, establish workflows, and integrate various components. The visual aspect simplifies the development process, even for those with limited coding experience.

    3. Customization and Extensibility Flexibility and extensible frameworks are essential for accommodating custom code, integrating existing systems, and leveraging third-party libraries and APIs. Developers rely on this customization capability to meet specific requirements and extend functionality.

    4. Integration Capabilities Low-code platforms offer seamless connectivity with external data sources, cloud services, and legacy systems through APIs and libraries. This integration prowess is critical for modern applications that rely on a multitude of external services.

    5. Scalability and Performance As applications grow, they must handle increasing demands for scalability and performance. Low-code platforms must provide the tools and mechanisms to optimize performance and efficiently manage large volumes of data.

    6. Support for Software Development Lifecycles (SDLC) Developers often work in teams, necessitating low-code platforms to support standard SDLC processes like iterative development. Features such as version control, code sharing, and collaborative development environments are vital for successful team collaboration.

    7. Error Handling Robust error-handling mechanisms ensure that applications remain stable and secure. Low-code platforms should offer debugging and troubleshooting tools to identify and resolve issues promptly.

    8. Deployment Flexibility Flexibility in deploying applications to various environments, including cloud platforms, on-premises servers, and mobile devices, is essential. Low-code platforms should support multiple deployment options and provide seamless deployment processes.

    9. Extensive Component Libraries Rich sets of pre-built components and templates, encompassing ready-to-use UI components, connectors for popular services, and reusable modules, significantly accelerate application development.

Understanding Vendor Lock-In

As organizations embark on their low-code journey, one critical consideration is the potential for vendor lock-in. Vendor lock-in concerns revolve around the extent to which applications built on a low-code platform can remain independent and accessible for future modifications or upgrades. These concerns encompass several aspects:

  1. Deployment Independence Enterprises often assess vendor lock-in concerning runtime independence, allowing them to deploy applications on their choice of infrastructure for compliance reasons. This requirement ensures that organizations retain the flexibility to deploy low-code-built applications on their preferred cloud or infrastructure.

  2. Customization and Extension For software product vendors or independent software vendors (ISVs) utilizing low-code to develop their products and solutions, the ability to access and modify code outside the platform becomes critical. This level of freedom ensures that downstream product users can tailor and enhance applications as needed.

  3. Development and Modification of Application-Generated Code Similar to software product vendors, system integrators (SIs) leverage low-code platforms to expedite development and enhance customer experience. These SIs evaluate low-code platforms with a focus on code accessibility and modifiability. They seek the ability to develop, modify, and maintain application-generated code outside the platform.

  4. Upgrading the Underlying Technology Stack In some cases, organizations may require the flexibility to upgrade the underlying technology stack independently of the low-code platform. This independence ensures that applications can evolve with changing technological landscapes. Code Accessibility: The Spectrum of Possibilities Low-code platforms vary in their approach to code accessibility, with some offering more freedom than others. Here's a closer look at the range of possibilities:

  5. Platforms that Don't Give Code Access Many low-code platforms adopt a closed ecosystem where code access is limited or nonexistent. These platforms rely on predefined components and models, often locked into the platform's runtime. While they simplify application development, they may also restrict developers' ability to customize or extend the codebase. Frontend Limitations: The frontend of such platforms typically relies on pre-built UI components with minimal customization options. Extending or modifying these components can prove challenging. Backend Proprietary Frameworks: The backend may use proprietary runtime frameworks that lack flexibility for adding custom logic or code-based customizations. These platforms typically impose lock-in across all aspects, from deployment to customization.

  6. Platforms that Use Code Behind Low-code platforms that adopt a code-behind approach offer a more transparent development process. They use visual development tools for frontend and logic creation while generating backend code based on open standards frameworks. In such platforms, developers retain access to the generated code, enabling customizations beyond the platform's built-in features.

  7. Platforms Providing Code Export Certain low-code platforms bridge the gap by allowing developers to export generated code, whether partially or entirely. This export capability facilitates integration with existing systems, advanced customizations, and migration to different environments. Developers gain direct access to the underlying implementation, providing them with more control and freedom.

    Exploring Low-Code Platforms: What the Providers Say

    To shed further light on the nuances of code accessibility in low-code platforms, let's examine what some popular platforms have to say about the code they generate:

    OutSystems

    OutSystems offers a hybrid approach, where some parts of the generated code can be accessed and modified by developers, while others remain proprietary. It allows developers to detach the source code from the platform, retaining the last version of the generated application source code and database schema. This detached code can be built and run on the .NET runtime used for code generation, but it comes with limitations. Once the source code is detached, platform services such as deployment, configuration management, versioning, packaging, monitoring, and analytics are no longer available. Modifications to the detached source code can be made using Visual Studio or Eclipse but cannot be re-integrated into the platform once altered.

    Mendix

    Mendix adopts a model-driven development approach, focusing on extensions rather than direct code customization. Developers can extend the platform by writing code extensions, such as frontend widgets and backend connectors. Frontend extensions leverage JavaScript libraries like React, Angular, and D3, while backend extensions support integrations with REST, SOAP, and OData objects. However, customizing the code generated by Mendix is typically not possible. The platform interprets the model and generates runtime functionality, effectively locking in the application code, making it inaccessible for maintenance, modification, or customization outside the platform. Mendix does provide an API/SDK to access application models programmatically, facilitating potential migrations to alternative low-code platforms or traditional programming languages like Java and Hibernate.

    Retool

    Retool employs a proprietary language for defining components and actions and generates code for backend integrations and API calls. However, this generated code is not directly accessible to users. The underlying code remains hidden, limiting opportunities for customizations beyond the platform's offerings.

    Appian

    Appian adopts a unique approach, using a proprietary language known as SAIL (Self-Assembling Interface Layer) for frontend interface creation and a combination of Java and BPMN (Business Process Model and Notation) for backend logic. While SAIL resembles other frontend languages, it remains specific to the Appian platform and is not accessible outside of it. Similarly, the Java and BPMN code generated by Appian remains hidden from developers. Instead, Appian provides a range of pre-built components and APIs that developers can leverage to extend the platform's functionality.

    WaveMaker

    WaveMaker offers a distinctive approach where both frontend and backend code generated by the platform are accessible. The code is based on popular open standards stacks, including Angular, React Native, Java, and Spring. This generated code is human readable and offers extensions at each layer which allows code to be customized and edited using IDEs like Eclipse or IntelliJ. WaveMaker uses metadata-driven code generation, and while editing the generated code is possible, it may complicate platform or application stack upgrades. The backend code generated is pure Java and does not include WaveMaker-specific syntax, providing a flexible canvas for customization and extension. Additionally, WaveMaker offers frontend extensions for handling widget states, events, data processing, and more, along with backend extensions for custom authentication, data interception, API orchestration, and API creation.

The Code-Enhanced World of Low-Code

In the dynamic landscape of software development, low-code platforms offer a promising avenue for rapid application creation and innovation. These platforms simplify the development process, making it accessible to a broader range of users, while also empowering professional developers to extend and customize applications to meet specific needs. However, the allure of low-code is accompanied by the challenge of potential vendor lock-in. Organizations must carefully evaluate low-code platforms, considering factors such as code accessibility, customization capabilities, and deployment independence. Ultimately, the degree of code freedom within a low-code platform can significantly impact an organization's ability to adapt, evolve, and thrive in the ever-changing digital landscape. The balance between visual development and code accessibility represents the intersection where innovation and flexibility meet, creating a world where low-code empowers developers to unlock their full creative potential. In this symbiotic relationship between low-code and code, the future of software development holds exciting possibilities.


Written by wavemaker | WaveMaker is a low-code platform for composable experiences.
Published by HackerNoon on 2023/09/18