Green Code - The Next Evolution in Green IT

5 Posts
0

Added filtering logic. Attached.

eric

0 Comments Permalink
1

I've been playing with RBD 7.5 and Rich UI over the past week or so and this is very cool stuff! I've been following Chris Laffra's posts on the Rich UI blog and implemented a couple of his Rich UI solutions.

Using Jon Sayles' EGL training material, I created the "Let's Go To The Movies!" web service example with a Rich UI interface using nested grids and the service monitor.

I'm beginning work on the movie filtering capability. If anyone has ideas on how to implement this please let me know.

The code is attached. Check it out.

eric

movies.jpg

1 Comments Permalink
1

EGL Messaging System Module

Posted by KevinBarron Aug 19, 2008


Other programming languages are no stranger to code re-use, so why should EGL be any different? ClearBlade's EGL Green Code modules provide expedited code, design, documentation, and testing of common application requirements. Our first GreenCode module is a reusable Messaging System
for use by JSP or TUI applications. The module provides dynamic messaging driven by a relational database table, and is shared in the EGL Exchange.

ClearBlade GreenCode Messaging System
Following is the description and usage instructions located in MessagingSystemLib.egl:

DESCRIPTION:
This messaging system retrieves the message text from the database corresponding to the passed in message code. The retrieved text is then expanded with the passed message inserts (up to 5) and passed back along with the message type. The message can contain up to 5 inserts delimited by ~1, ~2, ~3, ~4, ~5.

INTERFACE:
record MessageRec type basicRecord

messageCode string;
messageType char(1);
messageText string;
messageInsert string[5];

end

USAGE:

messageRec.message_code = "MSGCODE";
messageInsert[1] = "insert 1";
buildMessage(messageRec);
messageText = messageRec.messageText;
messageType = messageRec.messageType;


*** Copyright (c) ClearBlade LLC 2008 ***

Comments and experiences, as well as seeing a few collaborative contributions on reusable code from others, would be great to see. The module and database are located in the EGL Exchange .


1 Comments Permalink
1

EGL Is Green

Posted by esimone_clearblade Jun 17, 2008

Reuse is not a new idea, it's an "old school" mantra from the early 1990’s when objects and CORBA were all the rage (remember AD/Cycle? Grunge?). The more things change, the more they stay the same. We've been talking about the value of reuse for a long time now. The promise of reuse is compelling however it has not been widely adopted as a practice. Technology has made great strides in helping us reuse code more effectively, but at the end of the day most companies have had a hard time turning this potential into reality.

Why? Because it's hard. Regardless of the enabling technologies, reuse takes time, commitment and coordination. SOA and Jazz will help with future endeavors but today we are still bound by our history. The legacy code that runs the world’s systems today is not going away. On the contrary, it's growing. Gartner estimates there are over 230 billion lines of COBOL and RPG code in existence today with 5 billion added annually. We have to find ways to reuse this code.

Over the past 15 years, most technology advancements have manifested themselves as client and middleware solutions (i.e. browser technology and J2EE application servers). However, not much has changed with respect to the languages used to develop the legacy code? Now we have a new language that addresses this problem, EGL. IBM is the only company capable of creating a new language that easily interoperates these older technologies with the new technologies of SOA and Web 2.0.

EGL allows us to easily reuse and modernize existing code. We must extend what has already been built and utilize EGL to reduce the time and energy it takes to accomplish this. This is a requirement, not an option. At ClearBlade we are developing EGL design patterns and frameworks for reuse called Green Code. As we complete this code, we will make it available to the EGL Cafe to do our part to promote reuse.

We have no choice but to embrace, extend and reuse the legacy code in existence today. Rewriting and replacing existing code is not financially viable nor is it socially responsible. Reuse of our existing code saves energy by repurposing what we alreay have. Reuse is green, EGL is green.

Eric Simone – CEO ClearBlade

1 Comments Permalink
0

Green technology as a core corporate strategy is an ever increasing initiative with companies across the globe. Gartner Group recently published it's Top 10 technology strategies for 2008, ...and Green IT was #1 on that list. We at ClearBlade see the opportunity for a "green" approach to your existing code and data. Similar to it's hardware counterparts, by re-cycling software there are not only energy efficiencies and adherence to social responsibility, but additional costs and human capital savings to be realized.

We see technologies like EGL as a viable and long-term solution for Green Code practices which supplement and adhere to an overall Green IT strategy.

Too often, we see large, resource-heavy company-wide code and technology migrations fueled heavily by the neccesity for enterprise modernization as a paramount business driver. The problem is that the legacy code and data often finds it's way to the "software scrapheap" in these initiatives. The ability to leverage EGL and the Rational suite of products and metholodogies for refactoring, refacing, or transforming legacy code as an enterprise modernization solution is a prudent way to re-use not only your existing code, but your existing human capital as well. Green Code in it's finest hour. Existing applications and talent are among the most valuable assets a company owns. Why waste both the physical and intellectual energy to constantly re-modernize, when a technology like EGL cleanly serves the triple bottom line (3BL/TBL) of people, planet, and profit.

The goal of the Green Code blog is gain awareness on the "Green Code" approach, share insights on how best to evangelize this win-win solution, and provide best practices on what we see as the next evolution in Green IT. We welcome your participation!

0 Comments Permalink

Blogs at a Glance

Can't find a specific blog? Try using the Blog page to browse and search blogs.

Request a Blog

Interested in blogging on EGL Cafe? Contact us!

Green Code - The Next Evolution in Green IT

Awareness, discussion, and best-practices on the re-use of existing code and data in leveraging EGL and the Rational Suite as the next evolution in Green IT... GreenCode.
Bottom Banner