Blog

BoxLang: Available for Chromebook!

Maria Jose Herrera June 13, 2024

Spread the word

Maria Jose Herrera

June 13, 2024

Spread the word


Share your thoughts

Discover the Power of BoxLang on Your Chromebook!

BoxLang is now available for Chromebooks, your ultimate guide to running and developing BoxLang applications on Intel-based or ARM-based Chromebooks. This comprehensive guide will take you through installing all prerequisites, setting up BoxLang, and using VSCode to create your first application. Here's a quick overview to get you started:

Learn All the Details


Why BoxLang for Chromebooks?

Chromebooks are fantastic for developers because they can install a Debian Linux container alongside Chrome OS. This makes running and developing BoxLang applications on your Chromebook simple. Chromebooks have gained popularity among developers and students due to their unique blend of affordability, portability, and robust integration with Linux. By bringing BoxLang to Chromebooks, we are creating a powerful platform for learning and development. Here’s why BoxLang on Chromebooks is a perfect match for students:


Advanced Learning Opportunities

  1. Exposure to Modern Programming Paradigms:
    • Object-Oriented Programming (OOP): Students can learn and apply OOP principles, which are fundamental in many software development practices.
    • Functional Programming (FP): BoxLang's support for FP constructs allows students to explore different ways of thinking about problem-solving and software design, broadening their understanding of programming paradigms.
    • Metadata Programming (MP): Dynamic MP capabilities in BoxLang teach students how to work with metadata at runtime, a valuable skill for developing flexible and extensible applications.

Versatile Runtime Environment

  1. Java Virtual Machine (JVM) Compatibility:
    • Cross-Platform: Since BoxLang runs on the JVM, students can develop applications that are inherently cross-platform, giving them practical experience in writing portable code.
    • Rich Ecosystem: Access to the extensive Java ecosystem, including libraries and frameworks, enhances the learning experience by allowing students to leverage existing tools and resources.

Dynamic and Loosely Typed Language

  1. Ease of Learning and Flexibility:
    • Dynamically Typed: BoxLang's dynamic typing reduces the initial learning curve, making it easier for beginners to start coding without worrying about strict type definitions.
    • Loosely Typed: This flexibility allows for rapid prototyping and iteration, encouraging experimentation and creativity among students.

Enhanced Development Experience

  1. Interactive Learning:
    • REPL (Read-Eval-Print Loop): A REPL environment on Chromebooks enables students to write and test BoxLang code interactively, receiving immediate feedback and facilitating a hands-on learning approach.
    • Integrated Development Environments (IDEs): Chromebook-compatible IDEs or online code editors that support BoxLang can provide features like syntax highlighting, code completion, and debugging tools, improving the overall development experience.

Cloud Integration and Collaboration

  1. Seamless Collaboration:
    • Cloud-Based Development: Chromebooks' cloud-centric nature allows students to easily share and collaborate on BoxLang projects, promoting teamwork and peer learning.
    • Version Control: Integration with cloud-based version control systems like GitHub or GitLab provides students with real-world experience in collaborative software development and version management.

Real-World Application and Preparation

  1. Industry-Relevant Skills:
    • Modern Language Features: By learning a modern scripting language with advanced features, students gain skills that are highly relevant and sought after in the tech industry.
    • Versatility: The ability to develop both small scripts and large, complex applications prepares students for a wide range of programming tasks and challenges.

Community and Support

  1. Active Learning Community:
    • Open Source Contributions: Students can contribute to open source projects written in BoxLang, gaining practical experience and connecting with a broader community of developers.
    • Support Networks: Access to forums, online courses, and documentation specific to BoxLang and its JVM ecosystem provides robust support for learners at all levels.

Learn More


Getting Started

  1. Requirements:
    • Chromebook with at least 4GB RAM
    • Linux Developer Environment enabled
    • JDK 21+ installed

  1. Set Up Linux Environment:
    • Go to Settings > Advanced > Developers and install the Linux environment.

  1. Install Essential Tools:
    • Update your OS and install necessary tools via the terminal:

    ```bash
    bashCopy code
    sudo apt-get update
    sudo apt-get full-upgrade
    sudo apt-get install zip unzip curl git gnome-keyring
    
    ```

Full Tutorial


Installing Java and BoxLang

  1. Install OpenJDK 21:
    • Download and install the appropriate version for your processor (ARM or x64) from Adoptium.

  1. Install BoxLang:
    • Run the BoxLang installer with a single command:

    ```bash
    bashCopy code
    sudo /bin/bash -c "$(curl -fsSL https://downloads.ortussolutions.com/ortussolutions/boxlang/install-boxlang.sh)"
    
    ```

Get Started


Setting Up VSCode

  1. Download and Install VSCode:
    • Choose the Debian package for your processor and install it.
    • Open VSCode and install the BoxLang extension from the Extensions Marketplace.

Your First BoxLang Project

  1. Create and Run a Simple BoxLang File:
    • Create a file named Hello.bx and add the following code:

    ```
    boxlangCopy code
    class{
    
        function main( args = [] ){
    
            println( "Hello from Chromebook land and BoxLang on #now()#" )
    
        }
    
    }
    
    ```
    
- Run the file in VSCode to see the output.

  1. Create a Simple Web Application:

    • Create an index.bxm file and use the <bx:output> component to display output on the website.
    • Run the BoxLang MiniServer and view your application in the browser.

Learn More


Conclusion

With BoxLang now available on Chromebooks, you can easily start coding and developing powerful applications right from your device. Follow our detailed guide to explore all the features and capabilities of BoxLang on your Chromebook.

Get Started

Add Your Comment

Recent Entries

Ortus June 2024 Newsletter!

Ortus June 2024 Newsletter!

Welcome to the latest edition of the Ortus Newsletter! This month, we're excited to bring you highlights from our sessions at CFCamp and Open South Code, as well as a sneak peek into our upcoming events. Discover the latest developments in BoxLang, our dynamic new JVM language, and catch up on all the insightful presentations by our expert team. Let's dive in!

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang June 2024 Newsletter!

BoxLang June 2024 Newsletter!

We're thrilled to bring you the latest updates and exciting developments from the world of BoxLang. This month, we're diving into the newest beta release, introducing a new podcast series, showcasing innovative integrations, and sharing insights from recent events. Whether you're a seasoned developer or just getting started, there's something here for everyone to explore and enjoy.

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang 1.0.0 Beta 3 Launched

BoxLang 1.0.0 Beta 3 Launched

We are thrilled to announce the release of BoxLang 1.0.0-Beta 3! This latest beta version is packed with exciting new features and essential bug fixes, including robust encryption functionality, enhanced Java interoperability, and more efficient event handling. Key highlights include the introduction of query caching capabilities, seamless coercion of Java Single Abstract Method (SAM) interfaces from BoxLang functions, and support for virtual thread executors. So, let’s dive into the details of what’s new in BoxLang 1.0.0-Beta 3 and how you can start leveraging these updates today!

Luis Majano
Luis Majano
June 28, 2024