BCS Ubuntu Internet Server

There are those times when you are required to produce an active internet server to support delivery of web content and relational database management systems services.  My first choice is the Ubuntu headless server.  This server allows enough flexibility to support Apache, Java, Grails, Ruby on Rails, PHP, Yii, Action Message Format (AMF) Flash Builder and Flex,  (32 and 64 bit) thin client windows application and dot net web application servers. The RDBMS of choice is MySQL.  The significance of using this approach is that it supports thin client windows application to become conversant with MySQL.  This thin client does not require any additional middle ware layer such as ODBC or any other layer.

Another advantage of using Ubuntu is it supports practically all known web technologies and practically all domain specific languages (DSL).

On occasions I develop end user applications on the windows platform and the port them to the server via a web archive (WAR) file where Tomcat 8 application server hosts the allows access to the end user application.

tomcat 8

On other occasions I develop shell scripts to invoke the desired commands which builds the application.  This is typically used for Grails and Ruby On Rails applications.  Also shell scripts are useful whenever a series of shell command need to be executed for various purposes.

Normally when I develop software the Eclipse IDE is the IDE of choice.  There are those occasions when I use Delphi to develop 32 and 64 bit windows and OS X applications.  Plus Delphi has the environment to develop all the mobile and tablet applications in a single platform development environment.

Webmin is a windows based GUI that provides a vehicle to perform almost all the system administration tasks required to keep your server current.

web admin base
Below is a screen shot of the File Manager of Webmin.

webmin file manager

Below is an example of the editor for Webmin.

webmin edit

Putty a secured shell server that is also used to handle other server administration tasks.  The primary difference between Putty and Webmin is the lack of a GUI for issuing commands.  Putty is strictly a command line shell.


The secure connection employed by Putty offers a peace of mind and a sense of security for an environment as powerful as the command environment.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Install Eclipse Mars SDK

There are those times when you would like to install the Eclipse Software Development Kit (SDK) Integrated Development Environment (IDE). The Eclipse SDK project’s code name is Mars. I have chosen Mars because it supports all Domain Specific Languages (DSL), PHP and practically all the mobile interfaces in a single IDE. The MVC approach is supported nicely in all programming development environments under Mars SDK. This article makes you aware of the dependencies and pitfalls of installing the Eclipse SDK IDE.

First install the Java Development Kit (JDK). The Java Runtime Environment (JRE) is not sufficient for successful Eclipse invocation. Eclipse SDK IDE will not function without at lease one JDK installed. This approach will work until the desired results are not attained. Troubleshooting begins when the desired functionality is not produced. Typically there is nothing to troubleshoot at this point.

The next step would be to install the Eclipse SDK. This lightweight SDK IDE footprint will allow the developer the most flexibility for a software development IDE.

To install Grails first install the Eclipse Marketplace Client.

Once the Eclipse SDK is installed click on the “Help” menu item. Then select the “Install New Software” sub menu item. At the next dialog be sure to select “All Available Sites” option on the first drop-down.

ecl inst

Traverse to the “General Purpose Tools” and left click the selector to view its children. You will notice “Marketplace Client” towards the end of the list. Left click to check it (to be installed) then click the “Next Button” and follow the prompts. This will install the “Marketplace Client”.

Once the “Marketplace Client” is in place click “Help”. Select “Eclipse Marketplace” and when the dialog appears type “Grails” in the Find (search) box of the Market Place Client dialog.

ecl mp

Select the “Install” Option of the most recent Groovy / Grails Tool Suite available. Follow the prompts to successfully install the Grails nature to the Eclipse SDK.

To install the PHP nature to the Eclipse SDK IDE click on the “Help” menu item. Then select the “Install New Software” sub menu item. At the next dialog be sure to select “All Available Sites” option on the first drop-down. Traverse to the “Programming Languages” and click the control on the left to reveal its children. Near the end of the list you will see the “PHP Development Tools (PDT)”. Select that item for installation then click the “Next” control near the bottom of the dialog and simply follow the remaining prompt to install the PHP nature to the Eclipse SDK IDE.

ecl php

By following these simple instructions you have just enabled the Grails and PHP perspectives / nature to the Eclipse SDK IDE. Your IDE is second to none for these two software development environments as well as other perspectives you may install or activate.

You may proceed to add other natures/perspectives to the Eclipse SDK IDE as you deem necessary. Eclipse Mars can accommodate practically all of your computer software development requirements.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Eclipse Mars IDE

Well folks Eclipse has done it again. The newest release Mars is available. I have used Mars for the first three milestones and I could not be more pleased. I initially downloaded the Eclipse Mars M3 Packages beginning with the IDE for Java EE Developers. The initial install can be located at the link below.

Of course I install the 64 bit version of Eclipse. To make the spelling checker function properly make sure the JDT plugin is installed. The Eclipse Java Development Tools houses the engine for the spell checker.

Install Grails and the associated servers via the Eclipse Marketplace. Be sure to use the latest version. This option give you a nice Java development stack.

Be sure to install the PHP Development Tool (PDT). This feature allows me to program all things PHP like WordPress, Yii, CodeIgniter and other PHP applications.

The tool plugin continue with installing c++, Ruby, Tcl/Tk and Python to round out the development stack.

Since this is the 64bit stack the FlashBuilder plugin will not function properly in a 64 bit stack. A separate 32 bit stack of Eclipse is used to support FlashBuilder.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

BCS Eclipse Luna SDK 4.4

The new Eclipse SDK Luna became available earlier last month and of course I procured a 64 bit copy and began tailoring it for production use.

Python 3.x is enabled flawlessly for utilization of all Python applications.

Groovy and Grails Tool Suite (GGTS) 3.4.0, Grails 2.3.6, Groovy 2.1.9, JVM 1.7.0_11 mixed mode, jquery 1.11.0, groovy pages 2.3.6 and hibernate round out the grails development environment.

Php applications such as Yii 1.1.13 are also ready for service.

C, c++ Java, Ruby on Rails, FORTRAN, COBOL and HTML 5 interfaces are in place and ready for service.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems authored this article.

BCS ROR MySQL Windows 7

To use MySQL with Ruby On Rails (Ruby 1.9.2 Rails 3.0.7) is ridiculous because Rails generates code that will not work without modification.  Even when you tell Rails you want to use MySQL via the -d option the wrong and erroneous code is generated.  How intelligent is that?

Make sure the code for MySQL for rails in properly installed.  Open the command prompt and issue the following command.

gem install mysql

After the successful install go to your choice location where you store your applications and create your project.

Because Rails produces buggy and incorrect code you have to manually change all references of mysql2 to mysql in two files.  The first file needing this modification is Gemfile and database.yml.

I have authored a Delphi GUI application that frees me from this command line drudgery and making changes to the required files.  Let me know if such a tool interest you.  If my response is respectable I will make the tool generally available.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems authored this article.

I Am Not Impressed With Ruby On Rails

To install and use Ruby and Rails entails the most convoluted process known to information management. Like most pseudo technicians the setup for Ruby and Rails requires that you cleave the command line and that is a crock!

You set up Ruby and all its weird versioning then you setup Rails and that is more crap. At this point you are still not ready to rock. Now you have to set up the developer’s kit. That developer’s kit installation is clear as mud and for the most part undocumented.

It is a good thing I have Grails installed and have reliable development environment ready to hit the ground and be productive until I can figure out all this Rails convoluted mess!

Unlike Rails once I have Grails installed there are no other add on to install. One install and you are ready to rock! That install is accomplished with the windows installer and there is no command line foolishness.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems authored this article.

BCS Ruby On Rails Development Environment

The Eclipse IDE SDK 4.0 (64 bit) with the Dynamic Language Tool Kit (DLTK 2.0) for Ruby is my Integrated Development Environment (IDE) of choice.

Of course I like the familiar Eclipse framework which all my serious software development tools are now based upon.  The included source code format tool is used extensively because I enjoy a uniform look and feel for all my source code.

Highly formatted code is easier to work and live with.  The debugger is also a feature that assist developers in development and testing.

Overall I am well satisfied with this level of IDE and supported plugins to accomplish work aspirations.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems authored this article.