INFO 2480-61: Website Database Implementation
  • Syllabus
  • Welcome Letter
  • Week 1: Software and Setup
    • Folder Structure
    • Git: Getting Started
      • Installing a Git Client
      • Creating a Local Repository
      • Making Changes and Merging them
      • Git Wrap Up
    • Git: Github
      • Creating a New Account
      • Creating a Repo on Github
      • Cloning and Forking
      • Cloning a Repo from Github
      • Pushing Changes to Github.com
      • Github: Adding a Collaborator
    • Command Box
      • Downloading the Software
      • Unzipping and Running the Software for the first time
      • Using CommandBox And Installing the UML-Info package.
      • Setting Up Your Local Server
      • Last Step
    • IDE ( Integrated Development Environment )
      • VS Code
      • IntelliJ
    • Journal
  • Week 2: Review of HTML and CSS
    • Making Point In Time and Working Branches
    • Opening our Project from Week 1 and Starting our BoxLang server
    • HTTP Calls and Requests
    • Making a Static Website Dynamic
    • Creating The Management Index.bxm
    • Creating An HTML Form with Bootstrap
    • Last Steps
  • Week 3: Working Forms and our First Table
    • Data Types
    • Case Types and Naming Conventions
    • Database Tools and Your First DB
      • Installing MySql WorkBench
      • Connecting to your MySQL database
      • Creating Your First Table
    • Working Forms
      • Separation of Concerns
      • Configuring Our Site To Use Our Database
      • Capturing Your Form Data
      • Creating Our Server Side Logic
  • Week 5: SQL and Modelling
    • Our Project And Its Users
    • Introduction to SQL
    • Completing our Articles page.
      • Adapting manageArticles.bxm to display existing articles in the database
      • Completing ManageArticles.bxm to Edit Existing Articles.
      • Making Active Articles Appear On The Public Page
  • Week 6: Managing Books
    • Introduction To Modelling
    • Our Data Models
    • Adapting Our Management Page To Be Multi-Tool
    • Creating The Manage Books Page
    • Adding Search To Our Front Index Page
  • Week 7: Working with Selects, Files, WYSIWYG and more.
    • Adding WYSIWYG Capabilities
    • Adding WYSIWYG to the Manage Books Tool
    • Adding Images To Our Store
    • Creating Our Publisher Select Control
  • Week 9: Joins and Better Searching
    • Displaying Our Publisher
    • Searching By Publisher
    • Creating a Browse by Genre
      • Adapting Our Database
      • Building our Queries: Part 1
      • Assigning Genres to a Book in our AddEdit.bxm page
      • Building our Queries: Part 2
      • Building the GenreNav.bxm
      • Adapting The Details.bxm Page to Search By Genre
  • End of Project Checkllist
Powered by GitBook
On this page
  1. Week 1: Software and Setup

Command Box

PreviousGithub: Adding a CollaboratorNextDownloading the Software

Last updated 4 months ago

CommandBox (CB) developed by OrtusSolutions () is a Command Line Interface (“CLI”) which makes many routine and complex tasks easier. If you have used any modern JavaScript tools, particularly node, CommandBox has many of the same functions as NPM. If you have never used those tools, that is perfectly ok as well.

While CommandBox has a number of features built in to it, we are going to focus mainly on two of them which are

  1. The embedded server

  2. The package manager

In order to use your web site truly as it is intended to be used by the rest of the world, it is important to view your site being served from a web server rather than just clicking on FILE —> OPEN in a browser. In order to develop scripted applications, it is essential to have a server to handle the scripting language used. This is comparable to needing a PHP server to process PHP scripts, the Java RunTime Engine to run Java commands and Node server to handle server side Javascript code. CB allows us to solve both of these problems very very easily. In this class, we will be using a scripting language called BoxLang so we will need a BoxLang scripting engine on our local machine.This is very straightforward to do with CommandBox.

There are basically three steps to installing and using CommandBox

  1. Downloading the software

  2. Unzipping and running the software for the first time

  3. Testing the software to become familiar with it.

http://www.ortussolutions.com