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 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 Flash Builder 4.5 Execute URL Routine

There are those occasions when our flex application will need to interface with existing sites on the world wide web.  To invoke a URL in flash builder is slightly different than any other programming scenario I have used.

I have written a small routing that handles URL requests.  The code is as follows”

protected function XQTCmd(cmd : String): void
				var urlReq:URLRequest = new URLRequest(cmd);
				navigateToURL(urlReq, "_blank");

Place the routine in the root MXML and invoke the routine by using a coded statement indicated below.

protected function ABWBtn_clickHandler(event:MouseEvent):void

This code can be initiated from any event available to the MXML application.

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

BCS Flash Builder 4.5 Tutorial Offline

The Flash Builder 4.5 seem to be an awesome tool. Getting around the tutorials for FB 4.5 leaves quite a bit of room for improvement.

If you happen to be bandwidth challenged (slow internet connection) the current configuration is a constant source of frustration.

I have captured all the videos and tutorials http://archbrooks.com/fbtut/fbtut.zip . The videos were converted to mp4 and the tutorial pages were converted to pdf format.

The project in nearly 835 megabytes but due to good compression I have made it fit in approximately 5.5 megabytes. The download takes about twenty minutes. Please feel free to let me know of your results at arch@archbrooks.com.

To download the tutorial via FTP ftp to account archbrooks.com. The username is x3utils and the password is “fbTutorial2!” (minus double quotes). Once logged in begin the transfer to save the the tutorial to your local hard disk.

The next task was to write an interface that makes it easy to launch either a PDF or video.










Click on the image to gain a clearer view of the screen shot.

I used Delphi XE 3 to develop this media launcher.

Traverse the options box using the scroll thumb on the right and then left click on the video (.mp4) or the tutorial (.pdf) and magically the selected media begins to play.

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

IT Paradigm Technology Shift

Make no mistake about my premise. I love Delphi couldn’t have used it for decades if I did not love it (I started with single digit Turbo Pascal series).

With Agile tools I go from zero to production with six tables and scaffolds with unit tests (three for authentication and three for problem solving) many to one, many to many relationships and Jasper Reports. Jasper supports all major report formats like PDF. Time to production fifteen minutes with zero errors and zero defects. I coded less than one hundred lines of code to accomplish this. Simple changes updating production are accomplished by modifying the model and creating a new delivery package. Ftp to server then get a fresh cup of coffee!

This arena is Delphi, Visual Studio, Flex, PhP, COBOL, FORTRAN and every other software development platforms gold standard. If the results are not absolutely correct the selected programming language for coding means nothing.

The cost for the upgrade to the Enterprise Edition $0.00. The price for the Compete Enterprise Edition $0.00.

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

BCS STS Grails And Flash Builder

The Flash Builder plugin is fully functional with the 32 bit version of SpringSource Tool Suite.

Basically this combination harnesses the power of Grails for Flex Builder code generation.  Spring security is available for all generated applications.  The Flex Scaffolding plugin capability is also available for all generated applications.

This combination provides the technician with an excellent dynamic development platform.

BCS MES Flex Tip 003

The My Eclipse For Spring IDE is extremely versatile. In addition to using and exploring all its feature I find it very useful to write stand alone Flex Builder Applications using the Swiz (MVC / IOC) framework.

Since trying My Eclipse For Spring I find it is the only Eclipse I need to be highly productive in all programming activities.

I recommend you start today using the My Eclipse IDE for existing as well as future projects.

BCS MES Flex Tips 001

My Eclipse For Spring offers a plethora of solutions for developing reach through for flex front end and Java back ends and services.

While the MES tool is really neat and powerful its initial usage can be daunting because there is no how to explaining its successful usage.

To start create a new web project in MES. Right click on the project traverse to the Change/Add project type and add the flex project capability.

Return to the MES personality and add scaffolding. Now when you click on any flex deign view the code works just as it does in a native flash builder project.

Below is a video that demonstrates basic CRUD functionality.

BCS Eclipse Plugins For Multiple Distributions.

If you already have Eclipse Plug-ins installed, you can simply copy the link file from the dropins folder of the bundled copy of Eclipse, and paste it into the dropins folder of the target distributions.

Employing this technique will conserve multiple hours of downloading, setup and configuration of the target distribution.

BCS AddThis MXML Component

The simplest way to include AddThis functionality in all Flash Builder pages is to install this component and use it on every page that you desire to share with social web services.

<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
		 xmlns:mx="library://ns.adobe.com/flex/mx" width="127" height="18">
			public var Title:String;
			public var URL:String;
			protected function image1_clickHandler(event:MouseEvent):void
				var urlReq:URLRequest = new URLRequest("http://api.addthis.com/oexchange/0.8/offer");
				var variables:URLVariables = new URLVariables();
				variables.url = URL;
				variables.title = Title;
				variables.description = "This web site is for assisting technicians in ther technology endeavors";
			    variables.user = "description";
				urlReq.data = variables;
				navigateToURL(urlReq, "_blank");
		<!-- Place non-visual elements (e.g., services, value objects) here -->
	<mx:Image x="0" y="0" width="125" height="16" source="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" click="image1_clickHandler(event)"/>